themes-art-deco/blocks/blocks.yaml
Alex Dunmow 03c49a9a83 feat(art-deco): Wave A supper-club theme — 49 overrides, 7 templates, seed
WO-TF-011: dress the fine-dining / supper-club persona (gilded symmetry,
ziggurat frames, sunbursts, hairline gold rules; champagne/ivory light,
gold-on-lacquer dark) against the frozen Wave-0 builtin schemas.

Overrides (templates/overrides/art-deco/): all 49 mandatory builtin keys,
each re-skinned from the builtin default with every content field, provider
field, custom tag ({% img %}/{% button %}/{% form %}/{% signup_form %}/
{% auth_form %} wiring) and JS (navbar drawer, gallery lightbox, countdown,
stats count-up, video/audio facade, announcement dismiss) preserved verbatim.
Auth trio reproduces the untouchable /api/auth/* endpoints and field names;
captcha widget injected from _captcha_widget. manifest.yaml declares all 49.

Page templates: added blog-index, contact, auth (now 7 total) in Deco chrome.

Blocks rework (spec D5): footer/hero(marquee)/gallery/divider/pull-quote theme
blocks deleted — folded into overrides of the builtin keys. Kept persona
furniture reservation + menu; added private_dining + chef_signature (4 blocks).

Presets: 4 dual-mode (mode "both"), all 19 tokens, light AND dark tuned.
Fonts: bundle Cinzel + Cormorant Garamond (OFL) as Latin woff2 subsets in
assets/fonts/ (license recorded in OFL.txt); all font-family via var().
Email wrapper themed. required_icon_packs=["lucide"] + RECOMMENDED_ICONS.md.

Seed (demo): home/about/blog(3 posts)/contact/login pages in supper-club voice;
contact-form targets seeded contact_submissions data table; row_inserted
workflow emails admins.

Verified: ninja plugin build (codeless), verify, archive-check, and
check-safety all exit 0. Visual quality UNVERIFIED until Wave B.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 10:51:02 +08:00

33 lines
1.4 KiB
YAML

# Art Deco theme block definitions (codeless .bnp, WO-WZ-021 / WO-TF-011).
# Only TRUE persona furniture remains as theme blocks. Everything that
# duplicated a builtin (footer, hero/marquee, gallery, divider, pull-quote)
# is now a template OVERRIDE of the builtin key (templates/overrides/art-deco/).
# Keys are fully qualified (art-deco:<key>) — the codeless loader registers
# definitions verbatim; the qualified keys match the data-block attributes,
# master_pages.json and seed references.
blocks:
- key: art-deco:reservation
title: Reservation Strip
description: Sticky gold-on-black reservation strip with phone, OpenTable CTA and trading hours.
category: navigation
schema: reservation.schema.json
template: reservation.ninjatpl
- key: art-deco:menu
title: Tasting Menu
description: Symmetric menu card listing courses with tasting note and price.
category: content
schema: menu.schema.json
template: menu.ninjatpl
- key: art-deco:private_dining
title: Private Dining
description: Private dining room showcase — framed image with room details and an enquiry CTA.
category: content
schema: private_dining.schema.json
template: private_dining.ninjatpl
- key: art-deco:chef_signature
title: Chef's Signature
description: Centred signature-dish feature with a chef's note between sunburst crests.
category: content
schema: chef_signature.schema.json
template: chef_signature.ninjatpl