From bfb25df2c09c4121bf77ff243f12c1b2714ac88e Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Thu, 18 Aug 2022 16:48:21 -0500 Subject: Extracted all strings from the main page into en.json --- src/routes/+page.svelte | 68 ++++++++++++++----------------------------------- 1 file changed, 19 insertions(+), 49 deletions(-) (limited to 'src/routes') diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f50db726..6bdd9699 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,45 +10,19 @@ Footer } from '$comp'; + import { _ } from 'svelte-i18n'; + let howItWorks; let faq; let about; const howItWorksSteps = [ - { - image: 'hand', - step: '1. Create your account', - description: 'A username & password is all you need to get started.' - }, - { - image: 'bolt', - step: '2. Ask for payments', - description: 'The same as you normally would, but with bitcoin.' - }, - { - image: 'smile', - step: "3. That's all!", - description: 'You can convert to local currency at any point.' - } + { image: 'hand', stepID: 'step1' }, + { image: 'bolt', stepID: 'step2' }, + { image: 'smile', stepID: 'step3' } ]; - const faqQuestions = [ - { - question: 'What does it cost?', - answer: - 'CoinOS is free to use. You only pay a 1% fee if/when you withdraw your funds. Compare this to 3% typically charged by a credit card processor.' - }, - { - question: 'Do I need any special device or software?', - answer: - 'No. CoinOS is web-based, so as long as you have an internet connection, you can use it on any device or hardware. Most merchants might use it on a phone or a tablet.' - }, - { - question: 'Are my funds safe?', - answer: - 'Your funds are stored on our secure server, however we recommend that you withdraw them to your own cold storage for long-term savings.' - } - ]; + const faqIDs = ["cost", "compatibility", "safety"]; @@ -60,45 +34,41 @@ - Just enter an amount, share QR code and you’re done. + {$_('landing.info2.description1')}

- CoinOS is custodial by default, which eliminates the need to understand how bitcoin/lightning works. - We do all the heavy lifting so you can focus on your business. + {$_('landing.info2.description2')}

- You always have the option of - taking custody of your own keys. + {@html $_('landing.info2.description3')}
-

How it works

+

{$_('howItWorks.header')}

{#each howItWorksSteps as step} - + {/each}
@@ -107,9 +77,9 @@
-

FAQ

- {#each faqQuestions as question} - +

{$_('faq.header')}

+ {#each faqIDs as faqID} + {/each}
-- cgit v1.2.3