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
commit8851572f78a70c7bd02a3d669dc103459323ed8d (patch)
tree8f2bdce5946ac7a7a81ccdbeaa91191129f39442 /src/routes/__error.svelte
parentfac00131fd980db9513143807fe2d823376e9551 (diff)
downloadcoinos-ui-8851572f78a70c7bd02a3d669dc103459323ed8d.tar.gz
coinos-ui-8851572f78a70c7bd02a3d669dc103459323ed8d.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>