'use client'; import { useTranslations } from 'next-intl'; import { Container, Button, Heading } from '@/components/ui'; import Scribble from '@/components/Scribble'; import { useEffect } from 'react'; import { useAnalytics } from '@/components/analytics/useAnalytics'; import { AnalyticsEvents } from '@/components/analytics/analytics-events'; export default function NotFound() { const t = useTranslations('Error.notFound'); const { trackEvent } = useAnalytics(); useEffect(() => { trackEvent(AnalyticsEvents.ERROR, { type: '404_not_found', path: typeof window !== 'undefined' ? window.location.pathname : 'unknown', }); }, [trackEvent]); return ( {/* Industrial Background Element */}
404
404
{t('title')}

{t('description')}

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