add custom 404 page

This commit is contained in:
Milo Schwartz 2024-12-24 15:43:48 -05:00
parent b3d371c01e
commit e0b1aa98e0
No known key found for this signature in database

15
src/app/not-found.tsx Normal file
View file

@ -0,0 +1,15 @@
import Link from "next/link";
export default async function NotFound() {
return (
<div className="w-full max-w-md mx-auto p-3 md:mt-32 text-center">
<h1 className="text-6xl font-bold text-gray-800 mb-4">404</h1>
<h2 className="text-2xl font-semibold text-gray-600 mb-4">
Page Not Found
</h2>
<p className="text-gray-500 mb-8">
Oops! The page you're looking for doesn't exist.
</p>
</div>
);
}