diff options
author | Valentin Popov <valentin@popov.link> | 2024-10-03 01:46:00 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-10-03 01:46:00 +0300 |
commit | d4eab1ff131c9342213f2dcc9b3c6383c7de41dd (patch) | |
tree | 81b5485bb7be1bc8c1c7c309e0973a5821ea04db | |
parent | 227cbec6cda5795051919d72cd28ade3c3ec438c (diff) | |
download | popov.link-d4eab1ff131c9342213f2dcc9b3c6383c7de41dd.tar.xz popov.link-d4eab1ff131c9342213f2dcc9b3c6383c7de41dd.zip |
Add 404 page
-rw-r--r-- | .vscode/settings.json | 3 | ||||
-rw-r--r-- | src/pages/404.astro | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7c2feb7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.formatOnSave": false +} diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..e140464 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,18 @@ +--- +import Layout from "../layouts/BaseLayout.astro"; +--- + +<Layout> + <div style="text-align:center;"> + <h1>404</h1> + <p><strong>Page not found</strong></p> + <p> + <small> + If you see this message, please + <a href=`mailto:valentin@popov.link?subject=${encodeURIComponent('I found a broken page')}`> + let me know + </a> + </small> + </p> + </div> +</Layout> |