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 | 4a25d091f949c6ce1579e4d816593a9fe7b886b3 (patch) | |
| tree | 0e6ea607671a23c908a0775250cc7eb997ca2548 /src/components | |
| parent | 504586d5228f28fdbac1ab82d5e3d33763acb51c (diff) | |
| download | coinos-ui-4a25d091f949c6ce1579e4d816593a9fe7b886b3.tar.gz coinos-ui-4a25d091f949c6ce1579e4d816593a9fe7b886b3.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> |
