diff --git a/main.js b/main.js deleted file mode 100644 index 47bfd3a..0000000 --- a/main.js +++ /dev/null @@ -1,22 +0,0 @@ -const exploreMore = () => { - alert("Coming soon: a deep dive into the game world!"); - }; - - const downloadDemo = () => { - window.location.href = "https://your-download-link.com"; // Replace with actual URL - }; - - // Optional: Set the game title dynamically - document.getElementById("game-title").textContent = "Shardbound: The Mirror’s Edge"; - // Replace 'obi.studios' with a unique name if needed -const namespace = 'obi.studios'; -const key = 'homepage'; - -fetch(`https://api.countapi.xyz/hit/${namespace}/${key}`) - .then(res => res.json()) - .then(data => { - document.getElementById('visitor-count').textContent = data.value; - }) - .catch(() => { - document.getElementById('visitor-count').textContent = 'N/A'; - });