feat: Add error page
This commit is contained in:
parent
350e96bb07
commit
02f82467e6
|
@ -0,0 +1,15 @@
|
|||
<script>
|
||||
import { page } from '$app/stores'
|
||||
</script>
|
||||
|
||||
<div class="error">
|
||||
<h1>{$page.status}: {$page.error?.message}</h1>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.error {
|
||||
height: 50vh;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
}
|
||||
</style>
|
|
@ -14,12 +14,13 @@
|
|||
</div>
|
||||
<div id="content">
|
||||
<slot />
|
||||
<Footer />
|
||||
</div>
|
||||
</div>
|
||||
{:else}
|
||||
<slot />
|
||||
<Footer />
|
||||
{/if}
|
||||
<Footer />
|
||||
|
||||
<style>
|
||||
:global(.navbar-link) {
|
||||
|
|
Loading…
Reference in New Issue