2024-10-02 22:46:00 +00:00
|
|
|
---
|
2025-06-14 19:25:16 +00:00
|
|
|
import { config } from "../config";
|
2024-10-02 22:46:00 +00:00
|
|
|
import Layout from "../layouts/BaseLayout.astro";
|
2025-06-14 11:47:17 +00:00
|
|
|
import pageSchema from "../utils/schemas/pageSchema";
|
2025-06-11 17:20:43 +00:00
|
|
|
|
|
|
|
const title = "404 — Page Not Found | Valentin Popov";
|
|
|
|
const description = "The page you're looking for doesn't exist!";
|
2025-06-14 19:25:16 +00:00
|
|
|
const preview = config.og.defaultPreview;
|
2025-06-11 17:49:14 +00:00
|
|
|
const lang = "en";
|
2025-06-11 23:20:36 +00:00
|
|
|
|
2025-06-14 11:47:17 +00:00
|
|
|
const schema = pageSchema({
|
2025-06-11 23:20:36 +00:00
|
|
|
siteUrl: new URL("/", Astro.site).toString(),
|
2025-06-14 11:47:17 +00:00
|
|
|
page: "/404",
|
2025-06-11 23:20:36 +00:00
|
|
|
title,
|
2025-06-14 11:25:17 +00:00
|
|
|
description,
|
2025-06-14 11:47:17 +00:00
|
|
|
lang,
|
2025-06-11 23:20:36 +00:00
|
|
|
});
|
2024-10-02 22:46:00 +00:00
|
|
|
---
|
|
|
|
|
2025-06-14 19:25:16 +00:00
|
|
|
<Layout title={title} description={description} preview={preview} lang={lang} schema={schema}>
|
2025-06-11 23:20:36 +00:00
|
|
|
<div style={{ "text-align": "center" }}>
|
2024-10-02 22:46:00 +00:00
|
|
|
<h1>404</h1>
|
|
|
|
<p><strong>Page not found</strong></p>
|
|
|
|
<p>
|
|
|
|
<small>
|
|
|
|
If you see this message, please
|
2025-06-11 17:20:43 +00:00
|
|
|
<a href=`mailto:valentin@popov.link?subject=${encodeURIComponent('I found a broken page')}`>let me know</a>
|
2024-10-02 22:46:00 +00:00
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</Layout>
|