diff options
| author | Adrien Hopkins <[email protected]> | 2022-07-29 12:56:23 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-07-29 12:56:23 -0500 |
| commit | 0f767571be758ec7eb3c11c5bcd608adfbb9328b (patch) | |
| tree | 800227ac09e2a03d2e62f28d04b0935366ec7157 /src/components | |
| parent | 7f614fb4e4c3134b477eddfd0034106b9cb01a00 (diff) | |
| download | coinos-ui-0f767571be758ec7eb3c11c5bcd608adfbb9328b.tar.gz coinos-ui-0f767571be758ec7eb3c11c5bcd608adfbb9328b.zip | |
localized landing header
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/LandingHeader.svelte | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte index 4da9a17e..b0ac0a9d 100644 --- a/src/components/LandingHeader.svelte +++ b/src/components/LandingHeader.svelte @@ -3,6 +3,8 @@ import { scroll } from '$lib/utils'; import { Icon } from '$comp'; + import { _ } from 'svelte-i18n'; + export let howItWorks; export let faq; </script> @@ -14,17 +16,17 @@ </a> <div class="hidden space-x-10 md:flex flex-wrap justify-center items-center font-bold"> - <button on:click={() => scroll(howItWorks)}>How It Works</button> - <button on:click={() => scroll(faq)}>FAQ</button> - <button>About</button> + <button on:click={() => scroll(howItWorks)}>{$_('howItWorks')}</button> + <button on:click={() => scroll(faq)}>{$_('FAQ')}</button> + <button>{$_('about')}</button> <button class="border rounded-full px-6 py-2 font-bold" on:click={() => goto('/register')} - >Start in Seconds</button + >{$_('startInSeconds')}</button > <button class="bg-black text-white border rounded-full px-6 py-2 font-bold" on:click={() => goto('/login')} > - Sign in + {$_('signIn')} </button> </div> </nav> |
