Skip to content

Commit

Permalink
Add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Jul 30, 2024
1 parent 490be77 commit b48d0ec
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/routes/404/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<script lang="ts">
import Metadata from "$lib/components/head/Metadata.svelte";
import Containers from "$lib/components/ui/containers"
import { Button } from "$lib/components/ui/button";
</script>

<Metadata
description="Error 404: Page not found. Oink!"
pageTitle="404"
/>

<Containers.Content class="flex flex-col items-center">
<picture class="w-full flex flex-col items-center">
<img alt="404 - Page Not Found" src="/404-light.svg" class="my-8 hidden dark:block" style="max-width: 60%" />
<img alt="404 - Page Not Found" src="/404.svg" class="my-8 dark:hidden" style="max-width: 60%" />
</picture>

<div style="padding-top: 1em" class="text-3xl title">
<Button href="/" size="lg" class="text-3xl py-10">Click here to return home</Button>
</div>
</Containers.Content>
47 changes: 47 additions & 0 deletions static/404-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b48d0ec

Please sign in to comment.