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
commit0f097b189a8afdec09057d7babd6904e7497b534 (patch)
treef99e8cb8be91dd8817c96140aa9bd0f2b082684a /src/components/LandingHeader.svelte
parent520d5eb794bb0303b0d2b8b01f487d848a6567f4 (diff)
downloadcoinos-ui-0f097b189a8afdec09057d7babd6904e7497b534.tar.gz
coinos-ui-0f097b189a8afdec09057d7babd6904e7497b534.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}