diff options
| author | secondl1ght <[email protected]> | 2022-08-02 13:23:59 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-08-02 13:23:59 -0600 |
| commit | 8c6649ad645dd335e4a3b474406df44152d17921 (patch) | |
| tree | ebc9f117aa2232d75235d9ccbafd9983e2ec6374 /src/routes/__error.svelte | |
| parent | c47a1a57c11e1a23ab00e382d79383360263ba62 (diff) | |
| download | coinos-ui-8c6649ad645dd335e4a3b474406df44152d17921.tar.gz coinos-ui-8c6649ad645dd335e4a3b474406df44152d17921.zip | |
lots of updates, implementing design, refactoring, bug fixes and more
Diffstat (limited to 'src/routes/__error.svelte')
| -rw-r--r-- | src/routes/__error.svelte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/__error.svelte b/src/routes/__error.svelte index 2d617f9d..b62b158f 100644 --- a/src/routes/__error.svelte +++ b/src/routes/__error.svelte @@ -1,7 +1,7 @@ <script context="module"> export function load({ error, status }) { if (error.message.includes('not found')) { - error.message = 'Page not found'; + error.message = 'Page not found.'; status = 404; } @@ -25,13 +25,13 @@ <div class="flex justify-center items-center mt-20"> <div class="space-y-5 text-center"> <a href="/"> - <Icon icon="logo" /> + <Icon icon="logo" style="mx-auto" /> </a> - <Icon icon="error" style="mx-auto w-full" /> + <Icon icon="error" style="mx-auto w-56" /> <h1 class="font-bold text-5xl">Error</h1> - <p>{error.message}</p> + <p class="px-1 w-full md:w-96 break-all font-bold">{error.message.toUpperCase()}</p> <p>Please try again or contact support.</p> </div> </div> |
