Background
The CMS will expose Container blocks with side-by-side items (see feat(cms) schema issue). The web app needs a Container component that renders these items in a configurable side-by-side (or multi-column) layout.
Expected outcome
- A Container component in
apps/web that accepts container block data (items, optional layout/ratio) and renders children side by side with correct responsive behavior.
Acceptance criteria
Possible solution(s)
- Add
apps/web/src/components/sections/Container.tsx; map items to child component by type (text, image, etc.) and apply layout via CSS grid/flex.
- Use existing layout primitives; keep one component per schema component for clear ownership.
References
Background
The CMS will expose Container blocks with side-by-side items (see feat(cms) schema issue). The web app needs a Container component that renders these items in a configurable side-by-side (or multi-column) layout.
Expected outcome
apps/webthat accepts container block data (items, optional layout/ratio) and renders children side by side with correct responsive behavior.Acceptance criteria
Possible solution(s)
apps/web/src/components/sections/Container.tsx; mapitemsto child component by type (text, image, etc.) and apply layout via CSS grid/flex.References
Resolves/Implements schema: feat(cms): add schema for Container component (side-by-side items) #143 (feat(cms): add schema for Container component)
apps/webcomponent structureParent: epic(web): Web section components for Experience-driven Easter watch page #176 Epic B (Web)
Related (CMS schema): feat(cms): add schema for Container component (side-by-side items) #143