From 8e7e15242287505224524ec22c0c3b49957f1be3 Mon Sep 17 00:00:00 2001 From: Ryan Salazar Date: Tue, 19 May 2026 23:08:05 +0000 Subject: [PATCH] header: move primary nav to a Browse bar below the 728x90 leaderboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main sticky top row now holds only the logo, Reading List icon, notification bell, and search box. The Events dropdown, navLinks (Newsletter, Forum), and About dropdown were lifted out of the top row and re-rendered in a new "Browse bar" that sits directly below the header leaderboard banner. Visual result: [ top utility bar (account / admin) ] [ logo 📑 🔔 🔍 ] [ 728x90 leaderboard ] [ Events ▾ Newsletter Forum About ▾ ] ← new Browse bar [ LIVE WIRE ···· ] [ RECENT FORUM POSTS ···· ] The mobile hamburger drawer is unchanged — it already keeps all the nav items consolidated for small screens. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/Header.tsx | 66 ++++++++++++++------------------------- 1 file changed, 23 insertions(+), 43 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 0580115..cb53b69 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -334,48 +334,11 @@ export default function Header() { /> - {/* Desktop Nav Links — arrow key navigable + dropdowns */} -
-{/* nav-desktop-redesign:start */} - -{/* nav-desktop-redesign:end */} - - {navLinks?.map((link, i) => ( -
- { navLinksRef.current[i] = el; }} - className="nav-link-bb h-[60px] flex items-center focus:outline-none focus-visible:ring-1 focus-visible:ring-[#3b82f6] focus-visible:ring-offset-1 focus-visible:ring-offset-[#111]" - onKeyDown={(e) => handleNavKeyDown(e, i, navLinksRef)} - tabIndex={i === 0 ? 0 : -1} - aria-haspopup={link?.dropdown ? "true" : undefined}> - {link?.label} - - {link?.dropdown && ( -
- {link.dropdown.map((sub) => ( - - {sub.label} - - ))} -
- )} -
- ))} - {/* nav-desktop-redesign:after */} - -{/* nav-desktop-redesign:after:end */} -{/* Reading List Icon Link */} + {/* Nav items moved to the Browse bar that sits below the + header leaderboard banner. Only the notification bell + + search remain in the top sticky row. */} +
)} + + {/* BROWSE BAR — primary nav (was previously above the banner) */} +
+
+
+ + {navLinks.map((link) => ( + + {link.label} + + ))} + +
+
+
); } \ No newline at end of file