Updating error page.

This commit is contained in:
Bradley Shellnut 2024-12-19 13:05:29 -08:00
parent 58b7bebe11
commit 17a9be9557

View file

@ -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}