aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHeader.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-04 22:35:30 -0800
committerAdam Soltys <[email protected]>2024-11-04 22:35:30 -0800
commit2adeef05f091c6ef3be621e1430291a1c7e0e8ee (patch)
treef99e8cb8be91dd8817c96140aa9bd0f2b082684a /src/components/LandingHeader.svelte
parentf31b71ef4986fa51832e56feebbfd46712d4aa14 (diff)
downloadcoinos-ui-2adeef05f091c6ef3be621e1430291a1c7e0e8ee.tar.gz
coinos-ui-2adeef05f091c6ef3be621e1430291a1c7e0e8ee.zip
dark styles
Diffstat (limited to 'src/components/LandingHeader.svelte')
-rw-r--r--src/components/LandingHeader.svelte20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte
index e6bfc07c..b3ecd159 100644
--- a/src/components/LandingHeader.svelte
+++ b/src/components/LandingHeader.svelte
@@ -47,27 +47,17 @@
>
{/if}
{#if user}
- <button
- class="border rounded-full px-6 py-2 font-bold"
- on:click={() => goto(`/${user.username}`)}
+ <button class="btn !w-auto" on:click={() => goto(`/${user.username}`)}
>Home
</button>
- <button
- class="bg-black text-white border rounded-full px-6 py-2 font-bold"
- on:click={() => goto("/logout")}
- >
+ <button class="btn !w-auto" on:click={() => goto("/logout")}>
{$t("nav.signOut")}
</button>
{:else}
- <button
- class="border rounded-full px-6 py-2 font-bold hover:opacity-80"
- on:click={() => goto("/register")}
- >{$t("nav.startInSeconds")}
+ <button class="btn !w-auto" on:click={() => goto("/register")}
+ >{$t("nav.register")}
</button>
- <button
- class="bg-black text-white border rounded-full px-6 py-2 font-bold hover:opacity-80"
- on:click={() => goto("/login")}
- >
+ <button class="btn !w-auto" on:click={() => goto("/login")}>
{$t("nav.signIn")}
</button>
{/if}