themes-y2k/blocks/blocks.yaml
Alex Dunmow a86a54639a feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Convert the Y2K theme from a Go+templ wasm plugin to a fully codeless .bnp:
blocks/blocks.yaml + .ninjatpl, page/system templates, template overrides,
email wrapper, master pages and CSS declared in manifest.yaml. All *.go, *.templ,
*_templ.go, go.mod and go.sum deleted; schemas moved schemas/ -> blocks/.

Static parity proven 48/48 identical against the templ baseline (10 blocks x
full+empty+variant branches, 4 overrides incl. heading L1-6, email full+empty).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:10:52 +08:00

67 lines
2.5 KiB
YAML

# Y2K theme block definitions (codeless .bnp, WO-WZ-021).
# Keys are fully qualified (y2k:<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-key attributes and the master_pages.json references.
blocks:
- key: y2k:chrome_navbar
title: Chrome Navbar
description: Beveled chrome navigation bar with hover sparkle.
category: navigation
schema: chrome_navbar.schema.json
template: chrome_navbar.ninjatpl
- key: y2k:metaball_hero
title: Metaball Hero
description: SVG metaballs on a gradient mesh canvas with headline + CTA.
category: layout
schema: metaball_hero.schema.json
template: metaball_hero.ninjatpl
- key: y2k:waveform_player
title: Waveform Player
description: Soundcloud-style audio player with a canvas waveform.
category: content
schema: waveform_player.schema.json
template: waveform_player.ninjatpl
- key: y2k:marquee
title: Marquee Ticker
description: Scrolling text marquee with chrome edges; pauses on hover.
category: layout
schema: marquee.schema.json
template: marquee.ninjatpl
- key: y2k:tracklist
title: Tracklist
description: Tabular tracklist styled like a CD jewel case insert.
category: content
schema: tracklist.schema.json
template: tracklist.ninjatpl
- key: y2k:merch_card
title: Merch Card
description: Plastic-bevel product card with a corner sticker badge.
category: content
schema: merch_card.schema.json
template: merch_card.ninjatpl
- key: y2k:webring_badge
title: Webring Badge
description: Canonical 88x31 webring button row with prev/next/ring links.
category: navigation
schema: webring_badge.schema.json
template: webring_badge.ninjatpl
- key: y2k:glitter_divider
title: Glitter Divider
description: Animated sparkle horizontal rule.
category: layout
schema: glitter_divider.schema.json
template: glitter_divider.ninjatpl
- key: y2k:footer_chrome
title: Chrome Footer
description: Beveled chrome footer strip with optional webring and copyright.
category: layout
schema: footer_chrome.schema.json
template: footer_chrome.ninjatpl
- key: y2k:nft_gallery
title: NFT Gallery
description: Holographic-foil hover gallery for NFT items (presentational only).
category: content
schema: nft_gallery.schema.json
template: nft_gallery.ninjatpl