fix: render whole sections for factory-compiled sites (0.7.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5878766bc0
commit
b7f3f678cb
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 brutalist
|
||||||
|
|
||||||
|
Decided 2026-11-20 for brutalist 0.7.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
|
||||||
|
|
||||||
|
- The hero scrim from ADR 0001 is drawn with an inline style, because the Tailwind classes it used are not in the generated stylesheet and no scrim rendered.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- brutalist 0.7.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: brutalist, 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 @@
|
|||||||
name = "brutalist"
|
name = "brutalist"
|
||||||
display_name = "Brutalist"
|
display_name = "Brutalist"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.7.2"
|
version = "0.7.3"
|
||||||
description = "Concrete, oversized type, hard 12-col grid theme for design studios, architecture firms and art galleries."
|
description = "Concrete, oversized type, hard 12-col grid theme for design studios, architecture firms and art galleries."
|
||||||
kind = "theme"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
{% set variant = template|default:"centered" %}
|
{% set variant = template|default:"centered" %}
|
||||||
{% set hasImage = backgroundImage %}
|
{% set hasImage = backgroundImage %}
|
||||||
<section class="brutalist-hero relative overflow-hidden bg-background text-foreground{% if class %} {{ class }}{% endif %}" data-has-media="{% if hasImage %}true{% else %}false{% endif %}">
|
<section class="brutalist-hero relative overflow-hidden bg-background text-foreground{% if class %} {{ class }}{% endif %}" data-has-media="{% if hasImage %}true{% else %}false{% endif %}">
|
||||||
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}<div class="absolute inset-0 {% if overlayColor == "light" %}bg-background/75{% elif overlayColor == "primary" %}bg-primary/50{% else %}bg-black/60{% endif %}"></div></div>{% endif %}
|
{% if hasImage %}<div class="absolute inset-0 z-0">{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}<div class="absolute inset-0" style="background: {% if overlayColor == "light" %}hsl(var(--background) / 0.75){% elif overlayColor == "primary" %}hsl(var(--primary) / 0.5){% else %}rgb(0 0 0 / 0.6){% endif %};"></div></div>{% endif %}
|
||||||
<div class="bru-wrap relative z-10 {% if variant == "centered" %}text-center{% endif %}">
|
<div class="bru-wrap relative z-10 {% if variant == "centered" %}text-center{% endif %}">
|
||||||
<div style="max-width:70rem;{% if variant == "centered" %}margin:0 auto{% endif %}">
|
<div style="max-width:70rem;{% if variant == "centered" %}margin:0 auto{% endif %}">
|
||||||
{% if eyebrowText %}<span class="bru-tag mb-6">{{ eyebrowText }}</span>{% endif %}
|
{% if eyebrowText %}<span class="bru-tag mb-6">{{ eyebrowText }}</span>{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user