Skip to content

Commit 5dbd208

Browse files
bloveclaude
andcommitted
chore(website): final-review polish for the trust and No-runtime bands
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent b000739 commit 5dbd208

5 files changed

Lines changed: 12 additions & 3 deletions

File tree

apps/website/src/components/landing/HomeFAQ.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { Section } from '../ui/Section';
33
import { Eyebrow } from '../ui/Eyebrow';
44
import { FAQ, type FAQItem } from '../ui/FAQ';
55

6-
// Five questions the page above does not answer (live-stage spec §3; the runtime one from spec 2026-09-11). Copy here
6+
// Five questions the page above does not answer (live-stage spec §3; the
7+
// runtime one from spec 2026-09-11). Copy here
78
// is scanned by lib/public-copy-contract.ts: absolute claims ("installation is
89
// inert") and retired routes (/docs/telemetry/**) are barred — a previous FAQ
910
// answer shipped both and only the production crawl caught it.

apps/website/src/components/landing/NoRuntimeBand.spec.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,10 @@ describe('NoRuntimeBand', () => {
9393
// marking stays on Fork us alone (spec §5 fallback).
9494
const { container } = render(<NoRuntimeBand />);
9595
expect(container.querySelector('.no-runtime-runway')).toBeNull();
96+
// Structurally, not by class name: the section holds the container and
97+
// nothing else, so no stripe can come back under another name.
98+
const section = container.querySelector('[data-ui="section"]');
99+
expect(section?.children).toHaveLength(1);
100+
expect(section?.firstElementChild?.getAttribute('data-ui')).toBe('container');
96101
});
97102
});

apps/website/src/styles/landing.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,9 @@
585585
* there. Nodes share a min-width so the two columns line up. */
586586
.no-runtime-figure {
587587
margin: 0;
588+
/* The hidden caption below is absolutely positioned; anchor it here so the
589+
recipe does not depend on the section being positioned. */
590+
position: relative;
588591
}
589592
.no-runtime-flows {
590593
display: grid;

docs/superpowers/plans/2026-09-11-homepage-trust-band-and-no-runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
**Goal:** Shrink the homepage's dark proof band to the five third-party Airworthiness rows, and add a bold "No runtime." band (copy left, two vertical flow diagrams right) between the architecture diagram and the Fork-us band, plus one FAQ entry.
66

7-
**Architecture:** Section 1 is a deletion: the two checklist columns and three self-reported rows leave `lib/preflight-checklist.ts`, `PreflightChecklist.tsx`, and `landing.css`, and the guards shrink with them. Section 2 is a new client-free server component `NoRuntimeBand.tsx` that reads every string from a new `NO_RUNTIME_BAND` object in `lib/positioning.ts`, draws the flows in plain HTML/CSS, and is pinned by a unit spec, the spine e2e, and a new measuring e2e. Section 3 adds one FAQ item.
7+
**Architecture:** Section 1 is a deletion: the two checklist columns and three self-reported rows leave `lib/preflight-checklist.ts`, `PreflightChecklist.tsx`, and `landing.css`, and the guards shrink with them. Section 2 is a new `NoRuntimeBand.tsx` (`'use client'` only for the tracked link, like `OpenSourceStrip.tsx`) that reads every string from a new `NO_RUNTIME_BAND` object in `lib/positioning.ts`, draws the flows in plain HTML/CSS, and is pinned by a unit spec, the spine e2e, and a new measuring e2e. Section 3 adds one FAQ item.
88

99
**Tech Stack:** Next.js app in `apps/website` (React server components, `'use client'` only where hooks are used), Vitest + Testing Library (jsdom), Playwright e2e, plain CSS in `apps/website/src/styles/landing.css`, Nx targets.
1010

docs/superpowers/specs/2026-09-11-homepage-trust-band-and-no-runtime-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The trust band shrinks, and a No-runtime band lands after the architecture diagram
22

33
**Date:** 2026-09-11
4-
**Status:** Approved in conversation, awaiting written review
4+
**Status:** Implemented on `blove/homepage-trust-no-runtime` (§2.2 figures and §3.1/§5 runway decision record what shipped)
55
**Branch:** `blove/homepage-trust-no-runtime`
66
**Supersedes:** the two-column checklist in `2026-09-08-preflight-checklist-design.md` §2 (the Airworthiness block survives; the Threadplane and Yours columns do not)
77

0 commit comments

Comments
 (0)