themes-cyberpunk/blocks/blocks.yaml
Alex Dunmow 8ea1477d37 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:26:00 +08:00

49 lines
1.9 KiB
YAML

# Cyberpunk theme block definitions (codeless .bnp, WO-WZ-021).
# Keys are fully qualified (cyberpunk:<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: cyberpunk:hero_glitch
title: Glitch Hero
description: RGB-split H1, neon CTA, optional scanline overlay toggle.
category: layout
schema: hero_glitch.schema.json
template: hero_glitch.ninjatpl
- key: cyberpunk:cta_terminal
title: Terminal CTA
description: Faux $ prompt with blinking caret and copy button.
category: layout
schema: cta_terminal.schema.json
template: cta_terminal.ninjatpl
- key: cyberpunk:navbar_terminal
title: Terminal Navbar
description: Mono-spaced navbar with $ command prefix and optional status dot.
category: navigation
schema: navbar_terminal.schema.json
template: navbar_terminal.ninjatpl
- key: cyberpunk:footer_grid
title: Grid Footer
description: Mono columns, build-hash + uptime status pill.
category: navigation
schema: footer_grid.schema.json
template: footer_grid.ninjatpl
- key: cyberpunk:feature_card_neon
title: Neon Feature Card
description: Single feature card with per-card neon edge glow (magenta/cyan/lime).
category: layout
schema: feature_card_neon.schema.json
template: feature_card_neon.ninjatpl
- key: cyberpunk:stats_glow
title: Glow Stats
description: Big mono numerals with neon accent underline.
category: display
schema: stats_glow.schema.json
template: stats_glow.ninjatpl
- key: cyberpunk:code_neon
title: Code Block
description: Server-rendered code block with neon edge and optional copy button.
category: content
schema: code_neon.schema.json
template: code_neon.ninjatpl