Skip to content

Commit fc17056

Browse files
committed
turn off cyber week
1 parent fa36b76 commit fc17056

File tree

4 files changed

+776
-776
lines changed

4 files changed

+776
-776
lines changed

site/content/general/pro/index-js.html

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -84,46 +84,3 @@
8484

8585
contactForm.addEventListener("submit", handleContactFormSubmit);
8686
</script>
87-
88-
<!--Counter-->
89-
<script>
90-
const endTime = new Date(Date.UTC(2023, 11, 1, 16, 00, 00));
91-
92-
function updateCountdown() {
93-
const now = new Date().getTime();
94-
const timeLeft = endTime - now;
95-
96-
const days = Math.floor(timeLeft / (1000 * 60 * 60 * 24));
97-
const hours = Math.floor(
98-
(timeLeft % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)
99-
);
100-
const mins = Math.floor((timeLeft % (1000 * 60 * 60)) / (1000 * 60));
101-
const secs = Math.floor((timeLeft % (1000 * 60)) / 1000);
102-
103-
document.getElementById(
104-
"bf-countdown"
105-
).innerHTML = `${days}d ${hours}h ${mins}m ${secs}s`;
106-
}
107-
108-
setInterval(updateCountdown, 1000);
109-
</script>
110-
111-
<!--Hiver chat-->
112-
<script>
113-
(function (d, t) {
114-
var BASE_URL = "http://chatwoot-rails-api-service:80";
115-
var CDN_URL = "https://chat-widget.hiverhq.com/chat-widget";
116-
var g = d.createElement(t),
117-
s = d.getElementsByTagName(t)[0];
118-
g.src = CDN_URL + "/js/sdk.js";
119-
g.defer = true;
120-
g.async = true;
121-
s.parentNode.insertBefore(g, s);
122-
g.onload = function () {
123-
window.chatwootSDK.run({
124-
websiteToken: "Lo9DF7g9MY92qKWmRqdueKPL",
125-
baseUrl: BASE_URL,
126-
});
127-
};
128-
})(document, "script");
129-
</script>

0 commit comments

Comments
 (0)