aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppHeader.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-04-16 10:45:13 -0700
committerAdam Soltys <[email protected]>2024-04-16 10:45:13 -0700
commit1acda0eb21d3832e2005603a73b1d2503fd684aa (patch)
treeb0ca5339d2fc810774d029b943c1f6070095d9e3 /src/components/AppHeader.svelte
parentde921f5bcc58e2ed5682340112c821c0a006b4d5 (diff)
downloadcoinos-ui-separate-homepage.tar.gz
coinos-ui-separate-homepage.zip
Diffstat (limited to 'src/components/AppHeader.svelte')
-rw-r--r--src/components/AppHeader.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 6f68c41a..18d024a1 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -51,10 +51,10 @@
>
<nav class="flex justify-end items-center space-x-4 p-5">
{#if user}
- <a href={`/${user.username}`}>
+ <a href={`/${user.username}/home`}>
<button
class="bg-white p-2 rounded-full w-12 h-12 sm:w-16 sm:h-16 drop-shadow-xl border border-black/10 {$page
- .url.pathname === `/${user.username}`
+ .url.pathname === `/${user.username}/home`
? 'opacity-100'
: 'opacity-70 hover:opacity-80'}"
><Icon icon="home" style="mx-auto w-6 sm:w-8" />