From 1015607f708fc50c5aea71f78d1bb4f72deaa8a7 Mon Sep 17 00:00:00 2001 From: Roberto Cano <3525807+robercano@users.noreply.github.com> Date: Thu, 23 Jul 2026 22:49:01 +0200 Subject: [PATCH] feat(website): bring the product row of the shared header to brand book spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #166 already added the shared thesolidchain.com statusbar (row 1) above the website's product topbar (row 2), sticky as one header. Row 2 itself didn't yet follow the brand book §08 pattern used by the other family sites: glyph, then the bold product name, then a short context blurb, ahead of any product nav. - Topbar: reorder to glyph-first (`^^`), add a short tagline sourced from the README/meta description ("declarative, idempotent, verifiable deploys"), drop the reDeploy-specific chevron mark SVG — the family brand mark already anchors the statusbar row directly above it, so a second logo in row 2 read as redundant. The site's own nav anchors (pipeline/studio/packages/github) are preserved, now following the brand-row strip. - content.ts: centralize the glyph/tagline as TOPBAR, matching how NAV_LINKS and FOOTER are already content-driven. - styles.css: drop the now-unused .mark rule, add .tagline (dim) and bold the .chev glyph to match the family's subbar glyph weight. - tests: new Topbar.test.tsx asserts the row order (glyph → name → tagline) and that nav anchors still resolve; content.test.ts covers the new TOPBAR export. Co-Authored-By: Claude Fable 5 --- apps/website/src/components/Topbar.tsx | 25 +++++++++++------------- apps/website/src/content.ts | 7 +++++++ apps/website/src/styles.css | 9 ++++++--- apps/website/test/Topbar.test.tsx | 27 ++++++++++++++++++++++++++ apps/website/test/content.test.ts | 7 +++++++ 5 files changed, 58 insertions(+), 17 deletions(-) create mode 100644 apps/website/test/Topbar.test.tsx diff --git a/apps/website/src/components/Topbar.tsx b/apps/website/src/components/Topbar.tsx index bc65eae..1f02d9c 100644 --- a/apps/website/src/components/Topbar.tsx +++ b/apps/website/src/components/Topbar.tsx @@ -1,23 +1,20 @@ -import { NAV_LINKS } from "../content.js"; +import { NAV_LINKS, TOPBAR } from "../content.js"; +// Product row of the shared sticky header (brand book §08): glyph, then the bold product +// name and a short context line, ahead of the site's own nav anchors. The reDeploy-specific +// chevron mark previously rendered here was dropped — the family brand mark already anchors +// the statusbar row above it, and duplicating a logo across both rows of the same sticky +// header read as redundant. See the PR description for the full rationale. export default function Topbar() { return (
- + reDeploy - {" "} - ^^ + + — {TOPBAR.tagline}