fix: wire Book Meeting (nav + hero) and Request scoped help to calendar modal
This commit is contained in:
+11
-6
@@ -2508,8 +2508,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="nav-right">
|
<div class="nav-right">
|
||||||
<a
|
<a
|
||||||
class="nav-cta-book plausible-event-name=Meeting"
|
class="nav-cta-book open-cal plausible-event-name=Meeting"
|
||||||
href="#story"
|
href="#"
|
||||||
>Book Meeting</a
|
>Book Meeting</a
|
||||||
>
|
>
|
||||||
<div class="nav-chat" id="nav-chat">
|
<div class="nav-chat" id="nav-chat">
|
||||||
@@ -2875,8 +2875,8 @@
|
|||||||
style="margin-top: auto; justify-content: flex-end"
|
style="margin-top: auto; justify-content: flex-end"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="btn-secondary plausible-event-name=Meeting"
|
class="btn-secondary open-cal plausible-event-name=Meeting"
|
||||||
href="#pricing"
|
href="#"
|
||||||
>Book Meeting</a
|
>Book Meeting</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -3095,7 +3095,7 @@
|
|||||||
stack and can ship practical improvements without drama.
|
stack and can ship practical improvements without drama.
|
||||||
</p>
|
</p>
|
||||||
<a
|
<a
|
||||||
class="custom-link open-modal plausible-event-name=Trial"
|
class="custom-link open-cal plausible-event-name=Meeting"
|
||||||
href="#"
|
href="#"
|
||||||
>Request scoped help →</a
|
>Request scoped help →</a
|
||||||
>
|
>
|
||||||
@@ -4492,7 +4492,12 @@
|
|||||||
setTimeout(function () { calIframe.src = ''; }, 300);
|
setTimeout(function () { calIframe.src = ''; }, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (schedBtn) schedBtn.addEventListener('click', openCal);
|
document.querySelectorAll('.open-cal').forEach(function (el) {
|
||||||
|
el.addEventListener('click', function (e) {
|
||||||
|
e.preventDefault();
|
||||||
|
openCal();
|
||||||
|
});
|
||||||
|
});
|
||||||
if (calClose) calClose.addEventListener('click', closeCal);
|
if (calClose) calClose.addEventListener('click', closeCal);
|
||||||
if (calOverlay) {
|
if (calOverlay) {
|
||||||
calOverlay.addEventListener('click', function (e) {
|
calOverlay.addEventListener('click', function (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user