feat: add custom 404 Not Found page
This commit is contained in:
parent
c82ebcb23d
commit
36d97aecd1
1 changed files with 27 additions and 0 deletions
27
app/not-found.jsx
Normal file
27
app/not-found.jsx
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
import Footer from "@/components/Footer";
|
||||||
|
import Header from "@/components/Header";
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
|
function NotFound() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<div className="flex flex-col min-h-screen">
|
||||||
|
<Header />
|
||||||
|
<section className="flex flex-col max-w-screen-xl mx-auto items-center justify-center px-3 flex-1 flex-grow">
|
||||||
|
<h1 className="text-3xl md:text-5xl text-center">
|
||||||
|
<span className="text-red-500">404</span> Page not Found
|
||||||
|
</h1>
|
||||||
|
<p className="text-lg mt-3 text-muted-foreground">
|
||||||
|
Please return back to{" "}
|
||||||
|
<Link href="/" className="underline font-bold">
|
||||||
|
Home
|
||||||
|
</Link>
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
<Footer />
|
||||||
|
</div>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default NotFound;
|
Loading…
Reference in a new issue