Wire 'Book a conversation' CTAs to Cal.com booking popup (OC event)
Nav (x2) + hero buttons now open the michaelvictory/20min-opencommunications-meeting event in an on-brand Cal.com modal overlay; href points at the booking page as a no-JS fallback. Adds the Cal embed loader. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+9
-3
@@ -55,7 +55,7 @@
|
|||||||
<a href="#problem">The problem</a>
|
<a href="#problem">The problem</a>
|
||||||
<a href="#work">How we work</a>
|
<a href="#work">How we work</a>
|
||||||
<a href="#who">Who we are</a>
|
<a href="#who">Who we are</a>
|
||||||
<a class="nav-cta" href="#contact">Book a conversation</a>
|
<a class="nav-cta" href="https://cal.shopwisdom.ca/michaelvictory/20min-opencommunications-meeting" data-cal-link="michaelvictory/20min-opencommunications-meeting" data-cal-origin="https://cal.shopwisdom.ca" data-cal-config='{"theme":"light"}'>Book a conversation</a>
|
||||||
</nav>
|
</nav>
|
||||||
<button class="nav-toggle" id="navToggle" aria-label="Open menu" aria-expanded="false">
|
<button class="nav-toggle" id="navToggle" aria-label="Open menu" aria-expanded="false">
|
||||||
<svg class="nav-toggle-icon" viewBox="0 0 32 32" aria-hidden="true">
|
<svg class="nav-toggle-icon" viewBox="0 0 32 32" aria-hidden="true">
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<a href="#problem">The problem</a>
|
<a href="#problem">The problem</a>
|
||||||
<a href="#work">How we work</a>
|
<a href="#work">How we work</a>
|
||||||
<a href="#who">Who we are</a>
|
<a href="#who">Who we are</a>
|
||||||
<a class="nav-cta" href="#contact">Book a conversation</a>
|
<a class="nav-cta" href="https://cal.shopwisdom.ca/michaelvictory/20min-opencommunications-meeting" data-cal-link="michaelvictory/20min-opencommunications-meeting" data-cal-origin="https://cal.shopwisdom.ca" data-cal-config='{"theme":"light"}'>Book a conversation</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main id="top">
|
<main id="top">
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
<h1>The systems are the <em>easy part.</em></h1>
|
<h1>The systems are the <em>easy part.</em></h1>
|
||||||
<p class="lead">Getting your people to trust the change, share what they know, and lead through it — that's what decides whether any of it sticks. That's our work.</p>
|
<p class="lead">Getting your people to trust the change, share what they know, and lead through it — that's what decides whether any of it sticks. That's our work.</p>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<a class="btn" href="#contact">Book a conversation</a>
|
<a class="btn" href="https://cal.shopwisdom.ca/michaelvictory/20min-opencommunications-meeting" data-cal-link="michaelvictory/20min-opencommunications-meeting" data-cal-origin="https://cal.shopwisdom.ca" data-cal-config='{"theme":"light"}'>Book a conversation</a>
|
||||||
<a class="btn link" href="#work">See how we work</a>
|
<a class="btn link" href="#work">See how we work</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="call">or call <a class="tel" data-p1="778" data-p2="985" data-p3="6736" href="#contact">778‑985‑OPEN (6736)</a></p>
|
<p class="call">or call <a class="tel" data-p1="778" data-p2="985" data-p3="6736" href="#contact">778‑985‑OPEN (6736)</a></p>
|
||||||
@@ -319,5 +319,11 @@
|
|||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<!-- Cal.com booking embed (opens the booking popup on-brand; href is the no-JS fallback) -->
|
||||||
|
<script>
|
||||||
|
(function (C, A, L) { let p = function (a, ar) { a.q.push(ar); }; let d = C.document; C.Cal = C.Cal || function () { let cal = C.Cal; let ar = arguments; if (!cal.loaded) { cal.ns = {}; cal.q = cal.q || []; d.head.appendChild(d.createElement("script")).src = A; cal.loaded = true; } if (ar[0] === L) { const api = function () { p(api, arguments); }; const namespace = ar[1]; api.q = api.q || []; if (typeof namespace === "string") { cal.ns[namespace] = cal.ns[namespace] || api; p(cal.ns[namespace], ar); p(cal, ["initNamespace", namespace]); } else p(cal, ar); return; } p(cal, ar); }; })(window, "https://cal.shopwisdom.ca/embed/embed.js", "init");
|
||||||
|
Cal("init", { origin: "https://cal.shopwisdom.ca" });
|
||||||
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user