aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHeader.svelte
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-18 16:48:21 -0500
committerAdrien Hopkins <[email protected]>2022-08-18 16:48:21 -0500
commitbfb25df2c09c4121bf77ff243f12c1b2714ac88e (patch)
tree3e5263be8228984dbd23bfc6d278b2eba7f8e084 /src/components/LandingHeader.svelte
parent9d9cc8ee5ddaa583de8216aa3d4db515c54e6430 (diff)
downloadcoinos-ui-bfb25df2c09c4121bf77ff243f12c1b2714ac88e.tar.gz
coinos-ui-bfb25df2c09c4121bf77ff243f12c1b2714ac88e.zip
Extracted all strings from the main page into en.json
Diffstat (limited to 'src/components/LandingHeader.svelte')
-rw-r--r--src/components/LandingHeader.svelte14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte
index cc743b79..3e53a613 100644
--- a/src/components/LandingHeader.svelte
+++ b/src/components/LandingHeader.svelte
@@ -28,9 +28,9 @@
<!-- desktop nav -->
<div class="hidden space-x-10 md:flex flex-wrap justify-center items-center font-bold">
- <button on:click={() => scroll(howItWorks)}>{$_('nav.howItWorks')}</button>
- <button on:click={() => scroll(faq)}>{$_('nav.faq')}</button>
- <button on:click={() => scroll(about)}>{$_('nav.about')}</button>
+ <button on:click={() => scroll(howItWorks)}>{$_('howItWorks.header')}</button>
+ <button on:click={() => scroll(faq)}>{$_('faq.header')}</button>
+ <button on:click={() => scroll(about)}>{$_('about.header')}</button>
{#if !$user}
<button class="border rounded-full px-6 py-2 font-bold" on:click={() => goto('/register')}
>{$_('nav.startInSeconds')}
@@ -45,13 +45,13 @@
<button
class="border rounded-full px-6 py-2 font-bold"
on:click={() => goto(`/${$user.username}/dashboard`)}
- >Account
+ >{$_('nav.account')}
</button>
<button
class="bg-black text-white border rounded-full px-6 py-2 font-bold"
on:click={() => goto('/logout')}
>
- Sign out
+ {$_('nav.signOut')}
</button>
{/if}
</div>
@@ -92,13 +92,13 @@
<button
class="border rounded-full px-6 py-2 font-bold block"
on:click={() => goto(`/${$user.username}/dashboard`)}
- >Account
+ >{$_('nav.account')}
</button>
<button
class="bg-black text-white border rounded-full px-6 py-2 font-bold block"
on:click={() => goto('/logout')}
>
- Sign out
+ {$_('nav.signOut')}
</button>
{/if}
<LocaleSelector style="py-1" />