diff --git a/index.html b/index.html index 6cc1dcb..2e66d1e 100644 --- a/index.html +++ b/index.html @@ -477,83 +477,7 @@ - - -
diff --git a/script.js b/script.js index b63feed..7837e1e 100644 --- a/script.js +++ b/script.js @@ -91,21 +91,7 @@ var si = 0, }); } - setTimeout(function () { - var blogSection = document.getElementById("blog"); - if (blogSection) { - function onBlogScroll() { - var rect = blogSection.getBoundingClientRect(); - if (rect.top < window.innerHeight && rect.bottom > 0) { - openTrialWidget(); - window.removeEventListener("scroll", onBlogScroll); - } - } - window.addEventListener("scroll", onBlogScroll); - } - }, 3000); - - document.querySelectorAll(".tab-btn").forEach(function (b) { + document.querySelectorAll(".tab-btn").forEach(function (b) { b.addEventListener("click", function () { document.querySelectorAll(".tab-btn").forEach(function (x) { x.classList.remove("active"); @@ -130,8 +116,6 @@ var si = 0, yearlyPrice, isEmpire, ) { - document.getElementById("orderPanelTrial").style.display = - "none"; document.getElementById("orderPanelBuy").style.display = "block"; var widget = document.getElementById("orderWidgetOverlay"); @@ -170,17 +154,6 @@ var si = 0, widget.style.display = "flex"; orderPopupShown = true; } - function openTrialWidget() { - document.getElementById("orderPanelBuy").style.display = "none"; - document.getElementById("orderPanelTrial").style.display = - "block"; - document.getElementById("orderWidgetOverlay").style.display = - "flex"; - orderPopupShown = true; - } - function switchToBuyPanel() { - openOrderWidget("On the Rise", 36.21, 395.0, false); - } function closeOrderWidget() { document.getElementById("orderWidgetOverlay").style.display = "none";