summaryrefslogtreecommitdiff
path: root/src/routes/+error.svelte
diff options
context:
space:
mode:
authoraxtloss <axtlos@disroot.org>2024-12-24 19:25:48 +0100
committeraxtloss <axtlos@disroot.org>2024-12-24 20:04:59 +0100
commite46cb88d3763a64e97557b2db2f9b74ae7627555 (patch)
tree9c00ad1e59f4fdc36e050d9329eb7cfdeb0588d2 /src/routes/+error.svelte
parentc19fb8828e1dfdd4ce548269ff7cf08de96adf95 (diff)
downloadwebsite-e46cb88d3763a64e97557b2db2f9b74ae7627555.tar.gz
website-e46cb88d3763a64e97557b2db2f9b74ae7627555.tar.bz2
new website dropped
Diffstat (limited to 'src/routes/+error.svelte')
-rw-r--r--src/routes/+error.svelte41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
deleted file mode 100644
index 2ced366..0000000
--- a/src/routes/+error.svelte
+++ /dev/null
@@ -1,41 +0,0 @@
-<script lang="ts">
- import { page } from "$app/stores";
-
- let displayDog = ($page.status === 404) || false;
-</script>
-
-<div class="error-container">
- <div class="error">
- <h1>{$page.status ?? "oopsie daisies!"}</h1>
- <p>{$page.error?.message ?? "website broke &gt;w&lt; "}</p>
- </div>
- {#if displayDog}
- <div class="huh">
- <img src="/huh.jpg" alt="dog looking at the camera with a question mark edited next to it"/>
- </div>
- {/if}
-</div>
-
-<style lang="scss">
- .error-container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 100%;
-
- & .error {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 36px 12px;
- border-spacing: 36px;
-
- & :not(:last-child) {
- margin-bottom: 1rem;
- }
- }
- }
-</style>
-