aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-01-23 20:49:00 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-01-23 20:49:00 -0500
commit25323664449802336c3aae84bd5492732e2a63a8 (patch)
treec4e78ec22a7ccb1e6560029fc2a376859de6ba7d
parent4f9f65650787516fc4e7a96a6ee38bc40e387c46 (diff)
downloadpersonal-website-25323664449802336c3aae84bd5492732e2a63a8.tar.gz
personal-website-25323664449802336c3aae84bd5492732e2a63a8.tar.bz2
personal-website-25323664449802336c3aae84bd5492732e2a63a8.zip
Custom 404
-rw-r--r--src/pages/404.astro31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro
new file mode 100644
index 0000000..f6cc185
--- /dev/null
+++ b/src/pages/404.astro
@@ -0,0 +1,31 @@
+---
+import Layout from '../layouts/Default.astro'
+---
+<Layout title="404" description="Page not found">
+ <div class="error">
+ <h1>404</h1>
+ <h2>Page not found</h2>
+ <h2>Whoops! You blew up the website!</h2>
+ </div>
+</Layout>
+<style>
+ .error {
+ display: flex;
+ flex-direction: column;
+ text-align: center;
+ gap: 0.2em;
+ margin: 3em;
+ }
+
+ h1 {
+ font-size: 5em;
+ font-weight: 300;
+ margin: 0;
+ }
+
+ h2 {
+ font-size: 2em;
+ margin: 0;
+ }
+
+</style>