Skip to content

Commit

Permalink
feat: add 404 page component (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
Extheoisah authored Jun 26, 2024
1 parent d2f83da commit b2a0ad1
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import Link from "next/link";

import Footer from "@/components/footer/Footer";
import NavBar from "@/components/navBar/NavBar";

export default function Custom404() {
return (
<div className={`bg-custom-background text-custom-primary-text`}>
<main
id="main"
className="min-h-[calc(100dvh-122px)] flex w-full items-center pt-[60px] pb-[60px]"
>
<NavBar />
<div className={`App btc-search w-full`}>
<div className="flex flex-col items-center justify-center gap-y-2 w-full h-full">
<h1 className="md:text-4xl font-bold text-center">
404 - Page Not Found
</h1>
<p className="text-sm md:text-lg text-center max-w-xs md:max-w-lg">
The page you are looking for might have been removed, had its name
changed or is temporarily unavailable.
</p>
<Link
href="/"
className="text-custom-brightOrange-200 underline underline-offset-2"
>
Go to Homepage
</Link>
</div>
</div>
</main>
<section>
<Footer />
</section>
</div>
);
}

0 comments on commit b2a0ad1

Please sign in to comment.