From c7d8f89c33323995c3f32a673b3c6116cb1e9967 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 28 Aug 2026 20:15:13 -0700 Subject: The logo wears its beta sticker — purple, tilted like staging's orange one, present from the static boot shell's very first paint so it never pops in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi --- build.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'build.js') diff --git a/build.js b/build.js index 94552fa..72ea98b9 100644 --- a/build.js +++ b/build.js @@ -332,8 +332,11 @@ async function brandSvg() { // before any JS parses — no blank page, no flash. It mirrors the DOM the // app's own first render produces (brand row; plus the profile shell when // the path deep-links a profile), so the morph replaces it invisibly. -function bootShell(logo) { - return `
`; +function bootShell(logo, staging) { + const badge = staging + ? 'staging' + : 'beta'; + return `
${badge}
`; } const BOOT_SHELL_SCRIPT = ``; @@ -350,7 +353,7 @@ async function pageHtml({ css, staging, pwa, scriptHtml }) { ${pwa ? PWA_HEAD : ''} -
${bootShell(await brandSvg())}
+
${bootShell(await brandSvg(), staging)}
${BOOT_SHELL_SCRIPT} ${scriptHtml} ${pwa ? SW_REGISTER + '\n' : ''} -- cgit v1.2.3