mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Updating error page.
This commit is contained in:
parent
58b7bebe11
commit
17a9be9557
1 changed files with 3 additions and 3 deletions
|
|
@ -1,13 +1,13 @@
|
|||
<script lang="ts">
|
||||
import { page } from "$app/stores";
|
||||
import { page } from "$app/state";
|
||||
</script>
|
||||
|
||||
{#if $page.status === 404}
|
||||
{#if page.status === 404}
|
||||
<h1>Sorry page not found! 🤷🏼</h1>
|
||||
<p>You just hit a route that doesn't exist.</p>
|
||||
{/if}
|
||||
|
||||
{#if $page.status === 500}
|
||||
{#if page.status === 500}
|
||||
<h1>Sorry an unexpected error occurred! 😿</h1>
|
||||
<p>Please try again later. </p>
|
||||
{/if}
|
||||
Loading…
Reference in a new issue