From 5242f8c6bbcf51fdc4fd56ad4c2da629b3348864 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Wed, 9 Sep 2026 17:12:59 -0600 Subject: [PATCH] Give the shell one header, a skip link, and a cookie-aware first paint. Breakpoint clones were still in the tab order, marketing always painted Log in, and at 430px the logo overlay covered Use cases and Learn. Co-authored-by: Cursor --- .cursor/rules/routes.mdc | 22 +- app/(admin)/layout.tsx | 11 +- app/(app)/layout.tsx | 11 +- app/(dev)/layout.tsx | 9 +- app/(marketing)/layout.tsx | 21 +- app/(marketing-case-study)/layout.tsx | 7 +- app/components/asset/Logo/Logo.tsx | 2 +- .../navigation/MarketingNavigation.tsx | 27 -- app/components/navigation/SkipToContent.tsx | 14 ++ .../navigation/Top/Top.container.tsx | 103 ++++---- app/components/navigation/Top/Top.types.ts | 18 +- app/components/navigation/Top/Top.view.tsx | 234 ++++-------------- app/components/navigation/Top/index.tsx | 2 +- app/globals.css | 23 ++ app/layout.tsx | 7 +- docs/figma-component-registry.md | 2 +- docs/perf/next16-eval.md | 6 +- lib/mainContent.ts | 2 + messages/en/components/header.json | 1 + tests/components/SkipToContent.test.tsx | 14 ++ tests/components/Top.test.tsx | 59 ++++- tests/components/TopWithPathname.test.tsx | 34 +++ 22 files changed, 309 insertions(+), 320 deletions(-) delete mode 100644 app/components/navigation/MarketingNavigation.tsx create mode 100644 app/components/navigation/SkipToContent.tsx create mode 100644 lib/mainContent.ts create mode 100644 tests/components/SkipToContent.test.tsx create mode 100644 tests/components/TopWithPathname.test.tsx diff --git a/.cursor/rules/routes.mdc b/.cursor/rules/routes.mdc index 009f3ea..e441551 100644 --- a/.cursor/rules/routes.mdc +++ b/.cursor/rules/routes.mdc @@ -14,10 +14,10 @@ the file tree without affecting URLs. | Group | URL surface | Audience | Chrome | |---|---|---|---| -| `app/(marketing)/` | `/`, `/learn`, `/blog`, `/templates`, future public pages | Public, indexable | `Top` (via root) + marketing `