Background
CTA (call-to-action) blocks need a clear schema so editors can configure buttons/links and optional copy. An existing sections/cta.json may need to be formalized or extended.
Expected outcome
- CTA component has a defined schema: at least label, link (or URL), optional heading/description, and any variant (e.g. primary/secondary) for the web app.
Acceptance criteria
Possible solution(s)
- Review
sections/cta.json; add missing fields (e.g. variant, description) and ensure link structure matches web.
- If CTA is used inside other components, ensure it is registered as a nested component where needed.
References
Background
CTA (call-to-action) blocks need a clear schema so editors can configure buttons/links and optional copy. An existing
sections/cta.jsonmay need to be formalized or extended.Expected outcome
Acceptance criteria
apps/cms/src/components/sections/cta.json).Possible solution(s)
sections/cta.json; add missing fields (e.g.variant,description) and ensure link structure matches web.References
apps/cms/src/components/sections/cta.jsonapps/cms/schema.graphqlParent: epic(cms): Experience schema for Easter-style watch page #175 Epic A (CMS)
Related (web implementation): feat(web): add or align CTA component #158