Files
MAD-Platform/app/not-found.tsx

53 lines
2.0 KiB
TypeScript

import Link from 'next/link';
import Image from 'next/image';
export default function NotFound() {
return (
<div className="min-h-screen flex items-center justify-center bg-cwhite">
<div className="text-center px-4">
{/* Logo */}
<div className="flex justify-center mb-8">
<Image
src="/logo.svg"
alt="MAD Logo"
width={120}
height={120}
/>
</div>
{/* 404 Content */}
<div className="max-w-md mx-auto">
<h1 className="text-9xl font-bold text-lblue mb-4">404</h1>
<h2 className="text-3xl font-semibold text-gray-900 mb-4">
Page non trouvée
</h2>
<p className="text-gray-600 mb-8">
Désolé, la page que vous recherchez n'existe pas ou a é déplacée.
</p>
{/* Action Buttons */}
<div className="flex flex-col sm:flex-row gap-4 justify-center">
<Link
href="/dashboard"
className="inline-flex items-center justify-center px-6 py-3 border border-transparent rounded-lg text-sm font-medium text-white bg-lblue hover:bg-dblue focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-lblue transition-colors"
>
Retour au tableau de bord
</Link>
<Link
href="/login"
className="inline-flex items-center justify-center px-6 py-3 border border-gray-300 rounded-lg text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-lblue transition-colors"
>
Page de connexion
</Link>
</div>
</div>
{/* Footer */}
<div className="mt-12 text-center text-xs text-gray-500">
© 2025 MAD - <a href="https://legouix.dev" target="_blank" className="text-lblue hover:text-dblue">Propulsé par LGX</a>
</div>
</div>
</div>
);
}