Skip to content

Commit

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

import Footer from "@/components/footer/Footer";
import HomeTextBanner from "@/components/landingPage/HomeTextBanner";
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"
>
<NavBar />
<div className={`App btc-search w-full`}>
<HomeTextBanner className="flex flex-col gap-[1.25rem] text-center pb-[40px] md:pb-[88px]" />
<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 80ce7c0

Please sign in to comment.