chore: initial import
This commit is contained in:
16
frontend/components/FaqSection.js
Normal file
16
frontend/components/FaqSection.js
Normal file
@@ -0,0 +1,16 @@
|
||||
export function FaqSection({ items }) {
|
||||
if (!items?.length) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="faq-grid">
|
||||
{items.map((item) => (
|
||||
<article key={item.question} className="faq-item">
|
||||
<h4>{item.question}</h4>
|
||||
<p>{item.answer}</p>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user