Skip to content

Commit 11653b5

Browse files
committed
added details to 404 page
1 parent 36db75e commit 11653b5

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

frontend/src/pages/404.tsx

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
1-
import Footer from "@/components/Footer";
2-
import Navbar from "@/components/Navbar";
1+
import Footer from '@/components/Footer';
2+
import Navbar from '@/components/Navbar';
33

44
export default function Custom404() {
5-
return (
6-
<>
7-
<Navbar/>
8-
<Footer/>
9-
</>
10-
)
11-
}
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">
10+
Sorry! We can't find the page you're looking for!
11+
</h1>
12+
<p className="text-3xl pt-10">While we may have found some tomfoolery,
13+
<br/> <br/>
14+
We haven't found your page :'(</p>
15+
<a href='/'>
16+
<button className="mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10">
17+
Back to saftey
18+
</button>
19+
</a>
20+
</div>
21+
22+
<Footer />
23+
</section>
24+
);
25+
}

0 commit comments

Comments
 (0)