aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-04 09:19:50 -0800
committerFuwn <[email protected]>2024-01-04 09:19:50 -0800
commit15eaf3c2e49cbcf90ced2f4e13612a7ef51c730e (patch)
tree49f913164321d28d9a132902a9ff6af4a40bb5cd /src
parentfeat(tools): move all to cards (diff)
downloaddue.moe-15eaf3c2e49cbcf90ced2f4e13612a7ef51c730e.tar.xz
due.moe-15eaf3c2e49cbcf90ced2f4e13612a7ef51c730e.zip
refactor(layout): badge username
Diffstat (limited to 'src')
-rw-r--r--src/routes/+layout.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index f9e74429..10da305a 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -60,7 +60,9 @@
Log in with AniList
</a>
{:else}
- <a href="/api/authentication/log-out">Log out ({currentUserIdentity.name})</a>
+ <a href="/api/authentication/log-out"
+ >Log out<button class="smaller-button button-badge">{currentUserIdentity.name}</button></a
+ >
{/if}
</p>