Understand the global layout (header, footer, theme) for the ecommerce boilerplate so you can adjust UI without touching core logic.
Scope: UI-only changes. Do not alter routing, data flow, or add/remove layout modules.
app/layout.tsx wraps all pages with ApolloWrapper and ClientLayout.app/_components/ClientLayout.tsx / ClientLayout.client.tsx orchestrates header, footer, and page container.app/_components/Header.tsx and Footer.tsx (plus .client variants) render navigation, branding, and site chrome.app/globals.css and Tailwind tokens from the shared config drive base styling.Theme tokens and branding values come from data/configs.json:
appearance.baseFont, appearance.headingFontappearance.baseColor, appearance.backgroundColor, plus theme mode (theme: "light" | "dark")meta.title, meta.description, meta.favicon, meta.logomenus.main, menus.footerMenuadditional.social, additional.copyright, additional.integrationsKeep these contracts intact; adjust UI by consuming the existing values.
menus.main)Header/Footer components (or their client variants) to adjust layout, spacing, and visuals.yarn dev and verify header/footer across key pages (home, products, checkout, auth, profile).yarn lint before opening a PR.Template Structure
Understand how the ecommerce boilerplate under `web-builder/apps/templates/ecommerce-boilerplate` is organized so you can update UIs without touching core plumbing.
Template Sections
Update the UIs of existing sections while keeping the ecommerce boilerplate composable and data-aware.