Skip to content

Commit 9b31593

Browse files
committed
more error pages
1 parent dd5472c commit 9b31593

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

src/pages/401.astro

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
import Layout from "../layouts/Layout.astro";
3+
---
4+
5+
<Layout>
6+
<h1 class="mt-8 ml-4 text-xl">
7+
You are not authorized to enter this restricted area
8+
</h1>
9+
<a class="p-4 text-xl underline hover:text-white" href="/"
10+
>Back to the entrance</a
11+
>
12+
</Layout>

src/pages/403.astro

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
import Layout from "../layouts/Layout.astro";
3+
---
4+
5+
<Layout>
6+
<h1 class="mt-8 ml-4 text-xl">This is a forbidden area</h1>
7+
<p class="ml-4 text-xl">You don't have the permission to be here</p>
8+
<a class="p-4 text-xl underline hover:text-white" href="/"
9+
>Back to the entrance</a
10+
>
11+
</Layout>

src/pages/500.astro

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import Layout from "../layouts/Layout.astro";
3+
---
4+
5+
<Layout>
6+
<h1 class="mt-8 ml-4 text-xl">We are facing some internal difficulties</h1>
7+
<p class="ml-4 text-xl">This is probably not your fault try again later</p>
8+
</Layout>

0 commit comments

Comments
 (0)