We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 349babf commit 4da0e58Copy full SHA for 4da0e58
2 files changed
.vscode/settings.json
@@ -1,3 +1,4 @@
1
{
2
- "astro.content-intellisense": true
+ "astro.content-intellisense": true,
3
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
4
}
src/pages/404.astro
@@ -0,0 +1,20 @@
+---
+import GlobalLayout from "+/layouts/GlobalLayout.astro";
+import { Focus } from "+/schema";
5
+
6
+<GlobalLayout
7
+ title="404: Page Not Found"
8
+ focus={Focus.none}
9
+ description=""
10
+ image={null}
11
+>
12
+ <div class="prose prose-xl mx-auto mt-40 mb-72 text-center">
13
+ <h1 class="mb-4 text-5xl font-bold">404</h1>
14
+ <p class="mt-8 text-2xl text-gray-500">ページが見つかりませんでした。</p>
15
+ <p class="text-2xl text-gray-500">Sorry, we couldn't find that page.</p>
16
+ <p>
17
+ <a href="/" class="btn btn-primary">ホームに戻る</a>
18
+ </p>
19
+ </div>
20
+</GlobalLayout>
0 commit comments