aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/__error.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-30 06:52:55 -0600
committersecondl1ght <[email protected]>2022-07-30 06:52:55 -0600
commit44d75ae34965aaf036ae62a0c2ddb45650ab5400 (patch)
tree026c1108f9db284fcc840b85eac2453f17e02d2a /src/routes/__error.svelte
parentb1799e32984a7f56bb397af4a690f9b4de08e5f8 (diff)
downloadcoinos-ui-44d75ae34965aaf036ae62a0c2ddb45650ab5400.tar.gz
coinos-ui-44d75ae34965aaf036ae62a0c2ddb45650ab5400.zip
add 404 and error page, redirect to login if trying to access w/o user
Diffstat (limited to 'src/routes/__error.svelte')
-rw-r--r--src/routes/__error.svelte16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/routes/__error.svelte b/src/routes/__error.svelte
new file mode 100644
index 00000000..6cdeeac7
--- /dev/null
+++ b/src/routes/__error.svelte
@@ -0,0 +1,16 @@
+<script>
+ import { Icon } from '$comp';
+</script>
+
+<div class="flex justify-center items-center mt-20">
+ <div class="space-y-5 text-center">
+ <a href="/">
+ <Icon icon="logo" />
+ </a>
+
+ <Icon icon="error" style="mx-auto w-full" />
+
+ <h1 class="font-bold text-5xl">Error</h1>
+ <p>Please try again or contact support.</p>
+ </div>
+</div>