From 089ce13c59a9ce9fc33ea89384899e6ac94a096a Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 28 Feb 2026 19:25:53 +0100 Subject: [PATCH] fix: mobile nav close button + CI Gatekeeper auth MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add explicit close (Ɨ) button inside mobile nav overlay - Was unreachable because header's hamburger was behind overlay z-index - New button lives inside the overlay at full z-index visibility - Fix check-forms.ts: authenticate via Gatekeeper login form - Old approach: inject raw password as session cookie (didn't work) - New approach: navigate to protected page, detect Gatekeeper gate, fill password form and submit to get a real server-signed session cookie - Fixes E2E form tests that failed because pages returned Gatekeeper HTML --- components/Header.tsx | 23 +++++++++++++++++++++++ scripts/check-forms.ts | 33 +++++++++++++++++++++++---------- 2 files changed, 46 insertions(+), 10 deletions(-) diff --git a/components/Header.tsx b/components/Header.tsx index 8573da6b..e3d3688b 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -352,6 +352,29 @@ export default function Header() { ref={mobileMenuRef} inert={isMobileMenuOpen ? undefined : true} > + {/* Close Button inside overlay */} +
+ +