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 | 9291b50da24eec4bd9d96d05e2bb4ae40c61b3bb (patch) | |
| tree | 7872c36fef5c6050c27b3441ec458e8b9aa65671 /src/components | |
| parent | f779cf9547d0e68fe83a7a5fe16e93ff58cc0c07 (diff) | |
| download | coinos-ui-9291b50da24eec4bd9d96d05e2bb4ae40c61b3bb.tar.gz coinos-ui-9291b50da24eec4bd9d96d05e2bb4ae40c61b3bb.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'; |
