aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/FaqCard.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-01 20:04:13 -0800
committerAdam Soltys <[email protected]>2023-12-01 20:04:13 -0800
commit216a600224fde22ce76b367557a02094ec693886 (patch)
treed1189bbaa39db204633523132a7d4767b952717d /src/components/FaqCard.svelte
parent7d9bc1f54dfd04172e8d6d43ebc2efd6f407e833 (diff)
downloadcoinos-ui-216a600224fde22ce76b367557a02094ec693886.tar.gz
coinos-ui-216a600224fde22ce76b367557a02094ec693886.zip
prettier
Diffstat (limited to 'src/components/FaqCard.svelte')
-rw-r--r--src/components/FaqCard.svelte18
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>