aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHero.svelte
diff options
context:
space:
mode:
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 6553d271..1415692e 100644
--- a/src/components/LandingHero.svelte
+++ b/src/components/LandingHero.svelte
@@ -2,7 +2,7 @@
import { goto } from '$app/navigation';
import { Icon, Image } from '$comp';
import { user } from '$lib/store';
- import { _ } from 'svelte-i18n';
+ import { t } from '$lib/translations';
</script>
<div class="mt-[96.88px] md:mt-0">
@@ -10,17 +10,17 @@
<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"
>
- {$_('landing.header_before_icon')}
+ {$t('landing.header_before_icon')}
<span class="relative">
- {$_('landing.header_with_icon')}
+ {$t('landing.header_with_icon')}
<Icon icon="rays" style="absolute -top-16 left-5 md:left-8 lg:left-14 2xl:left-24" />
</span>
- {$_('landing.header_after_icon')}
+ {$t('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"
>
- {$_('landing.subheader')}
+ {$t('landing.subheader')}
</h2>
{#if !$user}
<div class="flex justify-center">
@@ -28,7 +28,7 @@
class="bg-black text-white border rounded-full px-6 py-2 font-bold"
on:click={() => goto('/register')}
>
- {$_('nav.startInSeconds')}
+ {$t('nav.startInSeconds')}
</button>
</div>
{/if}