Add 404 page
All checks were successful
Test / test (push) Successful in 48s

This commit is contained in:
Valentin Popov 2024-10-02 22:46:00 +00:00
parent 227cbec6cd
commit d4eab1ff13
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401
2 changed files with 21 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"editor.formatOnSave": false
}

18
src/pages/404.astro Normal file
View File

@ -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>