aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHero.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/LandingHero.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/LandingHero.svelte')
-rw-r--r--src/components/LandingHero.svelte12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte
index 750f5626..7c044a4d 100644
--- a/src/components/LandingHero.svelte
+++ b/src/components/LandingHero.svelte
@@ -2,6 +2,7 @@
import { goto } from '$app/navigation';
import { Icon, Image } from '$comp';
import { user } from '$lib/store';
+ import { _ } from 'svelte-i18n';
</script>
<div class="mt-[96.88px] md:mt-0">
@@ -9,16 +10,15 @@
<h1
class="text-5xl md:text-6xl lg:text-7xl 2xl:text-8xl font-medium text-center w-full md:w-3/4 lg:w-1/2 max-w-7xl mx-auto leading-tight"
>
- The <span class="relative">
- easiest
+ {$_('landing.header_before_icon')} <span class="relative">
+ {$_('landing.header_with_icon')}
<Icon icon="rays" style="absolute -top-16 left-5 md:left-8 lg:left-14 2xl:left-24" />
- </span> way to accept bitcoin in your store.
+ </span> {$_('landing.header_after_icon')}
</h1>
<h2
class="text-center text-secondary w-full md:w-3/5 lg:w-2/5 max-w-3xl mx-auto text-xl leading-normal font-medium"
>
- Grow your customer base and revenue by accepting bitcoin with an easy-to-use and managed Point
- of Sale. No software or hardware required.
+ {$_('landing.subheader')}
</h2>
{#if !$user}
<div class="flex justify-center">
@@ -26,7 +26,7 @@
class="bg-black text-white border rounded-full px-6 py-2 font-bold"
on:click={() => goto('/register')}
>
- Start in Seconds
+ {$_('nav.startInSeconds')}
</button>
</div>
{/if}