feat: edit error page

This commit is contained in:
Damillora 2024-03-20 02:59:20 +07:00
parent e0a17e4541
commit 25963fd47f

View File

@ -1,6 +1,6 @@
<script>
import { page } from '$app/stores';
import { Container } from '@damillora/plachta';
import { Container, Post } from '@damillora/plachta';
</script>
<svelte:head>
@ -8,12 +8,10 @@
</svelte:head>
<Container>
<h1>{$page.status}</h1>
<p>{$page.error.message}</p>
{#if $page.error.stack}
<pre>{$page.error.stack}</pre>
{/if}
<Post>
<h1>{$page.status}</h1>
<p>{$page.error.message}</p>
</Post>
</Container>
<style>