Background
Need a Card component schema so editors can create card-style content blocks (image, title, description, optional link) for use in grids or lists on the web.
Expected outcome
- A Card component exists with attributes such as image, title, description, optional link/CTA, and any variant (e.g. default, featured).
Acceptance criteria
Possible solution(s)
- Add
components/shared/card.json or sections/card.json with title, description (text), media (file or relation), link (optional), variant (optional enum).
- Reuse for card grids by placing Card in a repeatable container or section.
References
Background
Need a Card component schema so editors can create card-style content blocks (image, title, description, optional link) for use in grids or lists on the web.
Expected outcome
Acceptance criteria
Possible solution(s)
components/shared/card.jsonorsections/card.jsonwithtitle,description(text),media(file or relation),link(optional),variant(optional enum).References
apps/cms/src/components/apps/cms/schema.graphqlParent: epic(cms): Experience schema for Easter-style watch page #175 Epic A (CMS)
Related (web implementation): feat(web): add Card component #161