From 1c741000652d3632bb52855cf323e8c7e7dc1bd5 Mon Sep 17 00:00:00 2001 From: Me Here Date: Thu, 28 May 2026 09:31:39 -0500 Subject: [PATCH] Restructure (2a): shared chrome on every page; merge Open=Info into one page per form factor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Shared header/footer/chrome (src/header.html, src/footer.html, src/chrome.js) now on every page: editor (header above its app toolbar), player, teacher, stage, micro, showcase, embed. chrome.js defers to DOMContentLoaded so the footer version stamps regardless of placement. Player's fullscreen toggle relocated out of the header to a floating control. - Open = Info: each form-factor page is self-contained — a more-detailed description (.about) + an expandable "Spec & BOM" (
, hidden in embed). info-*.html retired; build/deploy/README updated. Next: teacher-style dimensioned front + top/side views + loading panels for Stage, Micro and Showcase. Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 17 ++++--- build.sh | 3 +- deploy.sh | 4 +- editor.html | 31 +++--------- embed.html | 30 ++--------- info-editor.html | 99 ------------------------------------- info-initial.html | 95 ----------------------------------- info-micro.html | 118 ------------------------------------------- info-showcase.html | 111 ----------------------------------------- info-stage.html | 121 --------------------------------------------- info-teacher.html | 121 --------------------------------------------- micro.html | 70 ++++++++++++++++---------- player.html | 58 ++++++++++------------ showcase.html | 41 +++++++++++++++ src/base.css | 10 ++++ src/chrome.js | 9 ++-- stage.html | 77 +++++++++++++++++++---------- teacher.html | 82 +++++++++++++++++++----------- 18 files changed, 256 insertions(+), 841 deletions(-) delete mode 100644 info-editor.html delete mode 100644 info-initial.html delete mode 100644 info-micro.html delete mode 100644 info-showcase.html delete mode 100644 info-stage.html delete mode 100644 info-teacher.html diff --git a/README.md b/README.md index 0eb5e4f..9db83f2 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,14 @@ State (set lists, the practice log, theme and UI preferences) lives in `localSto | `/teacher.html` | **PM‑1 Teacher** — studio / lesson console (colour TFT, arcade buttons, 1/4″ instrument pass‑through with analog click injection) | | `/stage.html` | **PM‑1 Stage** — foot‑pedal stompbox (two footswitches, expression‑pedal in, RGB beat light, instrument pass‑through) | | `/micro.html` | **PM‑µ Micro** — inline practice bar (instrument in / out pass‑through, clickable thumb‑roller, 14‑segment display) | -| `/showcase.html` | **PM‑S Showcase** — pyramid display piece with an RGB‑light pendulum + per‑lane subdivision/accent light rows | -| `/info-editor.html`, `/info-initial.html` | purpose pages (web app / concept — no BOM) | -| `/info-teacher.html`, `/info-stage.html`, `/info-micro.html`, `/info-showcase.html` | purpose **+ priced BOM** (buildable hardware only) | +| `/showcase.html` | **PM‑S Showcase** — pyramid display piece; the pendulum is an RGB light bar combining every lane's subdivisions/accents | | `/embed.html` · `/embed.js` | embed docs and the drop‑in loader | +Each form‑factor page is self‑contained ("Open" = "Info"): a more‑detailed description, +the live device with front + top/side dimensioned views and loading instructions, and an +expandable **Spec & BOM** (priced, for the buildable hardware). The buildable units are the +Teacher, Stage, Micro and Showcase; the Editor (web app) and Initial (concept) have no BOM. + Each page carries the same VARASYS header (logo + tagline, nav, theme toggle). The editor also shows a subtle live **program string** of what's loaded — editable, with copy/paste — under the app (press `Enter` or paste to apply; see [the share language](#the-share-language)). @@ -158,8 +161,9 @@ container and the loader script — it builds an `