Skip to content

Commit 6469bae

Browse files
authored
Merge pull request #20 from csesoc/CW2-37_404_page
CW2-37 404 Page
2 parents a4b12d8 + e5073a0 commit 6469bae

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Diff for: frontend/src/pages/404.tsx

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import Footer from '@/components/Footer';
2+
import Navbar from '@/components/Navbar';
3+
4+
export default function Custom404() {
5+
return (
6+
<section className="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden">
7+
<div className="items-center text-center">
8+
<Navbar />
9+
<h1 className="text-5xl font-bold pt-24">404 - Page Not Found</h1>
10+
<p className="text-4xl pt-10">
11+
Sorry! We can't find the page you're looking for!
12+
<br />
13+
</p>
14+
<div className="opacity-0 transition-opacity duration-200 hover:opacity-100">
15+
<p className="text-2xl pt-10">Oops! This page must have been garbage collected.</p>
16+
</div>
17+
<a href="/">
18+
<button className="mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10 transition-all duration-200 hover:bg-[#F3F4F6] hover:text-[#1A202C]">
19+
Back to safety
20+
</button>
21+
</a>
22+
</div>
23+
24+
<Footer />
25+
</section>
26+
);
27+
}

0 commit comments

Comments
 (0)