Home Page — How it works
Technical anatomy of the landing page. Overview: Home Page.
Routes & entry
| Route | Page root |
|---|---|
/ (and /root) | @pages/home/HomePageContent |
When @configs/routes rootPage is 'estimate', a generated rewrite sends / to
/estimate at the routing layer — the home component itself doesn’t branch.
Providers
None scoped — the home page renders inside the global provider tree only. See State Management.
Component tree
HomePageContent
├─ HomePageBanner welcome title + subtitle (i18n)
├─ FeaturedListings featured/curated listings
└─ StatsWidgets @shared/Stats — only when features.dashboard is on;
seeded with @configs/location defaultFilters + cityConfiguration
| Config | Drives |
|---|---|
@configs/location | city and defaultFilters feeding the stats widgets. |
@configs/features | dashboard gate for the stats block. |
@configs/routes | rootPage — landing vs estimate at /. |
i18n (HomePage) | Banner headline/subtitle. |
Gotchas & hints
- The home page is the main component-override point. A tenant assembles its own home by
shipping
components/pages/home/_<tenant>/HomePageContent.tsx— the default (banner + featured + stats) is just the baseline; tenant forks add heroes, CTAs, testimonials, etc. - Stats are dashboard-gated.
StatsWidgetsrender only whenfeatures.dashboardis on; otherwise the home page is banner + featured listings. rootPagecan replace the landing page with the estimate flow — check it before assuming/shows this content.
Workflow and verification
Source review: e30dd9b47, 2026-11-02. The cross-layer guide covers route regeneration and generated-artifact ownership. The home route declares 3600-second revalidation and canonical /; generated rewrites can select another root experience. Tenant home forks were not visually recertified.
Last updated on