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/FaqCard.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/FaqCard.svelte')
| -rw-r--r-- | src/components/FaqCard.svelte | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/FaqCard.svelte b/src/components/FaqCard.svelte index 918e03d6..ae1ad077 100644 --- a/src/components/FaqCard.svelte +++ b/src/components/FaqCard.svelte @@ -1,15 +1,15 @@ <script> - import { t } from '$lib/translations'; + import { t } from "$lib/translations"; - // 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"> - <p class="text-2xl font-medium">{$t('faq.' + questionID + '.question')}</p> - <p class="text-secondary text-xl font-medium"> - {$t('faq.' + questionID + '.answer')} - </p> + <p class="text-2xl font-medium">{$t("faq." + questionID + ".question")}</p> + <p class="text-secondary text-xl font-medium"> + {$t("faq." + questionID + ".answer")} + </p> </div> |
