From 240ff7ffc2a1cc4e5d26d5e158b4b4106f5582ee Mon Sep 17 00:00:00 2001 From: TheRealShreyash Date: Mon, 2 Dec 2024 17:14:47 +0530 Subject: [PATCH] fixed scripts --- policy.js | 4 ++-- script.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/policy.js b/policy.js index 5886a2a..d84d76f 100644 --- a/policy.js +++ b/policy.js @@ -3,7 +3,7 @@ const homeButton = document.querySelector("#homebutton"); const inviteButton = document.querySelector(".invitebutton"); homeButton.addEventListener("click", function () { - window.location.href = "/zara-site/index.html"; + window.location.href = "https://therealshreyash.github.io/zara-site/index.html"; }); inviteButton.addEventListener("click", function () { @@ -11,5 +11,5 @@ inviteButton.addEventListener("click", function () { }); commandButton.addEventListener("click", function () { - window.location.href = "/zara-site/commands.html"; + window.location.href = "https://therealshreyash.github.io/zara-site/commands.html"; }); diff --git a/script.js b/script.js index 70d71fa..2a01cf1 100644 --- a/script.js +++ b/script.js @@ -7,15 +7,15 @@ const inviteButton = document.querySelector(".invitebutton"); const supportButton = document.querySelector(".supportbutton"); commandButton.addEventListener("click", function () { - window.location.href = "/zara-site/commands.html"; + window.location.href = "https://therealshreyash.github.io/zara-site/commands.html"; }); policyButton.addEventListener("click", function () { - window.location.href = "/zara-site/policy.html"; + window.location.href = "https://therealshreyash.github.io/zara-site/policy.html"; }); homeButton.addEventListener("click", function () { - window.location.href = "/zara-site/index.html"; + window.location.href = "https://therealshreyash.github.io/zara-site/index.html"; }); inviteButton.addEventListener("click", function () {