+ {answer} +
+ {source != 'nosrc' && ++ Visit this page for more information. +
+ } +diff --git a/src/components/FAQ.astro b/src/components/FAQ.astro new file mode 100644 index 0000000..e5ca498 --- /dev/null +++ b/src/components/FAQ.astro @@ -0,0 +1,127 @@ +--- +const { index = 0, question, answer, source = 'nosrc' } = Astro.props; + +--- + +
+ {answer} +
+ {source != 'nosrc' && ++ Visit this page for more information. +
+ } +