text font fixed
This commit is contained in:
@@ -19,7 +19,7 @@ export default function FAQAccordion({ items }: FAQAccordionProps) {
|
||||
{items.map((item, index) => (
|
||||
<Accordion.Item key={item.id} value={item.id} className="border-b border-slate-700 py-6">
|
||||
<Accordion.Trigger className="group flex w-full items-center justify-between text-left">
|
||||
<h3 className="text-lg font-bold uppercase tracking-wide text-white transition-colors duration-300 group-hover:cursor-pointer md:text-xl">
|
||||
<h3 className="font-almarai text-lg font-bold uppercase tracking-wide text-white transition-colors duration-300 group-hover:cursor-pointer md:text-xl">
|
||||
{item.question}
|
||||
</h3>
|
||||
<div className="ml-4 shrink-0">
|
||||
@@ -31,7 +31,7 @@ export default function FAQAccordion({ items }: FAQAccordionProps) {
|
||||
</Accordion.Trigger>
|
||||
|
||||
<Accordion.Content className="overflow-hidden pt-4 text-gray-400 animate-in fade-in slide-in-from-top-2 duration-300 data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:slide-out-to-top-2">
|
||||
<p className="leading-relaxed text-sm md:text-base">{item.answer}</p>
|
||||
<p className="font-almarai leading-relaxed text-sm md:text-base">{item.answer}</p>
|
||||
</Accordion.Content>
|
||||
</Accordion.Item>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user