From 38178746fbe38cb2daa308de1cc54bc4ecdf0f25 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Fri, 20 Nov 2026 03:18:23 +0800 Subject: [PATCH] fix: render whole sections for factory-compiled sites (0.4.3) Co-Authored-By: Claude Opus 5.5 --- ...0002-compiled-sites-second-render-review.md | 18 ++++++++++++++++++ plugin.mod | 2 +- templates/overrides/scifi-clean/hero.ninjatpl | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0002-compiled-sites-second-render-review.md diff --git a/docs/adr/0002-compiled-sites-second-render-review.md b/docs/adr/0002-compiled-sites-second-render-review.md new file mode 100644 index 0000000..7357cf2 --- /dev/null +++ b/docs/adr/0002-compiled-sites-second-render-review.md @@ -0,0 +1,18 @@ +# Second render review of compiled sites on scifi-clean + +Decided 2026-11-20 for scifi-clean 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 + +- The split hero section is no longer itself a two-column grid. With one child it squeezed the hero into the left half; the inner grid now splits text and image at 1024 pixels when there is an image. + +## Consequences + +- scifi-clean 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: scifi-clean, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review diff --git a/plugin.mod b/plugin.mod index 5b7c054..487c149 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "scifi-clean" display_name = "Sci-Fi Clean" scope = "@themes" -version = "0.4.2" +version = "0.4.3" description = "Minimalist futurist theme for aerospace, robotics, and R&D — off-white surfaces, technical blue, signal-orange accents, mono numerals." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/scifi-clean/hero.ninjatpl b/templates/overrides/scifi-clean/hero.ninjatpl index aa2c05d..80ebc55 100644 --- a/templates/overrides/scifi-clean/hero.ninjatpl +++ b/templates/overrides/scifi-clean/hero.ninjatpl @@ -20,7 +20,7 @@ {% if trustLogos %}

Trusted by

{% for logo in trustLogos %}{% if logo.url %}{% img logo.image alt=logo.alt class="sc-logo" %}{% else %}{% img logo.image alt=logo.alt class="sc-logo" %}{% endif %}{% endfor %}
{% endif %} {% endmacro %} {% if variant == "split" %} -
{{ herobody() }}
{% if backgroundImage %}
{% img backgroundImage alt=headlineText class="sc-hero-media" %}
{% endif %}
+
{{ herobody() }}
{% if backgroundImage %}
{% img backgroundImage alt=headlineText class="sc-hero-media" %}
{% endif %}
{% else %}
{{ herobody() }}
{% endif %}