diff options
| author | Adam Soltys <[email protected]> | 2024-09-10 20:39:47 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-17 09:18:36 -0700 |
| commit | 1f63848ca9fb01336f04b41434de1cc06a5b3d93 (patch) | |
| tree | 2affa3041863be365f33d99e1f32bda60cf93a32 /src/routes/(app)/+error.svelte | |
| parent | 6e48c584605bec5623c12c470d04d07303983801 (diff) | |
| download | coinos-ui-1f63848ca9fb01336f04b41434de1cc06a5b3d93.tar.gz coinos-ui-1f63848ca9fb01336f04b41434de1cc06a5b3d93.zip | |
move routes
Diffstat (limited to 'src/routes/(app)/+error.svelte')
| -rw-r--r-- | src/routes/(app)/+error.svelte | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/routes/(app)/+error.svelte b/src/routes/(app)/+error.svelte deleted file mode 100644 index 6ce7979c..00000000 --- a/src/routes/(app)/+error.svelte +++ /dev/null @@ -1,38 +0,0 @@ -<script> - import { back } from "$lib/utils"; - import Icon from "$comp/Icon.svelte"; - import { page } from "$app/stores"; - - export let data; - let { user } = data; - - let link = user ? `/${user.username}` : "/"; -</script> - -<div class="container px-4 max-w-xl mx-auto mt-10 space-y-5"> - <div class="w-full flex"> - <a href="/" class="mx-auto"> - <Icon icon="logo" /> - </a> - </div> - - <div class="flex justify-center items-center"> - <div class="shadow-xl rounded-3xl px-10 pt-5 pb-10 space-y-5 w-full mx-5"> - <div class="relative"> - <h1 class="text-2xl md:text-3xl font-semibold text-center">Error</h1> - </div> - <p class="text-secondary text-center">Something went wrong</p> - <p class="text-secondary text-center">{$page.error.message}</p> - - <div class="flex justify-center py-24"> - <a href={link}> - <button - class="bg-black text-white border rounded-full px-8 py-4 font-bold hover:opacity-80 text-xl" - > - Back - </button> - </a> - </div> - </div> - </div> -</div> |
