From 64cf1c27967df5f4aeb01781f76a53a325b3a63c Mon Sep 17 00:00:00 2001 From: blondfrogs <8285518+blondfrogs@users.noreply.github.com> Date: Wed, 26 Jun 2024 10:46:31 -0600 Subject: [PATCH] Remove countdown, link launch fluxedge link --- index.html | 6 +++--- script.js | 60 +++++++++++++++++++++++++++--------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/index.html b/index.html index 40e0006..2e8aef3 100644 --- a/index.html +++ b/index.html @@ -71,7 +71,7 @@

high-performance, affordable computing resources on a fair and efficient platform.


- Launch + Launch FluxEdge Documentation @@ -80,7 +80,7 @@

-
+

Official Infrastructure Partners

diff --git a/script.js b/script.js index dad76a8..5237ce5 100644 --- a/script.js +++ b/script.js @@ -30,40 +30,40 @@ document.addEventListener("DOMContentLoaded", function() { exitButton.addEventListener("click", closeOverlay); closeButton.addEventListener("click", closeOverlay); - function startCountdown(endDate) { - let timer = setInterval(function() { - let now = new Date().getTime(); - let distance = endDate - now; +// function startCountdown(endDate) { +// let timer = setInterval(function() { +// let now = new Date().getTime(); +// let distance = endDate - now; - if (distance < 0) { - clearInterval(timer); - daysElement.innerText = 0; - hoursElement.innerText = 0; - minutesElement.innerText = 0; - secondsElement.innerText = 0; - countdownTimer.style.display = "none"; - const availableNowMessage = document.createElement("div"); - availableNowMessage.className = 'available-now'; - availableNowMessage.innerText = "Available Now"; - countdowndisplayElement.appendChild(availableNowMessage); - return; - } +// if (distance < 0) { +// clearInterval(timer); +// daysElement.innerText = 0; +// hoursElement.innerText = 0; +// minutesElement.innerText = 0; +// secondsElement.innerText = 0; +// countdownTimer.style.display = "none"; +// const availableNowMessage = document.createElement("div"); +// availableNowMessage.className = 'available-now'; +// availableNowMessage.innerText = "Available Now"; +// countdowndisplayElement.appendChild(availableNowMessage); +// return; +// } - let days = Math.floor(distance / (1000 * 60 * 60 * 24)); - let hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); - let minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); - let seconds = Math.floor((distance % (1000 * 60)) / 1000); +// let days = Math.floor(distance / (1000 * 60 * 60 * 24)); +// let hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); +// let minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); +// let seconds = Math.floor((distance % (1000 * 60)) / 1000); - daysElement.innerText = days; - hoursElement.innerText = hours; - minutesElement.innerText = minutes; - secondsElement.innerText = seconds; - }, 1000); - } +// daysElement.innerText = days; +// hoursElement.innerText = hours; +// minutesElement.innerText = minutes; +// secondsElement.innerText = seconds; +// }, 1000); +// } - let countdownDate = new Date("June 26, 2024 6:00:00 UTC").getTime(); - startCountdown(countdownDate); -}); +// let countdownDate = new Date("June 26, 2024 6:00:00 UTC").getTime(); +// startCountdown(countdownDate); +// }); function showFaq(number){ if(number == 1){