diff options
| author | Fuwn <[email protected]> | 2023-10-24 18:09:27 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-10-24 18:09:27 -0700 |
| commit | 36d2b84670a096550b03ceb276184ab309b5364a (patch) | |
| tree | fed91f6a7d77b63eaf309794d58a369db966cff3 /src | |
| parent | fix(docker): build with node (diff) | |
| download | due.moe-36d2b84670a096550b03ceb276184ab309b5364a.tar.xz due.moe-36d2b84670a096550b03ceb276184ab309b5364a.zip | |
feat(layout): profile item navigation
Diffstat (limited to 'src')
| -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> |