32 lines
1.0 KiB
TypeScript
32 lines
1.0 KiB
TypeScript
import Link from 'next/link';
|
|
import { ROUTES } from '@/lib/constants/routes';
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div className="flex min-h-screen flex-col items-center justify-center p-4">
|
|
<div className="text-center space-y-4 max-w-md">
|
|
<h2 className="text-4xl font-bold text-turo-primary">404</h2>
|
|
<h3 className="text-2xl font-semibold">Página no encontrada</h3>
|
|
<p className="text-muted-foreground">
|
|
La página que buscas no existe o ha sido movida.
|
|
</p>
|
|
<div className="flex gap-4 justify-center">
|
|
<Link
|
|
href={ROUTES.HOME}
|
|
className="px-4 py-2 bg-turo-accent text-white rounded-lg hover:bg-turo-accent-hover transition-colors"
|
|
>
|
|
Volver al inicio
|
|
</Link>
|
|
<Link
|
|
href={ROUTES.SEARCH}
|
|
className="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors"
|
|
>
|
|
Buscar vehículos
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|