themes-coffee/blocks/blocks.yaml
Alex Dunmow 1a6cc30202 feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:30:42 +08:00

43 lines
1.7 KiB
YAML

# Coffee theme block definitions (codeless .bnp, WO-WZ-021).
# Keys are fully qualified (coffee:<key>) because the codeless loader registers
# definitions verbatim — there is no PluginBlockRegistry prefixing in the
# codeless path (unlike the wasm/templ path). The qualified keys match the
# hardcoded data-block attributes and the master_pages.json references.
blocks:
- key: coffee:menu_board
title: Menu Board
description: Kraft-paper menu with sections of items (espresso, filter, pastry, ...)
category: content
schema: menu_board.schema.json
template: menu_board.ninjatpl
- key: coffee:hours_strip
title: Hours Strip
description: Weekly hours strip listing each day's opening hours.
category: content
schema: hours_strip.schema.json
template: hours_strip.ninjatpl
- key: coffee:location_card
title: Location Card
description: Address card with optional static map image and doodled pin overlay.
category: content
schema: location_card.schema.json
template: location_card.ninjatpl
- key: coffee:featured_pour
title: Featured Pour
description: Hero card for a featured coffee, tea or pastry with tasting notes and price.
category: content
schema: featured_pour.schema.json
template: featured_pour.ninjatpl
- key: coffee:footer
title: Footer
description: Torn-edge footer with optional location summary and newsletter caption.
category: layout
schema: footer.schema.json
template: footer.ninjatpl
- key: coffee:doodle_divider
title: Doodle Divider
description: Hand-drawn divider in one of four motifs (beans, croissant, cup, leaf).
category: layout
schema: doodle_divider.schema.json
template: doodle_divider.ninjatpl