diff --git a/src/components/faqs/faqs.tsx b/src/components/faqs/faqs.tsx index 4d0b3a99..dfc55d3c 100644 --- a/src/components/faqs/faqs.tsx +++ b/src/components/faqs/faqs.tsx @@ -51,6 +51,11 @@ const FAQs: React.FC = () => { setActiveIndex(activeIndex === index ? null : index); }; + // Split FAQs into two columns manually to prevent shifting + const midPoint = Math.ceil(faqData.length / 2); + const leftColumnFAQs = faqData.slice(0, midPoint); + const rightColumnFAQs = faqData.slice(midPoint); + return (
{
{ ` + transition={{ duration: 0.3, ease: "easeInOut" }} + > +
/g, + `` + ).replace( + /• ` + ) + }} + /> + - - ))} + ))} +
+ + {/* Right Column */} +
+ {rightColumnFAQs.map((faq, index) => { + const actualIndex = index + leftColumnFAQs.length; + return ( + + + +