Gate the ROI calculator behind a registration form, add strategy deck
CI / build (push) Canceled after 0s

Replaces the open calculator with the intended flow: visitors register
(name, company, title, business email, region, device count) to unlock
a 15-slide Strategy Deck viewer and the ROI Calculator. Both the deck
and a personalised ROI report now download as real PowerPoint files,
built client-side with JSZip by patching the deck template's XML.
Registration and report downloads are captured as enquiries via the
existing /api/leads endpoint. Drops the old PNG results-slide export
(html2canvas) in favour of the PPTX report.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 14:34:13 +05:00
co-authored by Claude Sonnet 5
parent 5232e6bd64
commit ca838ba287
30 changed files with 1905 additions and 1103 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB