Skip to content

feat(cms): add schema for Card component #151

@Kneesal

Description

@Kneesal

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

  • Card component JSON schema added in CMS.
  • Attributes support at least title, description, optional media and link.
  • Component registered and available in sections/containers; GraphQL regenerated if contracts change.

Possible solution(s)

  1. Add components/shared/card.json or sections/card.json with title, description (text), media (file or relation), link (optional), variant (optional enum).
  2. Reuse for card grids by placing Card in a repeatable container or section.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions