aboutsummaryrefslogtreecommitdiff
path: root/src/pages/404.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-11 20:20:43 +0300
committerValentin Popov <valentin@popov.link>2025-06-11 20:20:43 +0300
commit423344fca500ab017c3cb7cb4b53f763400f5186 (patch)
treeb2e1f7df9dd767ca89fd3b1e30c30dadc0a56bfa /src/pages/404.astro
parent78a9c2abc56d47637eaa46eb1ce99b682d7bde0d (diff)
downloadpopov.link-423344fca500ab017c3cb7cb4b53f763400f5186.tar.xz
popov.link-423344fca500ab017c3cb7cb4b53f763400f5186.zip
chore: remove unused environment variables and update layout components
- Deleted the .env and src/env.d.ts files as they are no longer needed. - Updated BaseLayout to require title and description props directly, ensuring better clarity in component usage. - Adjusted various pages to pass explicit title and description values, enhancing SEO and user experience. - Increased print width in .prettierrc.mjs for improved code formatting.
Diffstat (limited to 'src/pages/404.astro')
-rw-r--r--src/pages/404.astro9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro
index e140464..7c2b420 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -1,17 +1,18 @@
---
import Layout from "../layouts/BaseLayout.astro";
+
+const title = "404 — Page Not Found | Valentin Popov";
+const description = "The page you're looking for doesn't exist!";
---
-<Layout>
+<Layout title={title} description={description}>
<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>
+ <a href=`mailto:valentin@popov.link?subject=${encodeURIComponent('I found a broken page')}`>let me know</a>
</small>
</p>
</div>