[dyad] Restored FAQ schema labels - wrote 1 file(s)
This commit is contained in:
@@ -105,9 +105,19 @@ const FaqQuestion = ({ item }: { item: any }) => {
|
||||
item.acceptedAnswer?.text
|
||||
) {
|
||||
return (
|
||||
<div className="p-2 border rounded-md bg-background text-sm">
|
||||
<p className="font-semibold text-muted-foreground">{item.name}</p>
|
||||
<p className="mt-1 text-foreground">{item.acceptedAnswer.text}</p>
|
||||
<div className="p-2 border rounded-md bg-background text-sm space-y-1">
|
||||
<div className="grid grid-cols-[auto_1fr] gap-x-2 items-baseline">
|
||||
<strong className="font-semibold text-muted-foreground">
|
||||
Question:
|
||||
</strong>
|
||||
<p className="text-foreground">{item.name}</p>
|
||||
</div>
|
||||
<div className="grid grid-cols-[auto_1fr] gap-x-2 items-baseline">
|
||||
<strong className="font-semibold text-muted-foreground">
|
||||
Answer:
|
||||
</strong>
|
||||
<p className="text-foreground">{item.acceptedAnswer.text}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user