fix: render whole sections for factory-compiled sites (0.4.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4608cd3acf
commit
26b0b6e2fd
18
docs/adr/0002-compiled-sites-second-render-review.md
Normal file
18
docs/adr/0002-compiled-sites-second-render-review.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Second render review of compiled sites on noir
|
||||||
|
|
||||||
|
Decided 2026-11-20 for noir 0.4.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADR 0001 shipped.
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
- Full-width pages use the default master. The case master placed the navbar in the landing template's `hero` slot, which the full-width template does not render, so every full-width page had no header.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- noir 0.4.3 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||||
|
- No schema field changes. A site that sets the old values renders as before wherever it has an image.
|
||||||
|
|
||||||
|
Keywords: noir, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||||
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"key": "noir:default-master",
|
"key": "noir:default-master",
|
||||||
"title": "Noir Default Master",
|
"title": "Noir Default Master",
|
||||||
"page_templates": ["default", "article", "blog-index", "contact"],
|
"page_templates": ["default", "full-width", "article", "blog-index", "contact"],
|
||||||
"blocks": [
|
"blocks": [
|
||||||
{ "block_key": "navbar", "title": "Case-File Masthead", "content": { "menuName": "main", "logoType": "text", "logoText": { "text": "The Cold File" } }, "slot": "header", "sort_order": 0 },
|
{ "block_key": "navbar", "title": "Case-File Masthead", "content": { "menuName": "main", "logoType": "text", "logoText": { "text": "The Cold File" } }, "slot": "header", "sort_order": 0 },
|
||||||
{ "block_key": "divider", "title": "Header Rule", "content": { "variant": "line", "weight": "thin", "width": "full" }, "slot": "header", "sort_order": 1 },
|
{ "block_key": "divider", "title": "Header Rule", "content": { "variant": "line", "weight": "thin", "width": "full" }, "slot": "header", "sort_order": 1 },
|
||||||
@ -13,7 +13,7 @@
|
|||||||
{
|
{
|
||||||
"key": "noir:case-master",
|
"key": "noir:case-master",
|
||||||
"title": "Noir Case Master",
|
"title": "Noir Case Master",
|
||||||
"page_templates": ["landing", "full-width"],
|
"page_templates": ["landing"],
|
||||||
"blocks": [
|
"blocks": [
|
||||||
{ "block_key": "navbar", "title": "Case-File Masthead", "content": { "menuName": "main", "logoType": "text", "logoText": { "text": "The Cold File" }, "variant": "transparent-over-hero" }, "slot": "hero", "sort_order": 0 },
|
{ "block_key": "navbar", "title": "Case-File Masthead", "content": { "menuName": "main", "logoType": "text", "logoText": { "text": "The Cold File" }, "variant": "transparent-over-hero" }, "slot": "hero", "sort_order": 0 },
|
||||||
{ "block_key": "slot", "title": "Hero Content", "content": { "slotName": "hero", "placeholder": "Hero" }, "slot": "hero", "sort_order": 1 },
|
{ "block_key": "slot", "title": "Hero Content", "content": { "slotName": "hero", "placeholder": "Hero" }, "slot": "hero", "sort_order": 1 },
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "noir"
|
name = "noir"
|
||||||
display_name = "Noir"
|
display_name = "Noir"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.4.2"
|
version = "0.4.3"
|
||||||
description = "Detective and true-crime dossier theme: case-file cards, typewriter type, redaction bars, evidence board and film grain. High-key gallery by day, darkroom black by night."
|
description = "Detective and true-crime dossier theme: case-file cards, typewriter type, redaction bars, evidence board and film grain. High-key gallery by day, darkroom black by night."
|
||||||
kind = "theme"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user