diff --git a/app/faq/page.tsx b/app/faq/page.tsx index 9292715..2a48f17 100644 --- a/app/faq/page.tsx +++ b/app/faq/page.tsx @@ -39,7 +39,7 @@ export default function FAQPage() { > + + -
-
- {navigationData.main.map((item, index) => { + {/* Mobile dropdown */} +
+
+
+ {navigationData.main.map((item) => { const isActive = pathname === item.href const isExternal = item.external return ( - - {item.label} - {isExternal && } - + setMobileOpen(false)} + className={`flex items-center justify-between w-full px-4 py-3 rounded-lg font-medium transition-all duration-200 ${ + isActive + ? "bg-(--color-primary) dark:bg-blue-600 text-white" + : "text-(--color-gray) dark:text-gray-300 hover:bg-(--color-surface) dark:hover:bg-gray-800 hover:text-(--color-primary) dark:hover:text-blue-400" + }`} + > + {item.label} + {isExternal && } + ) })}
-
- + ) }