aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/FaqCard.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/FaqCard.svelte')
-rw-r--r--src/components/FaqCard.svelte11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/FaqCard.svelte b/src/components/FaqCard.svelte
new file mode 100644
index 00000000..5753fd87
--- /dev/null
+++ b/src/components/FaqCard.svelte
@@ -0,0 +1,11 @@
+<script>
+ export let question;
+ export let answer;
+</script>
+
+<div class="mx-auto w-full md:w-2/3 lg:w-1/2 space-y-5">
+ <p class="text-2xl font-medium">{question}</p>
+ <p class="text-secondary text-xl font-medium w-full md:w-2/3 max-w-2xl">
+ {answer}
+ </p>
+</div>