Skip to content

schema-apps: type-specific layouts for Recipe & Review - #33

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
type-specific-layouts
Jun 9, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
type-specific-layouts

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

By Charlie 🤖. Per-type bespoke layouts — cards now look TYPE-SPECIFIC instead of all generic label/value rows.

Recipe

  • Stats strip: prep time, cook time, yield shown as accent-tinted chips with vertical separators
  • Ingredients checklist: each item has a clickable checkbox (toggles checked state with strikethrough)
  • Instructions: numbered step list with accent-colored circle markers and left border line

Review

  • Large prominent rating: big star display (1.6rem) near the top with numeric score
  • Blockquote body: review text in an italic blockquote with accent left border and subtle background
  • Author byline: "— Author Name" citation below the quote

Fallback

  • All other types use the generic row layout unchanged
  • Person/Organization still gets avatar, media types still get hero banner
  • Inline editing, edit form, JSON-LD source all still work

Dark mode + mobile responsive included. Gate passes (13 apps valid).

@melvincarvalho
melvincarvalho enabled auto-merge (squash) June 9, 2026 12:02
@melvincarvalho
melvincarvalho merged commit fc412a4 into gh-pages Jun 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant