diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 3d82063..f4e367e 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -24,6 +24,8 @@ import GitHubIntelligencePage from "./pages/GitHubIntelligencePage"; import GitHubCallbackPage from "./pages/GitHubCallbackPage"; import ProtectedRoute from "./components/shared/ProtectedRoute"; import PublicRoute from "./components/shared/PublicRoute"; + + import FAQSection from "./components/explore/FAQSection"; export default function App() { return ( @@ -102,7 +104,10 @@ export default function App() { } /> } /> } /> + + + diff --git a/frontend/src/components/shared/Navbar.jsx b/frontend/src/components/shared/Navbar.jsx index b09b7d2..fc47ef2 100644 --- a/frontend/src/components/shared/Navbar.jsx +++ b/frontend/src/components/shared/Navbar.jsx @@ -220,6 +220,30 @@ export default function Navbar() { {/* ── Mega Menu Panel ── */} +
+ {/* Top accent bar */} +
+ +
+ + +
+ {MEGA_MENU_ITEMS.map((item, i) => { + const Wrapper = item.to ? Link : "button"; + const hasSubmenu = item.submenu && item.submenu.length > 0; + + if (hasSubmenu) { {megaOpen && (
+
+
+ {item.icon} + + {item.label} + +
{item.icon} @@ -315,31 +342,64 @@ export default function Navbar() { {item.label} {item.tag && ( - + {item.tag} )}
-

- {item.desc} -

- +
+ {item.submenu.map((subItem) => ( + +
+ {subItem.icon} + + {subItem.label} + +
+

+ {subItem.desc} +

+ + ))} +
+
); - })} -
- - {/* Footer strip */} -
- - More tools shipping soon - - - View All → - -
+ } + + return ( + +
+ {item.icon} + + {item.label} + + {item.tag && ( + + {item.tag} + + )} +
+

+ {item.desc} +

+
+ ); + })}
+ +
- )} +
@@ -569,7 +629,7 @@ export default function Navbar() { return (