diff options
| author | Adam Soltys <[email protected]> | 2023-02-08 12:20:40 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-08 12:20:40 -0800 |
| commit | f1de78757ebd132acee2f4ebe1c0927a262594f0 (patch) | |
| tree | dd8312c45f56cb4e3194b4d5738c7044503f29d7 /src/components | |
| parent | 6eafcc8aac3cea148340c990934ccf0613869f27 (diff) | |
| download | coinos-ui-f1de78757ebd132acee2f4ebe1c0927a262594f0.tar.gz coinos-ui-f1de78757ebd132acee2f4ebe1c0927a262594f0.zip | |
remove dashboard references
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/AppHeader.svelte | 4 | ||||
| -rw-r--r-- | src/components/LandingHeader.svelte | 4 |
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 |
