Recipe
Compose a Landing Page
Use a Page Composition Guide to create a route, add page data, choose the landing template, and compose Hero, Feature Grid, Statistics, Image, and CTA patterns.
- Open the relevant Page Composition Guide.
- Create a thin route controller.
- Add data/pages/example.php.
- Set template to landing.
- Add sections using hero, feature-grid, statistics, images, and cta-banner.
Recipe
Add a New Page
Use the PHP-only page data architecture so the route file remains minimal and future-MySQL-ready.
- Copy a thin route controller.
- Create a matching data/pages file.
- Assign nav_key, title, template, and sections.
- Add navigation only when the page should appear publicly.
Recipe
Add a New Component
Create the PHP partial, add component metadata, document tokens/classes, and add a library route if it should be public.
- Create components/family/name.php.
- Add data/components metadata.
- Add component library gallery route.
- Run verification dashboard checks.