aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/__error.svelte
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-08 07:42:39 -0500
committerAdrien Hopkins <[email protected]>2022-08-08 07:42:39 -0500
commitf7aaa86c851d456a3426157bc04cdbfeecd1716b (patch)
tree09892fccf026827fade28f4d76922fdcd514db64 /src/routes/__error.svelte
parentffc36d48b11045708967637832d959cade58b8eb (diff)
parent93f9d0abf58c5b5154e35b63524405554042bef1 (diff)
downloadcoinos-ui-f7aaa86c851d456a3426157bc04cdbfeecd1716b.tar.gz
coinos-ui-f7aaa86c851d456a3426157bc04cdbfeecd1716b.zip
Merge branch 'master' into i18n
Diffstat (limited to 'src/routes/__error.svelte')
-rw-r--r--src/routes/__error.svelte8
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>