aboutsummaryrefslogtreecommitdiff
path: root/src/routes/+error.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-09 00:41:20 -0700
committerFuwn <[email protected]>2024-10-09 00:41:43 -0700
commit998b63a35256ac985a5a2714dd1ca451af4dfd8a (patch)
tree50796121a9d5ab0330fdc5d7e098bda2860d9726 /src/routes/+error.svelte
parentfeat(graphql): add badgeCount field (diff)
downloaddue.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.tar.xz
due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.zip
chore(prettier): use spaces instead of tabs
Diffstat (limited to 'src/routes/+error.svelte')
-rw-r--r--src/routes/+error.svelte48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
index 9e1bca13..f822d521 100644
--- a/src/routes/+error.svelte
+++ b/src/routes/+error.svelte
@@ -1,31 +1,31 @@
<script lang="ts">
- import { page } from '$app/stores';
- import { closest } from '$lib/Error/path';
- import Popup from '$lib/Layout/Popup.svelte';
+ import { page } from '$app/stores';
+ import { closest } from '$lib/Error/path';
+ import Popup from '$lib/Layout/Popup.svelte';
- $: suggestion = closest($page.url.pathname.replace('/', ''), [
- 'birthdays',
- 'completed',
- 'schedule',
- 'hololive',
- 'settings',
- 'tools',
- 'updates',
- 'user',
- 'wrapped'
- ]);
+ $: suggestion = closest($page.url.pathname.replace('/', ''), [
+ 'birthdays',
+ 'completed',
+ 'schedule',
+ 'hololive',
+ 'settings',
+ 'tools',
+ 'updates',
+ 'user',
+ 'wrapped'
+ ]);
</script>
<Popup>
- <p style="text-align: center;">
- <a href={$page.url.pathname}>{$page.url.pathname}</a> not found
- </p>
+ <p style="text-align: center;">
+ <a href={$page.url.pathname}>{$page.url.pathname}</a> not found
+ </p>
- <blockquote style="margin: 0 0 0 1.5rem;">
- Did you mean "<a
- href={suggestion}
- style={suggestion === '...' ? 'pointer-events: none; color: inherit;' : ''}
- >{suggestion.charAt(0).toUpperCase() + suggestion.slice(1)}</a
- >"?
- </blockquote>
+ <blockquote style="margin: 0 0 0 1.5rem;">
+ Did you mean "<a
+ href={suggestion}
+ style={suggestion === '...' ? 'pointer-events: none; color: inherit;' : ''}
+ >{suggestion.charAt(0).toUpperCase() + suggestion.slice(1)}</a
+ >"?
+ </blockquote>
</Popup>