diff options
| author | Fuwn <[email protected]> | 2023-10-26 15:41:57 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-10-26 15:41:57 -0700 |
| commit | 9bac3b6b6a9103841a3456436c65af66549a83da (patch) | |
| tree | 4273c0ebe5567109daf8b7a4d2c92d51694677cf /src/routes/+layout.svelte | |
| parent | fix(feeds): html encode title (diff) | |
| parent | feat: move back to bun (diff) | |
| download | due.moe-9bac3b6b6a9103841a3456436c65af66549a83da.tar.xz due.moe-9bac3b6b6a9103841a3456436c65af66549a83da.zip | |
merge: branch 'badges'
Diffstat (limited to 'src/routes/+layout.svelte')
| -rw-r--r-- | src/routes/+layout.svelte | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 19df3f1c..20ae9ef4 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -52,11 +52,17 @@ <p id="desktop-navigation-bar"> 「 <a href="/">Home</a> • <a href="/completed">Completed</a> • <a href="/updates">Manga & LN Updates</a> • - <a href="/tools">Tools</a> • <a href="/settings">Settings</a> 」 + <a href="/tools">Tools</a> • {#if data.user} + <a href={`/user/${currentUserIdentity.name}`}>Profile</a> • + {/if} <a href="/settings">Settings</a> 」 </p> <div id="mobile-navigation-bar"> - <a href="/">Home</a> • <a href="/completed">Completed</a> • <a href="/tools">Tools</a><br /> + <a href="/">Home</a> • <a href="/completed">Completed</a> • <a href="/tools">Tools</a> + {#if data.user} + • <a href={`/user/${currentUserIdentity.name}`}>Profile</a> + {/if} + <br /> <a href="/settings">Settings</a> <a href="/updates">Manga & LN Updates</a> |