Show app version in lobby footer; expose version via /api/config

- Server reads version from package.json and returns it from /api/config
- Client fetches it at boot and renders it in a lobby footer
- Bump service-worker cache to shelem-v3 so precache refreshes

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
goyban
2026-07-05 19:46:13 +00:00
parent 3c26eb4ba5
commit cb664e4505
6 changed files with 24 additions and 3 deletions
+9
View File
@@ -1033,6 +1033,15 @@ input:focus { border-color: var(--gold); }
.lb-table td { border-bottom: 1px solid rgba(255,255,255,.05); }
.lb-table tr:hover td { background: rgba(255,255,255,.04); }
/* ── App version footer ───── */
.app-version {
text-align: center;
margin-top: 14px;
font-size: .72rem;
color: rgba(255,255,255,.35);
letter-spacing: .5px;
}
/* ── Round-by-round breakdown ───── */
.round-breakdown-wrap { margin: 6px 0 2px; }
.rb-scroll { max-height: 42vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }