themes-y2k/blocks/chrome_navbar.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

30 lines
800 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Chrome Navbar",
"description": "Beveled chrome navigation bar with hover sparkle and brand mark.",
"type": "object",
"properties": {
"menuName": {
"type": "string",
"title": "Menu",
"description": "Menu to render as the primary nav.",
"x-editor": "menu-select",
"default": "main"
},
"logoText": {
"type": "string",
"title": "Logo Text",
"description": "Brand wordmark (used when no logo image is set).",
"x-editor": "text",
"default": ""
},
"logoImage": {
"type": "string",
"title": "Logo Image",
"description": "Optional brand image. Overrides logo text when set.",
"x-editor": "media",
"default": ""
}
}
}