refactor(ui): delete legacy static website and refresh documentation

This commit is contained in:
2026-10-06 17:23:20 -03:00
parent f91001169c
commit 179f5ac7db
39 changed files with 102 additions and 16723 deletions
+4 -5
View File
@@ -4320,8 +4320,7 @@ html[data-theme="white"] .markdown-content a {
/* ─── Webcam preview (camera tool) — CURRENTLY HIDDEN BY DEFAULT ─────────────
* Floating self-view, bottom-left. Mirrored for the user; the frame sent to
* the model is drawn un-mirrored. Markup is retained for future reactivation.
* To enable it, remove hidden from cam-pip in index.html and restore the main.js listener. */
* the model is drawn un-mirrored. Camera controls are omitted from the React view. */
.cam-pip {
position: fixed;
left: 20px;
@@ -4577,12 +4576,12 @@ html[data-theme="white"] .markdown-content a {
light mobile S2S_THEME="white")
═══════════════════════════════════════════════════════════════════════ */
/* Anti-FOUC veil: until fetchConfig() resolves, <html> does not carry any
/* Anti-FOUC veil: until configuration resolves, <html> does not carry any
`data-theme` attribute yet. Keep every parallel UI block tagged with
`data-theme-only` INVISIBLE in that window so the user never sees the
purple orb flash-and-disappear on `S2S_THEME=white` deploys, nor the
light-blue mic flash on dark deploys.
As soon as fetchConfig runs (main.js fetchConfig → root.setAttribute)
Once App.tsx applies the resolved theme,
the html tag receives either data-theme="dark" or data-theme="white"
→ this guard stops applying → the correctly gated branch paints. */
html:not([data-theme]) [data-theme-only] {
@@ -4650,7 +4649,7 @@ html[data-theme="white"] .bubble-stack {
Light mobile "Vocero app" theme matching the provided screenshot:
pure white background, deep blue accents, card-based UI, avatar+timestamp
per chat bubble, rounded input with clip+send.
Activated on <html data-theme="white"> (main.js sets the attr from
Activated on <html data-theme="white"> (App.tsx sets the attribute from
/api/config response). All selectors below are scoped to that attribute
so the native dark theme is 100% preserved when the flag is off.
═══════════════════════════════════════════════════════════════════════ */