Skip to content

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

Closed

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.

Activity

  1. added
    enhancement
    help wanted
    on Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions