Skip to content

feat(cms): add schema for Section component (background, blur hash, children) #145

@Kneesal

Description

@Kneesal

Background

Need a Section wrapper component that controls background color and blur hash for a region and takes items as children, so editors can define distinct sections with consistent styling and optional placeholder imagery.

Expected outcome

  • A Section component exists with attributes: background color (or theme), blur hash (for image placeholder), and repeatable/dynamic children (items).

Acceptance criteria

  • Section component JSON schema added in CMS.
  • Attributes include background color (or enum) and blur hash (string).
  • Component accepts items or children as repeatable components.
  • Component registered and available; GraphQL regenerated if contracts change.

Possible solution(s)

  1. Add components/sections/section.json with backgroundColor, blurHash (string), items (component, repeatable).
  2. Optional: backgroundImage relation plus blurHash for placeholder while loading.

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