Skip to content

Commit d462137

Browse files
committed
Add a 404 page
1 parent 9c476b6 commit d462137

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/pages/404.astro

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
import "bootstrap/dist/css/bootstrap.css";
3+
---
4+
5+
<!DOCTYPE html>
6+
7+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8+
<head>
9+
<title> Page Not Found </title>
10+
</head>
11+
12+
<body>
13+
<div class="bg-dark text-light">
14+
<div class="d-flex align-items-center justify-content-center min-vh-100 px-2">
15+
<div class="text-center">
16+
<h1 class="display-1 fw-bold">404</h1>
17+
<p class="fs-2 fw-medium mt-4">Oops! Page not found</p>
18+
<p class="mt-4 mb-5">The page you're looking for doesn't exist or has been moved.</p>
19+
<a href="/" class="btn btn-light fw-semibold rounded-pill px-4 py-2">
20+
Go Home
21+
</a>
22+
</div>
23+
</div>
24+
</div>
25+
</body>
26+
</html>

0 commit comments

Comments
 (0)