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 class="nav-right">
|
||||
<a
|
||||
class="nav-cta-book plausible-event-name=Meeting"
|
||||
href="#story"
|
||||
class="nav-cta-book open-cal plausible-event-name=Meeting"
|
||||
href="#"
|
||||
>Book Meeting</a
|
||||
>
|
||||
<div class="nav-chat" id="nav-chat">
|
||||
@@ -2875,8 +2875,8 @@
|
||||
style="margin-top: auto; justify-content: flex-end"
|
||||
>
|
||||
<a
|
||||
class="btn-secondary plausible-event-name=Meeting"
|
||||
href="#pricing"
|
||||
class="btn-secondary open-cal plausible-event-name=Meeting"
|
||||
href="#"
|
||||
>Book Meeting</a
|
||||
>
|
||||
</div>
|
||||
@@ -3095,7 +3095,7 @@
|
||||
stack and can ship practical improvements without drama.
|
||||
</p>
|
||||
<a
|
||||
class="custom-link open-modal plausible-event-name=Trial"
|
||||
class="custom-link open-cal plausible-event-name=Meeting"
|
||||
href="#"
|
||||
>Request scoped help →</a
|
||||
>
|
||||
@@ -4492,7 +4492,12 @@
|
||||
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 (calOverlay) {
|
||||
calOverlay.addEventListener('click', function (e) {
|
||||
|
||||
Reference in New Issue
Block a user