diff options
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> |
