aboutsummaryrefslogtreecommitdiff
path: root/src/pages/404.astro
blob: 072c6e7359c031bf1059885ef85a667ee3e42703 (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
---
import Layout from "../layouts/BaseLayout.astro";
import websiteSchema from "../utils/schemas/websiteSchema";

const title = "404 — Page Not Found | Valentin Popov";
const description = "The page you're looking for doesn't exist!";
const lang = "en";

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

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