aboutsummaryrefslogtreecommitdiff
path: root/src/pages/404.astro
blob: cb3fca15473ef83e32483a9cce173b79dde2e05f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
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 lang = "en";

const schema = pageSchema({
	siteUrl: new URL("/", Astro.site).toString(),
	page: "/404",
	title,
	description,
	lang,
});
---

<Layout title={title} description={description} lang={lang} schema={schema}>
	<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>