Skip to content

Commit ce7db18

Browse files
committed
Center & remove unnecessary styling from 404 page
1 parent d3fb28a commit ce7db18

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/pages/404.astro

+4-8
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22
import Layout from "../layouts/Layout.astro";
33
---
44

5-
<Layout title="404">
6-
<h1>Page Not Found</h1>
7-
<a class="button-md" href="javascript:window.history.back();">Go back</a>
5+
<Layout title="404 | Page Not Found">
6+
<h1>404 | Page Not Found</h1>
7+
<a class="button-md" href="/">Go Home</a>
88
</Layout>
99

1010
<style>
1111
h1 {
12-
text-align: left;
12+
text-align: center;
1313
width: 100%;
1414
}
15-
16-
a {
17-
align-items: left;
18-
}
1915
</style>

0 commit comments

Comments
 (0)