import { getTranslations } from 'next-intl/server'; import { Container, Button, Heading } from '@/components/ui'; import Scribble from '@/components/Scribble'; import ClientNotFoundTracker from '@/components/analytics/ClientNotFoundTracker'; export default async function NotFound() { console.log('--- NOT FOUND RENDERED ---'); const t = await getTranslations('Error.notFound'); // Suggested URL logic removed along with Payload CMS let suggestedUrl = null; let suggestedLang = null; return ( <> {/* Industrial Background Element */}
404
404
{t('title')}

{t('description')}

{suggestedUrl && (

Did you mean to visit the {suggestedLang} version?

This page exists, but in another language.

)}
{/* Decorative Industrial Line */}
); }