54 lines
2.2 KiB
TypeScript
54 lines
2.2 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 px-4 py-8">
|
|
<div className="text-center w-full max-w-md mx-auto">
|
|
{/* Logo */}
|
|
<div className="flex justify-center mb-6 md:mb-8">
|
|
<Image
|
|
src="/logo.svg"
|
|
alt="MAD Logo"
|
|
width={100}
|
|
height={100}
|
|
className="w-20 h-20 md:w-[120px] md:h-[120px]"
|
|
/>
|
|
</div>
|
|
|
|
{/* 404 Content */}
|
|
<div className="max-w-md mx-auto">
|
|
<h1 className="text-7xl md:text-9xl font-bold text-lblue mb-3 md:mb-4">404</h1>
|
|
<h2 className="text-2xl md:text-3xl font-semibold text-gray-900 mb-3 md:mb-4">
|
|
Page non trouvée
|
|
</h2>
|
|
<p className="text-sm md:text-base text-gray-600 mb-6 md:mb-8 px-2">
|
|
Désolé, la page que vous recherchez n'existe pas ou a été déplacée.
|
|
</p>
|
|
|
|
{/* Action Buttons */}
|
|
<div className="flex flex-col gap-3 md: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 w-full md:w-auto"
|
|
>
|
|
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 w-full md:w-auto"
|
|
>
|
|
Page de connexion
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
|
|
{/* Footer */}
|
|
<div className="mt-8 md:mt-12 text-center text-xs text-gray-500 px-4">
|
|
© {new Date().getFullYear()} MAD - <a href="https://legouix.dev" target="_blank" rel="noopener noreferrer" className="text-lblue hover:text-dblue">Propulsé par LGX</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|