Skip to content

component: add post-hero shadcn-native component #124

Description

@Ducksss

Context

post-hero is listed in src/lib/site.ts as an upcoming post component. It is the post header surface: title, summary, date, category, author, and optional image.

This should be shadcn-native/file-only. It should not patch Pages or RenderBlocks.

Scope

Add post-hero as an installable post component.

Suggested props/content shape

  • title
  • description or excerpt
  • publishedAt
  • categories
  • author
  • optional image
  • optional backHref only if it stays simple

Acceptance

  • Registry item exists for post-hero and installs files under consumer ~/src/... paths.
  • No Payload page-block fragments are added.
  • Docs describe this as a post surface, not a page block.
  • Catalog metadata moves post-hero from upcoming to installable only after the install path works.
  • Tests prove registry build/check and direct shadcn delivery for the component.

Out of scope

  • Table of contents.
  • Share buttons.
  • Related posts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions