diff options
| author | secondl1ght <[email protected]> | 2022-07-30 14:00:08 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-30 14:00:08 -0600 |
| commit | dd4f645ba8839de54418b59f36119254338a447c (patch) | |
| tree | 058ff1e25e77f335d1476852336257378c738e3c /src/components | |
| parent | 19ae0d9eb2f1a1c08b04f5c56e8ebd266ef32da8 (diff) | |
| download | coinos-ui-dd4f645ba8839de54418b59f36119254338a447c.tar.gz coinos-ui-dd4f645ba8839de54418b59f36119254338a447c.zip | |
add 404 component, remove duplicate redirects, loading splash, fix lgout
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/404.svelte | 16 | ||||
| -rw-r--r-- | src/components/index.js | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/components/404.svelte b/src/components/404.svelte new file mode 100644 index 00000000..503316bb --- /dev/null +++ b/src/components/404.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="question" style="mx-auto w-full" /> + + <h1 class="font-bold text-5xl">404</h1> + <p>Page not found.</p> + </div> +</div> diff --git a/src/components/index.js b/src/components/index.js index e41c3d4c..53f0fe99 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -8,3 +8,4 @@ export { default as Image } from './Image.svelte'; export { default as RegisterOrLogin } from './RegisterOrLogin.svelte'; export { default as AppHeader } from './AppHeader.svelte'; export { default as LoadingSplash } from './LoadingSplash.svelte'; +export { default as PageNotFound } from './404.svelte'; |
