diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/404.svelte | 2 | ||||
| -rw-r--r-- | src/components/About.svelte | 30 | ||||
| -rw-r--r-- | src/components/AppHeader.svelte | 6 | ||||
| -rw-r--r-- | src/components/FaqCard.svelte | 10 | ||||
| -rw-r--r-- | src/components/Footer.svelte | 6 | ||||
| -rw-r--r-- | src/components/HowItWorksCard.svelte | 2 | ||||
| -rw-r--r-- | src/components/LandingHeader.svelte | 2 | ||||
| -rw-r--r-- | src/components/LandingHero.svelte | 10 |
8 files changed, 40 insertions, 28 deletions
diff --git a/src/components/404.svelte b/src/components/404.svelte index fbc05048..4d5be76e 100644 --- a/src/components/404.svelte +++ b/src/components/404.svelte @@ -1,6 +1,6 @@ <script> import { Icon } from '$comp'; - import { _ } from 'svelte-i18n'; + import { _ } from 'svelte-i18n'; </script> <div class="flex justify-center items-center mt-20"> diff --git a/src/components/About.svelte b/src/components/About.svelte index 2b64bbf4..7ec0800c 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -1,6 +1,6 @@ <script> import { Image, Icon } from '$comp'; - import { _, json } from 'svelte-i18n'; + import { _, json } from 'svelte-i18n'; </script> <h3 class="text-5xl font-medium mb-10 text-center">{$_('about.header')}</h3> @@ -8,29 +8,35 @@ class="md:px-10 lg:px-0 block lg:flex justify-center text-secondary text-xl lg:space-x-20 mx-auto max-w-7xl relative" > <p class="w-full lg:w-5/12"> - {@html $_('about.p1')} + {@html $_('about.p1')} <br /><br /> - {@html $_('about.p2')} + {@html $_('about.p2')} <br /><br /> </p> <p class="w-full lg:w-5/12"> - {@html $_('about.p3')} + {@html $_('about.p3')} <br /><br /> - {@html $_('about.p4')} + {@html $_('about.p4')} </p> <Image image="swoosh" style="w-32 absolute -bottom-20 lg:bottom-0 right-0 md:right-10" /> </div> <div class="px-5 block lg:flex justify-center lg:space-x-32 items-center mt-40 lg:mt-20"> <div class="space-y-5 mb-5 lg:mb-0"> - <h3 class="text-5xl font-medium mb-10 text-center lg:text-right">{$_('about.founder.header')}</h3> + <h3 class="text-5xl font-medium mb-10 text-center lg:text-right"> + {$_('about.founder.header')} + </h3> <Image image="adam" style="rounded-full mx-auto lg:mx-0 lg:ml-auto w-40" /> <div class="space-y-2"> - <span class="text-2xl text-center font-semibold block lg:text-right">{$_('about.founder.name')}</span> + <span class="text-2xl text-center font-semibold block lg:text-right" + >{$_('about.founder.name')}</span + > <span class="text-xl text-center text-secondary block lg:text-right" - >{$_('about.founder.position')}</div> + >{$_('about.founder.position')}</span + > + </div> <div class="flex justify-center lg:justify-end items-center space-x-5"> <a @@ -51,8 +57,8 @@ <ul class="w-full mx-auto md:w-[700px] lg:w-[500px] xl:w-auto text-secondary px-1 md:px-10 text-xl list-disc space-y-5" > - {#each $json('about.founder.qualifications') as qualification} - <li>{qualification}</li> - {/each} - </ul> + {#each $json('about.founder.qualifications') as qualification} + <li>{qualification}</li> + {/each} + </ul> </div> diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 761ce2a8..1d24cb1d 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -5,7 +5,7 @@ import { user, newPayment, colorTheme } from '$lib/store'; import { goto } from '$app/navigation'; import { Icon } from '$comp'; - import { _ } from 'svelte-i18n'; + import { _ } from 'svelte-i18n'; export let avatarPosition = 'left-[calc(50vw-48px)]'; @@ -85,7 +85,9 @@ </div> {:else} <a href="/login"> - <button class="bg-white px-5 py-2 rounded-xl font-semibold text-sm">{$_('nav.signIn')}</button> + <button class="bg-white px-5 py-2 rounded-xl font-semibold text-sm" + >{$_('nav.signIn')}</button + > </a> {/if} </nav> diff --git a/src/components/FaqCard.svelte b/src/components/FaqCard.svelte index 3e855e42..0d3a9fa7 100644 --- a/src/components/FaqCard.svelte +++ b/src/components/FaqCard.svelte @@ -1,10 +1,10 @@ <script> - import { _ } from 'svelte-i18n'; + import { _ } from 'svelte-i18n'; - // this ID will be used to get the strings from the locale - // question is at faq.[questionID].question - // answer is at faq.[questionID].answer - export let questionID; + // this ID will be used to get the strings from the locale + // question is at faq.[questionID].question + // answer is at faq.[questionID].answer + export let questionID; </script> <div class="mx-auto w-full md:w-2/3 lg:w-[700px] space-y-5"> diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 8d846f04..e2acd993 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,6 +1,6 @@ <script> import { Icon } from '$comp'; - import { _ } from 'svelte-i18n'; + import { _ } from 'svelte-i18n'; const followLinks = [ { url: 'https://twitter.com/coinoswallet', titleID: 'twitter' }, @@ -21,7 +21,9 @@ <p class="font-semibold">{$_('footer.followUs')}</p> <ul class="mt-5 text-secondary space-y-3 font-medium"> {#each followLinks as link} - <li><a href={link.url} target="_blank" rel="noreferrer">{$_('footer.' + link.titleID)}</a></li> + <li> + <a href={link.url} target="_blank" rel="noreferrer">{$_('footer.' + link.titleID)}</a> + </li> {/each} </ul> </div> diff --git a/src/components/HowItWorksCard.svelte b/src/components/HowItWorksCard.svelte index b0ef2aad..6f82c360 100644 --- a/src/components/HowItWorksCard.svelte +++ b/src/components/HowItWorksCard.svelte @@ -1,6 +1,6 @@ <script> import Icon from './Icon.svelte'; - import { _ } from 'svelte-i18n'; + import { _ } from 'svelte-i18n'; export let image; export let stepID; </script> diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte index 3e53a613..acc83001 100644 --- a/src/components/LandingHeader.svelte +++ b/src/components/LandingHeader.svelte @@ -98,7 +98,7 @@ class="bg-black text-white border rounded-full px-6 py-2 font-bold block" on:click={() => goto('/logout')} > - {$_('nav.signOut')} + {$_('nav.signOut')} </button> {/if} <LocaleSelector style="py-1" /> diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte index 7c044a4d..6553d271 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 { _ } from 'svelte-i18n'; </script> <div class="mt-[96.88px] md:mt-0"> @@ -10,15 +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')} <span class="relative"> + {$_('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> {$_('landing.header_after_icon')} + </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" > - {$_('landing.subheader')} + {$_('landing.subheader')} </h2> {#if !$user} <div class="flex justify-center"> |
