diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..1266bffa Binary files /dev/null and b/.DS_Store differ diff --git a/Coverpage.html b/Coverpage.html index 01b1d2f3..2b2a0c16 100644 --- a/Coverpage.html +++ b/Coverpage.html @@ -139,5 +139,18 @@ window.location.href = "index.html"; } + + + diff --git a/Html-files/Electronic.html b/Html-files/Electronic.html index 3ac2784e..5776689b 100644 --- a/Html-files/Electronic.html +++ b/Html-files/Electronic.html @@ -354,21 +354,21 @@ color: #181e20 !important; } - #sr { - display: none; - position: fixed; - bottom: 20px; - right: 30px; - z-index: 99; - font-size: 18px; - border: none; - outline: none; - background-color: transparent; - color: white; - cursor: pointer; - padding: 15px; - border-radius: 4px; - } +#sr { +display: none; +position: fixed; +bottom: 70px; +right: 15px; +z-index: 99; +font-size: 18px; +border: none; +outline: none; +background-color: transparent; +color: rgb(17, 17, 17); +cursor: pointer; +padding: 15px; +border-radius: 4px; +} #sr:hover { color: #000; @@ -870,5 +870,18 @@

Follow Us

}) + + + diff --git a/Html-files/about.html b/Html-files/about.html index 3d838e96..ca32aa90 100644 --- a/Html-files/about.html +++ b/Html-files/about.html @@ -29,22 +29,21 @@ - @@ -574,18 +493,6 @@

Follow - - - - @@ -695,20 +602,21 @@

Congratulations!

}, 3000); }); }); + + window.embeddedChatbotConfig = { + chatbotId: "dGlQ5bP-F7GodLWzgrVAx", + domain: "www.chatbase.co" + } + + + diff --git a/Html-files/cart.js b/Html-files/cart.js index b5b29cab..addf6077 100644 --- a/Html-files/cart.js +++ b/Html-files/cart.js @@ -93,32 +93,12 @@ const applyFirstTimeDiscount = () => { couponCode = generateCouponCode(); localStorage.setItem('couponCode', couponCode); } - if (document.getElementById('couponCode')) { - document.getElementById('couponCode').innerHTML = `Use coupon code ${couponCode} for 30% off!`; - - // Display the custom modal - document.getElementById('couponDisplay').innerText = couponCode; // Show the coupon code - document.getElementById('customAlert').style.display = "block"; // Show the modal + if(document.getElementById('couponCode')){ + document.getElementById('couponCode').innerHTML = `Use coupon code ${couponCode} for 30% off!`; + alert(`Congratulations! Your coupon code is ${couponCode}. You've received a 30% discount on your first order.`); } + } - -// Close the modal when the user clicks on the (x) -document.getElementById('closeModal').onclick = function() { - document.getElementById('customAlert').style.display = "none"; -} - -// Close the modal when the user clicks the OK button -document.getElementById('okButton').onclick = function() { - document.getElementById('customAlert').style.display = "none"; -} - -// Close the modal when the user clicks anywhere outside of the modal -window.onclick = function(event) { - if (event.target == document.getElementById('customAlert')) { - document.getElementById('customAlert').style.display = "none"; - } -} - window.onload = applyFirstTimeDiscount; function updateBadgeCount() { diff --git a/Html-files/contact.html b/Html-files/contact.html index 5e3d4a9a..c06e894e 100644 --- a/Html-files/contact.html +++ b/Html-files/contact.html @@ -38,20 +38,20 @@ @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); #sr { - display: none; - position: fixed; - bottom: 20px; - right: 30px; - z-index: 99; - font-size: 18px; - border: none; - outline: none; - background-color: transparent; - color: white; - cursor: pointer; - padding: 15px; - border-radius: 4px; - } +display: none; +position: fixed; +bottom: 70px; +right: 15px; +z-index: 99; +font-size: 18px; +border: none; +outline: none; +background-color: transparent; +color: rgb(17, 17, 17); +cursor: pointer; +padding: 15px; +border-radius: 4px; +} #sr:hover { background-color: transparent; @@ -1090,7 +1090,19 @@

Follow }); - + + + diff --git a/Html-files/logged.html b/Html-files/logged.html index 9aae7864..09175c94 100644 --- a/Html-files/logged.html +++ b/Html-files/logged.html @@ -16,14 +16,14 @@ #sr { display: none; position: fixed; -bottom: 20px; -right: 30px; +bottom: 70px; +right: 15px; z-index: 99; font-size: 18px; border: none; outline: none; -background-color: #555; -color: white; +background-color: transparent; +color: rgb(17, 17, 17); cursor: pointer; padding: 15px; border-radius: 4px; @@ -154,5 +154,18 @@ animateCircles(); + + + \ No newline at end of file diff --git a/Html-files/login.html b/Html-files/login.html index 2fb5ed2d..ecdbcf41 100644 --- a/Html-files/login.html +++ b/Html-files/login.html @@ -270,14 +270,24 @@

LOGIN + + + diff --git a/Html-files/menu.html b/Html-files/menu.html index 1d50bda8..b97d2e19 100644 --- a/Html-files/menu.html +++ b/Html-files/menu.html @@ -86,22 +86,21 @@