Gate the ROI calculator behind a registration form, add strategy deck
CI / build (push) Canceled after 0s
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:
+1
-1
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"framer-motion": "^11.18.2",
|
||||
"html2canvas": "^1.4.1",
|
||||
"jszip": "^3.10.2",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "^6.26.2",
|
||||
|
||||
Reference in New Issue
Block a user