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 `` | -| `app/(app)/` | `/create/*`, `/login`, `/profile`, future signed-in surfaces | Authenticated product | `Top` (via root) — no footer except **`/profile`** (see `profile/layout.tsx`) | -| `app/(admin)/` | `/monitor`, future ops dashboards | Operators | `Top` (via root) — no footer | -| `app/(dev)/` | `/components-preview`, future dev previews | Local dev (NODE_ENV gated) | `Top` (via root) — no footer | +| `app/(marketing)/` | `/`, `/learn`, `/blog`, `/templates`, future public pages | Public, indexable | `SkipToContent` + `ConditionalNavigation` + marketing `` | +| `app/(app)/` | `/create/*`, `/login`, `/profile`, future signed-in surfaces | Authenticated product | `SkipToContent` + `ConditionalNavigation` — no footer except **`/profile`** (see `profile/layout.tsx`) | +| `app/(admin)/` | `/monitor`, future ops dashboards | Operators | `SkipToContent` + `ConditionalNavigation` — no footer | +| `app/(dev)/` | `/components-preview`, future dev previews | Local dev (NODE_ENV gated) | `Top` omitted — no footer | | `app/(marketing-case-study)/` | `/use-cases/[slug]/rule` | Public case-study demos | Chromeless (no global `Top`; see `navigationChromelessPath.ts`) | | `app/api/` | API routes | n/a | n/a | @@ -28,14 +28,16 @@ the folder next to `(marketing)/`. ## Layout responsibilities - **`app/layout.tsx`** — ``, `
`, providers (`MessagesProvider`, - `AuthModalProvider`), fonts, and `ConditionalNavigation`. Renders + `AuthModalProvider` are per group), fonts. Renders `{children}` directly inside the flex column. **Does not** render - `