- Homepage hero CTA now reads "ROI Calculator" and links straight to
/roi-calculator; dropped the second "Explore platform" button.
- Tightened nav link/dropdown/CTA padding; fixed .bd-hero padding on
mobile (was inheriting 90px from desktop, now 15px).
- ROI calculator page hero: added a live-badge next to the eyebrow
(matching the homepage's "NETWORK INTELLIGENCE LIVE" styling) and
renamed it from "FOR OPERATORS" to "ROI CALCULATOR"; tidied the hero
subcopy punctuation.
- Cleared the dead wp-content hero image on the South-east Asia blog
post (the old WordPress asset no longer exists) so it degrades
gracefully instead of showing a broken image icon.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires a new /roi-calculator route into nav, routing, sitemap and SEO
metadata, and enlarges the Mobile SDK explorer's tab tiles and phone
stage for better readability.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replace the tab/scrubber UI with a module tile grid, drop the leaked
real phone number from the call-scam demo script, and simplify nav
scroll background handling.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Restores and rewrites content on Home, Mobile SDK, DNS Protect, Halo CPE,
For Operators, Financial Services, Why BlackDice, Investors and Contact to
match the approved source copy, removing stray dashes site-wide in favour
of plain punctuation. Removes an unreachable duplicate Contact page block
that left a stray unclosed <div> in the markup. Shrinks and repads the
Guardian Mobile SDK explorer widget so it fits without excess scrolling.
Also includes in-progress nav, blog seed and demo scenario tweaks.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
F-03: the legacy markup's 77 onclick="" attributes were the reason script-src
still needed 'unsafe-inline', which let injected inline script/handlers run
right past the policy. Migrated them to data-page/data-action markers handled
by a single delegated click listener in siteController.js, dropped
'unsafe-inline' from script-src, and switched both server/index.mjs and
vercel.json from Content-Security-Policy-Report-Only to enforcing. style-src
keeps 'unsafe-inline' — that governs inline style="" attributes used
throughout, a separate CSS-injection concern out of scope here.
Verified against the built site with a real headless-Chromium run: nav,
company dropdown, mobile menu, the demo modal (open/close/overlay-click/
inner-click), the modal's contact-page link, and the scroll-hint all still
work, with zero console errors.
F-10: confirmed via npm audit fix --dry-run that no non-breaking update
remains (vite and react-router-dom both need a major bump, left deferred).
Added npm audit to CI — full report for visibility, gated on critical only
so it doesn't block on the already-tracked moderate/high advisories.
F-11: uploaded PDFs now serve with Content-Disposition: attachment instead
of rendering inline from the site's own origin.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Server: refuse to start in production with the default admin password,
drop SVG from the upload allow-list (stored-XSS risk), add baseline
security headers, make the login rate limiter proxy-aware via TRUST_PROXY,
and auto-load .env.local/.env in dev.
Admin: sanitise post bodies on content import/snapshot restore (previously
bypassed sanitiseBody), confirm before discarding a draft, drop back to the
login screen on a mid-session 401 instead of a stuck error, add hero-image
alt text and a title/excerpt search to the articles panel.
Site: replace the soft-404-to-homepage fallback with a real noindex 404
page, add a focus trap/Escape handling/aria-modal to the enquiry modal,
aria-expanded on the mobile nav toggle, ItemList/breadcrumb structured data
for the newsroom and articles, and wire sitemap generation into the build
so it can't go stale. Extract the duplicated NewsGrid/ArticlePage card
markup into a shared PostCard component.
Content: 13 of 18 seed articles shipped with no hero image (one pointed at
a dead WordPress URL); the live blackdice.ai site turned out to still be
the old blackdice-studio.html export, so recovering the originals wasn't
feasible. Filled the gap with freely-licensed Unsplash placeholders,
credited in the author field, until real photography is ready.
Also adds a Gitea Actions CI workflow (typecheck + build).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Rebuilds content management around a single admin route (/admin —
"BlackDice Studio"), replacing blackdice-studio.html. Publishing writes
one JSON content document instead of regenerating HTML files, so it can
no longer overwrite hand-made site changes the way the old tool did.
- /admin: click-to-edit copy/images, article CRUD with a Word-safe rich
text editor, demo clip management, per-page SEO, enquiry log, publish
history with rollback
- Real per-page URLs for all pages and articles, each with its own
meta/canonical/OG/JSON-LD
- Newsroom + article pages driven by the CMS post library, seeded from
the old studio's export (17 articles) plus a drafted GSMA Open Gateway
press release awaiting approval
- Demo sections on Mobile SDK and Halo CPE, interactive by default and
upgradable to an uploaded clip per slot
- Dependency-free Node API server (auth, publish, uploads, snapshots,
leads, live sitemap)
- Deployment configs for Node/nginx/IIS, Vercel and Netlify
See docs/ARCHITECTURE.md, docs/PROJECT-STRUCTURE.md, docs/CMS-GUIDE.md
and docs/DEPLOYMENT.md.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>