# Lead Gen Deliverability Page Removal

## Why this note exists

`LeadGenDeliverabilityPage` has been removed from the published `@elevasis/ui` package. The deliverability route and sidebar nav item were removed from the shared lead-gen surface. Template-derived projects that still import or route to this page will fail to compile after pulling this train.

## Applies to

All template-derived projects that use the lead-gen feature and have a `ui/src/routes/lead-gen/deliverability.tsx` route file or a deliverability entry in their lead-gen sidebar.

Known affected projects: `nirvana-marketing`, `ZentaraHQ`.

## Required actions

1. Delete `ui/src/routes/lead-gen/deliverability.tsx` — this file is completely removed (no redirect replacement).
2. Remove the deliverability nav item from any project-local lead-gen sidebar overrides that reference it by ID or label.
3. Remove any import of `LeadGenDeliverabilityPage` from route trees, lazy-loaded chunks, or custom page wrappers.
4. Regenerate the TanStack Router route tree (`pnpm -C ui exec tsr generate` or equivalent) after removing the route file so the generated routeTree no longer references the deleted route.
5. Run `pnpm -C ui build` to confirm the build is clean.

## Verification

- `pnpm -C ui build` passes with no import or route errors.
- Navigating to `/lead-gen` works; navigating to `/lead-gen/deliverability` either 404s or redirects as expected by the project's router config.

## Not handled by /git-sync

- `/git-sync` pulls the template source change (removal of `deliverability.tsx` from `_template/ui/src/routes/lead-gen/`), but it does not automatically delete project-owned route files that still import `LeadGenDeliverabilityPage`.
- Any project-local sidebar override that hard-references the deliverability nav entry must be manually cleaned up.
- The route tree regeneration step must be run manually after route file removal.
