Context
Homepage stats and the footer disagree: stats-bar.tsx shows the live catalog counts, while layout-shell.tsx hardcodes an outdated extensions count (8 vs 12).
Steps
- Compare
src/components/stats-bar.tsx and src/components/layout-shell.tsx. - Align footer numbers with the catalog (5 templates / 12 extensions / categories as in registry) — prefer sharing one source of truth instead of two hardcodes.
- Confirm mobile footer still looks fine.
Acceptance criteria
Files
src/components/layout-shell.tsxsrc/components/stats-bar.tsx- Optional:
src/lib/data.ts
How to verify
Load homepage and check header/stats + footer numbers match.
Context
Homepage stats and the footer disagree:
stats-bar.tsxshows the live catalog counts, whilelayout-shell.tsxhardcodes an outdated extensions count (8 vs 12).Steps
src/components/stats-bar.tsxandsrc/components/layout-shell.tsx.Acceptance criteria
cpa-templates/templates.jsononmainat time of PRFiles
src/components/layout-shell.tsxsrc/components/stats-bar.tsxsrc/lib/data.tsHow to verify
Load homepage and check header/stats + footer numbers match.