Skip to content

Commit 88fdfc8

Browse files
committed
added error page
1 parent f6efa22 commit 88fdfc8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/routes/+error.svelte

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<script>
2+
import { page } from '$app/stores';
3+
</script>
4+
5+
<div class="container mx-auto py-20">
6+
<div class="w-1/2 p-20 mx-auto w-1/2 mx-auto bg-[url('/grid-bg.png')] bg-cmxyellow text-center" style={`box-shadow: 7px 7px 1px black;`}>
7+
<h1 class="text-5xl font-bold">Error {$page.status}</h1>
8+
<p class="text-lg">{$page.error.message}</p>
9+
</div>
10+
</div>

0 commit comments

Comments
 (0)