Skip to content

feat(cms): add schema for VideoHero component #142

@Kneesal

Description

@Kneesal

Background

Need a Strapi section/component schema for VideoHero so editors can configure hero sections with video content in the CMS.

Expected outcome

  • A VideoHero component exists under apps/cms/src/components (or appropriate category).
  • Schema supports video asset, optional heading/copy, and any layout/display options needed for the web app to render the hero.

Acceptance criteria

  • VideoHero component JSON schema added in CMS.
  • Component registered and available in appropriate content types.
  • GraphQL schema regenerated if contracts change.

Possible solution(s)

  1. Add components/sections/video-hero.json (or shared/video-hero) with attributes: media (file or relation), heading, subheading, cta (optional).
  2. Reuse existing media component if VideoHero is only a layout variant of a hero that already exists.

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