From 8c324d492e8861b3f8e6cf650595d31247d8e7df Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Tue, 6 Oct 2026 02:04:19 +0000 Subject: [PATCH] feat: Invites link in the user menu Admins skip the invite-only gate and see the whole site, so they never landed on /invite-only and had no way to find their invites ("i don't see invites anywhere on the site"). The signed-in user menu now links to /invite-only for everyone, next to Account Settings. header.test.tsx is on vitest's exclude list, so no test is added there. Co-Authored-By: Claude Opus 5.5 --- src/components/layout/header.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/layout/header.tsx b/src/components/layout/header.tsx index db43ace8..2774474a 100644 --- a/src/components/layout/header.tsx +++ b/src/components/layout/header.tsx @@ -260,6 +260,21 @@ export function Header({ className, isLoggedIn = false, isAdmin = false, userEma Account Settings + {/* Invites: the site is invite only; members hand these out (src/lib/invites.ts) */} + + + Invites + + {/* Admin console, admins only */} {isAdmin ? (