diff options
| author | Adam Soltys <[email protected]> | 2023-12-06 20:33:45 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-06 20:33:45 -0800 |
| commit | 6b3ff247e4125941a611369ed9bb74a2ffca57d8 (patch) | |
| tree | 91da939350398188834e5e002bc78011a2a8e5bf /src/components/LandingHero.svelte | |
| parent | bb59ac3e4e7fcbf7f8a48820eab0ee21558183fc (diff) | |
| parent | d69c34cf389639eac82d24d1f1b02f038ef42399 (diff) | |
| download | coinos-ui-6b3ff247e4125941a611369ed9bb74a2ffca57d8.tar.gz coinos-ui-6b3ff247e4125941a611369ed9bb74a2ffca57d8.zip | |
Merge branch 'master' into swapee
Diffstat (limited to 'src/components/LandingHero.svelte')
| -rw-r--r-- | src/components/LandingHero.svelte | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte index 8e1d6476..43223499 100644 --- a/src/components/LandingHero.svelte +++ b/src/components/LandingHero.svelte @@ -1,37 +1,41 @@ <script> - import { goto } from '$app/navigation'; - import { Icon, Image } from '$comp'; - import { t } from '$lib/translations'; + import { goto } from "$app/navigation"; + import Icon from "$comp/Icon.svelte"; + import Image from "$comp/Image.svelte"; + import { t } from "$lib/translations"; </script> <div class="mt-[96.88px] md:mt-0"> - <div class="space-y-10"> - <h1 - class="text-5xl md:text-6xl lg:text-7xl font-medium text-center w-full md:w-3/4 lg:w-1/2 max-w-7xl mx-auto leading-tight" - > - {$t('landing.header_before_icon')} - <span class="relative"> - {$t('landing.header_with_icon')} - <Icon icon="rays" style="absolute -top-16 left-5 md:left-8 lg:left-14 2xl:left-24" /> - </span> - {$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" - > - {$t('landing.subheader')} - </h2> + <div class="space-y-10"> + <h1 + class="text-5xl md:text-6xl lg:text-7xl font-medium text-center w-full md:w-3/4 lg:w-1/2 max-w-7xl mx-auto leading-tight" + > + {$t("landing.header_before_icon")} + <span class="relative"> + {$t("landing.header_with_icon")} + <Icon + icon="rays" + style="absolute -top-16 left-5 md:left-8 lg:left-14 2xl:left-24" + /> + </span> + {$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" + > + {$t("landing.subheader")} + </h2> - <div class="flex justify-center"> - <a href="/register"> - <button - class="bg-black text-white border rounded-full px-6 py-2 font-bold hover:opacity-80" - > - {$t('nav.startInSeconds')} - </button> - </a> - </div> - </div> + <div class="flex justify-center"> + <a href="/register"> + <button + class="bg-black text-white border rounded-full px-6 py-2 font-bold hover:opacity-80" + > + {$t("nav.startInSeconds")} + </button> + </a> + </div> + </div> - <Image image="hero-image" style="w-full md:w-2/3 max-w-5xl mx-auto mt-20" /> + <Image image="hero-image" style="w-full md:w-2/3 max-w-5xl mx-auto mt-20" /> </div> |
