themes-y2k/blocks/metaball_hero.schema.json
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

45 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Metaball Hero",
"description": "Hero section with SVG metaballs on a gradient mesh canvas.",
"type": "object",
"properties": {
"headline": {
"type": "string",
"title": "Headline",
"description": "Display headline.",
"x-editor": "text",
"default": ""
},
"sub": {
"type": "string",
"title": "Sub-headline",
"description": "Supporting line under the headline.",
"x-editor": "text",
"default": ""
},
"ctaLabel": {
"type": "string",
"title": "CTA Label",
"description": "Call-to-action button text.",
"x-editor": "text",
"default": ""
},
"ctaHref": {
"type": "string",
"title": "CTA Link",
"description": "Where the CTA button points.",
"x-editor": "link",
"default": ""
},
"bgPreset": {
"type": "string",
"title": "Background Preset",
"description": "Which mesh anchor palette to use.",
"x-editor": "select",
"enum": ["magenta-teal", "after-hours", "bubblegum"],
"default": "magenta-teal"
}
}
}