aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-21 23:15:34 -0800
committerFuwn <[email protected]>2024-01-21 23:15:34 -0800
commit47db9450a9a35d2797c5252272f56ab9fd6fb9ee (patch)
tree8f8e07c3487bbeab876bfc06ed1564280f979e66 /src/routes
parentfeat(settings): show beta badge if language is not english (diff)
downloaddue.moe-47db9450a9a35d2797c5252272f56ab9fd6fb9ee.tar.xz
due.moe-47db9450a9a35d2797c5252272f56ab9fd6fb9ee.zip
style(layout): fix odd formatting
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/+layout.svelte14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 6a0163d2..70d336bc 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -75,8 +75,10 @@
<div>
<a href={root('/')} class="header-item">{$_('navigation.home')}</a><a
href={root('/completed')}
- class="header-item">{$_('navigation.completed')}</a
+ class="header-item"
>
+ {$_('navigation.completed')}
+ </a>
<a href={root('/schedule')} class="header-item">{$_('navigation.subtitle_schedule')}</a>
<a href={root('/updates')} class="header-item">{$_('navigation.new_releases')}</a>
<a href={root('/tools')} class="header-item">{$_('navigation.tools')}</a>
@@ -85,9 +87,9 @@
<span style="opacity: 50%;" class="header-item">|</span>
{#if data.user}
- <a href={root(`/user/${currentUserIdentity.name}`)} class="header-item"
- >{$_('navigation.profile')}</a
- >
+ <a href={root(`/user/${currentUserIdentity.name}`)} class="header-item">
+ {$_('navigation.profile')}
+ </a>
{/if}
{#if data.user === undefined}
@@ -104,8 +106,8 @@
{$_('navigation.log_in')}
</a>
{:else}
- <a href={root('/api/authentication/log-out')} class="header-item"
- >{$_('navigation.log_out')}
+ <a href={root('/api/authentication/log-out')} class="header-item">
+ {$_('navigation.log_out')}
</a>
{#if data.user}
<a href={root(`/user/${currentUserIdentity.name}`)} class="header-item">