aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte4
-rw-r--r--src/components/LandingHeader.svelte4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index d3a9b300..74afd7b9 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -39,10 +39,10 @@
>
<nav class="flex justify-end items-center space-x-4 p-5">
{#if user}
- <a href={`/${user.username}/dashboard`}>
+ <a href={`/${user.username}`}>
<button
class="bg-white p-2 rounded-full w-12 h-12 md:w-16 md:h-16 drop-shadow-xl border border-black/10 {$page
- .url.pathname === `/${user.username}/dashboard`
+ .url.pathname === `/${user.username}`
? 'opacity-100'
: 'opacity-70 hover:opacity-80'}"
><Icon icon="home" style="mx-auto w-6 md:w-8" />
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte
index f7317a58..2c3bcd6a 100644
--- a/src/components/LandingHeader.svelte
+++ b/src/components/LandingHeader.svelte
@@ -54,7 +54,7 @@
{:else}
<button
class="border rounded-full px-6 py-2 font-bold"
- on:click={() => goto(`/${user.username}/dashboard`)}
+ on:click={() => goto(`/${user.username}`)}
>{$t('nav.account')}
</button>
<button
@@ -102,7 +102,7 @@
{:else}
<button
class="border rounded-full px-6 py-2 font-bold block"
- on:click={() => goto(`/${user.username}/dashboard`)}
+ on:click={() => goto(`/${user.username}`)}
>{$t('nav.account')}
</button>
<button