Merge version_6_1777298425922 into main #6
@@ -67,7 +67,11 @@ const FaqSimple = ({
|
||||
<div
|
||||
key={index}
|
||||
onClick={() => handleToggle(index)}
|
||||
className="p-3 2xl:p-4 rounded card cursor-pointer select-none"
|
||||
className={cls(
|
||||
"p-3 2xl:p-4 rounded card cursor-pointer select-none",
|
||||
index === 0 ? "bg-red-500" : "" // Conditional red background for the first item
|
||||
)}
|
||||
data-webild-id="webild-1777298409123-pwmvcosxl"
|
||||
>
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<h3 className="text-base md:text-lg font-medium leading-tight">{item.question}</h3>
|
||||
@@ -102,4 +106,4 @@ const FaqSimple = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default FaqSimple;
|
||||
export default FaqSimple;
|
||||
Reference in New Issue
Block a user