0
mirror of https://github.com/valentineus/popov.link.git synced 2025-08-13 09:56:39 +03:00
Files
popov.link/src/pages/404.astro

32 lines
853 B
Plaintext
Raw Normal View History

2024-10-02 22:46:00 +00:00
---
import { config } from "../config";
2024-10-02 22:46:00 +00:00
import Layout from "../layouts/BaseLayout.astro";
import pageSchema from "../utils/schemas/pageSchema";
const title = "404 — Page Not Found | Valentin Popov";
const description = "The page you're looking for doesn't exist!";
const preview = config.og.defaultPreview;
const lang = "en";
const schema = pageSchema({
siteUrl: new URL("/", Astro.site).toString(),
page: "/404",
title,
description,
lang,
});
2024-10-02 22:46:00 +00:00
---
<Layout title={title} description={description} preview={preview} lang={lang} schema={schema}>
<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
<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>