mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-05 19:45:04 +02:00
add custom 404 page
This commit is contained in:
parent
b3d371c01e
commit
e0b1aa98e0
1 changed files with 15 additions and 0 deletions
15
src/app/not-found.tsx
Normal file
15
src/app/not-found.tsx
Normal 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>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue