diff options
| author | secondl1ght <[email protected]> | 2022-07-31 10:43:47 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-31 10:43:47 -0600 |
| commit | 166c4ec3dd7d279acc329f70a48791d8405ac0fc (patch) | |
| tree | f6886e67fe90e35ce1b2e44bf99fd5705a0571a2 /src | |
| parent | 1d7a1f8c2f527f2d08e0ef4e4585563307d20355 (diff) | |
| download | coinos-ui-166c4ec3dd7d279acc329f70a48791d8405ac0fc.tar.gz coinos-ui-166c4ec3dd7d279acc329f70a48791d8405ac0fc.zip | |
add account link to landing if you are logged in
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/LandingHeader.svelte | 9 |
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')} > |
