Add Wix microsite component: FAQ
cgen-50002704e34146d783fbb81a8f11ecf6
This commit is contained in:
parent
0ff6beb1f2
commit
ab3fb3a76d
1 changed files with 17 additions and 0 deletions
17
client/components/wix/FAQ.tsx
Normal file
17
client/components/wix/FAQ.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { Card, CardContent } from "@/components/ui/card";
|
||||
import type { FaqItem } from "@/data/wix/faqs";
|
||||
|
||||
export default function FAQList({ items }: { items: FaqItem[] }) {
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
{items.map((f, i) => (
|
||||
<Card key={i} className="border-border/40 bg-card/60 backdrop-blur">
|
||||
<CardContent className="p-5">
|
||||
<div className="font-medium">{f.q}</div>
|
||||
<div className="text-sm text-muted-foreground mt-1">{f.a}</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue