Skip to content

Commit 4c712cb

Browse files
committed
Add a more usable 404 page
1 parent 82cad23 commit 4c712cb

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

src/pages/404.astro

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
import Layout from '../layouts/Layout.astro';
3+
import Link from '../components/Link.astro';
4+
5+
const metadata = {
6+
title: 'Page Not Found',
7+
useTitleTemplate: true,
8+
index: false,
9+
};
10+
---
11+
12+
<Layout metadata={metadata}>
13+
<h1>404 &mdash; Page Not Found</h1>
14+
<p>
15+
This page may have been moved, renamed, removed, or doesn't exist. If an AI
16+
chatbot or search engine summary brought you here, it may have hallucinated
17+
a nonexistent page.
18+
</p>
19+
<p>Here's what you can do:</p>
20+
<ul>
21+
<li>Click your browser's back button to return to the previous page.</li>
22+
<li>Browse the menu above to find what you're looking for.</li>
23+
<li>
24+
Send the link to <Link url='mailto:support@jihokim.com'
25+
>support@jihokim.com</Link
26+
>, and I might be able to tell you why it is broken.
27+
</li>
28+
</ul>
29+
</Layout>

0 commit comments

Comments
 (0)