# Changelog ## 2026-08-12 — CMS rebuild Rebuilt the site's content management around a single admin route (`/admin` — "BlackDice Studio"), replacing `blackdice-studio.html`. ### Added - **`/admin`** — password-gated CMS with a live preview of the real site: click-to-edit copy and images, animated-stat editing, full article CRUD with a Word/Outlook-safe rich-text editor, demo-clip management, per-page SEO, enquiry-form log with CSV export, and publish history with one-click rollback. - **`server/index.mjs`** — dependency-free Node API: auth, content publish, uploads, snapshots, leads, and a live `/sitemap.xml`. - **Real per-page URLs** for all 12 pages and every article (`/mobile-sdk`, `/blog/`, …), each with its own title, meta description, canonical/OG tags and JSON-LD, working browser back/forward, and HubSpot virtual pageviews. - **Newsroom + article pages** driven by the CMS post library — the same 17 articles imported from the old studio's export, plus a drafted press release announcing the GSMA Open Gateway channel partnership (awaiting approved quotes and dates before publishing). - **Demo sections** on Mobile SDK (scam call, scam SMS, SIM swap, per-device DNS, permissions checking — interactive by default, upgradable to an uploaded clip per slot with no code change) and Halo CPE (Retina + Angel walkthrough slots). - **`data-cms` / `data-cms-img` / `data-cms-num`** hooks injected into the page markup by `scripts/inject-cms-ids.mjs` (idempotent, 652 fields) — this is what makes every piece of copy independently editable. - **`scripts/seed-content.mjs`** — imports a `blackdice-studio.json` draft, extracting and downscaling base64 hero images and sanitising Word-pasted body HTML. - Enquiry forms across the site (Talk to us / Book a demonstration / mailto links) now record submissions server-side in addition to opening the visitor's mail client, addressed to a CMS-configurable recipient. - Deployment configs for Node/nginx/IIS, Vercel and Netlify. - `docs/ARCHITECTURE.md`, `docs/PROJECT-STRUCTURE.md`, `docs/CMS-GUIDE.md`, `docs/DEPLOYMENT.md`. ### Fixed - **Publishing could wipe hand-made site changes.** The old tool exported whole HTML files on every save, discarding any manual edits to links, forms or SEO tags made outside it. Content is now a separate JSON document that never touches the markup — see `docs/ARCHITECTURE.md` §2. - Articles, product pages and the CMS itself previously had no independent URLs, so they couldn't be shared, bookmarked, or indexed separately by Google. ### Changed - `src/main.tsx` now defines one real route per page instead of a single catch-all rendering the whole site. - `src/site/siteController.js`'s `go()` now pushes real history entries via a navigator injected by the router, instead of only toggling page visibility.