My-Weekly-ToDo-List/src/app/not-found.tsx

17 lines
567 B
TypeScript

import Link from 'next/link';
export default function NotFound() {
return (
<div className="flex min-h-screen flex-col items-center justify-center gap-4 bg-white p-4 text-black">
<h2 className="text-2xl font-bold">Not Found</h2>
<p className="text-gray-600">Could not find requested resource</p>
<Link
href="/"
className="rounded bg-blue-500 px-4 py-2 text-white transition-colors hover:bg-blue-600"
>
Return Home
</Link>
</div>
);
}