'use client';
import { useEffect } from 'react';
import { useTranslations } from 'next-intl';
import { Button, Heading } from '@/components/ui';
import { Terminal, Search, Home, Mail, Activity, Cpu } from 'lucide-react';
import { m } from 'framer-motion';
import ClientNotFoundTracker from '@/components/analytics/ClientNotFoundTracker';
export default function NotFound() {
const t = useTranslations('Error.notFound');
useEffect(() => {
// Force standard solid header
document.body.setAttribute('data-header-variant', 'standard');
return () => {
document.body.removeAttribute('data-header-variant');
};
}, []);
return (
{/* Industrial Blueprint Background */}
{/* Decorative Technical Annotations */}
Discovery_Service :: Failure
Address_Resolution :: 0x404
{/* Background Glow */}
{/* 404 Visual */}
404
{/* Glitch Layers */}
404
404
{/* Search Scan Overlay */}
{/* Main Content */}
OBJECT_NOT_FOUND :: SCAN_COMPLETE
{t('title')}
{t('description')}
{/* Technical Log Terminal */}
[SCAN] Initializing sector sweep...
[INFO] Indexing available nodes...
[INFO] Searching for: {typeof window !== 'undefined' ? window.location.pathname : 'unknown_resource'}
[WARN] Resource 404: Not found in current branch
[INFO] Redirecting to fallback_strategy...
_ Ready for manual redirect...
Status: Resolution_Failed
);
}