diff --git a/frontend/src/components/shared/Navbar.jsx b/frontend/src/components/shared/Navbar.jsx index bd70e86..290b132 100644 --- a/frontend/src/components/shared/Navbar.jsx +++ b/frontend/src/components/shared/Navbar.jsx @@ -106,6 +106,9 @@ function Chevron({ open, className = "" }) { // ─── Desktop Mega Menu Panel ─────────────────────────────────────────────────── function MegaMenuPanel({ megaRef, onMouseEnter, onMouseLeave, onClose, megaTriggerRef, firstMenuItemRef, }) { + const coreTools = MEGA_MENU_ITEMS.filter((item) => !item.submenu); + const contestArsenal = MEGA_MENU_ITEMS.find((item) => item.submenu); + return (
- AI-Powered Tools — GSSoC '26 -
- - {/* Item grid — gap-px with bg-zinc-100 creates razor-thin dividers */} -+ Core Arsenal +
+- {item.desc} -
+ + {item.label} + +- {sub.desc} -
- - ))} -+ {item.desc} +
+ ); - } - - // ── Standard grid item ───────────────────────────────────────── - const Wrapper = item.to ? Link : "div"; - const wrapperProps = item.to ? { to: item.to, onClick: onClose } : {}; - - return ( -+ Contest Solutions +
++ {sub.desc} +
- {item.desc} -
- - ); - })} + + ))} ++
{item.desc}
{sub.label}
@@ -679,7 +675,7 @@ export default function Navbar() {
{item.desc}
+{item.desc}