aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/LandingHeader.svelte9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte
index 91443ba5..a8d68462 100644
--- a/src/components/LandingHeader.svelte
+++ b/src/components/LandingHeader.svelte
@@ -21,8 +21,8 @@
<button on:click={() => scroll(about)}>About</button>
{#if !$user}
<button class="border rounded-full px-6 py-2 font-bold" on:click={() => goto('/register')}
- >Start in Seconds</button
- >
+ >Start in Seconds
+ </button>
<button
class="bg-black text-white border rounded-full px-6 py-2 font-bold"
on:click={() => goto('/login')}
@@ -31,6 +31,11 @@
</button>
{:else}
<button
+ class="border rounded-full px-6 py-2 font-bold"
+ on:click={() => goto(`/${$user.username}/dashboard`)}
+ >Account
+ </button>
+ <button
class="bg-black text-white border rounded-full px-6 py-2 font-bold"
on:click={() => goto('/logout')}
>