From ef166723be85830d69641dab4245448f7d5d9202 Mon Sep 17 00:00:00 2001 From: t rahul prabhu Date: Sun, 13 Oct 2024 13:42:07 +0530 Subject: [PATCH 1/2] done --- Coverpage.html | 13 +++++++++++++ Html-files/Electronic.html | 13 +++++++++++++ Html-files/about.html | 13 +++++++++++++ Html-files/booknow.html | 13 +++++++++++++ Html-files/cart.html | 13 +++++++++++++ Html-files/contact.html | 14 +++++++++++++- Html-files/logged.html | 13 +++++++++++++ Html-files/login.html | 13 +++++++++++++ Html-files/menu.html | 13 +++++++++++++ Html-files/payment2.html | 13 +++++++++++++ Html-files/services.html | 13 +++++++++++++ Html-files/signed.html | 13 +++++++++++++ Html-files/signup.html | 13 +++++++++++++ index.html | 18 +++++++++++++++--- 14 files changed, 184 insertions(+), 4 deletions(-) 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..2329b60d 100644 --- a/Html-files/Electronic.html +++ b/Html-files/Electronic.html @@ -870,5 +870,18 @@

Follow Us

}) + + + diff --git a/Html-files/about.html b/Html-files/about.html index 3d838e96..04819106 100644 --- a/Html-files/about.html +++ b/Html-files/about.html @@ -901,6 +901,19 @@

Follow Us

}); + + + \ No newline at end of file diff --git a/Html-files/booknow.html b/Html-files/booknow.html index fe793232..20582276 100644 --- a/Html-files/booknow.html +++ b/Html-files/booknow.html @@ -184,5 +184,18 @@

Our Services

+ + + diff --git a/Html-files/cart.html b/Html-files/cart.html index 93201bcf..d661f1c6 100644 --- a/Html-files/cart.html +++ b/Html-files/cart.html @@ -606,6 +606,19 @@

Follow }); + + + diff --git a/Html-files/contact.html b/Html-files/contact.html index 5e3d4a9a..270386bd 100644 --- a/Html-files/contact.html +++ b/Html-files/contact.html @@ -1090,7 +1090,19 @@

Follow }); - + + + diff --git a/Html-files/logged.html b/Html-files/logged.html index 9aae7864..7bf638e1 100644 --- a/Html-files/logged.html +++ b/Html-files/logged.html @@ -154,5 +154,18 @@ animateCircles(); + + + \ No newline at end of file diff --git a/Html-files/login.html b/Html-files/login.html index 757a0598..93cc25ff 100644 --- a/Html-files/login.html +++ b/Html-files/login.html @@ -266,5 +266,18 @@

LOGIN + + + \ No newline at end of file diff --git a/Html-files/menu.html b/Html-files/menu.html index 1d50bda8..4558c05d 100644 --- a/Html-files/menu.html +++ b/Html-files/menu.html @@ -926,6 +926,19 @@

Follow + + + \ No newline at end of file diff --git a/Html-files/payment2.html b/Html-files/payment2.html index 566ebdbf..0ce55daa 100644 --- a/Html-files/payment2.html +++ b/Html-files/payment2.html @@ -331,5 +331,18 @@

UPI Information

}); }); + + + diff --git a/Html-files/services.html b/Html-files/services.html index 130f43af..8586b3c2 100644 --- a/Html-files/services.html +++ b/Html-files/services.html @@ -797,6 +797,19 @@

+ + + diff --git a/Html-files/signed.html b/Html-files/signed.html index 9c3059f0..419b9ae8 100644 --- a/Html-files/signed.html +++ b/Html-files/signed.html @@ -161,5 +161,18 @@ animateCircles(); + + + \ No newline at end of file diff --git a/Html-files/signup.html b/Html-files/signup.html index 4979b2d5..987e0b15 100644 --- a/Html-files/signup.html +++ b/Html-files/signup.html @@ -330,5 +330,18 @@

SIGN U animateCircles(); + + + diff --git a/index.html b/index.html index 842f0080..e2a31f96 100644 --- a/index.html +++ b/index.html @@ -173,14 +173,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: transparent; -color: white; +color: rgb(17, 17, 17); cursor: pointer; padding: 15px; border-radius: 4px; @@ -940,6 +940,18 @@

Follow }; + + From 88f85ee0a237e6c757601944503a3414b6fe6110 Mon Sep 17 00:00:00 2001 From: t rahul prabhu Date: Sun, 13 Oct 2024 14:08:10 +0530 Subject: [PATCH 2/2] done --- .DS_Store | Bin 0 -> 8196 bytes Html-files/Electronic.html | 30 ++++---- Html-files/about.html | 9 ++- Html-files/cart.html | 137 ++++--------------------------------- Html-files/cart.js | 28 ++------ Html-files/contact.html | 28 ++++---- Html-files/logged.html | 8 +-- Html-files/login.html | 5 +- Html-files/menu.html | 29 ++++---- Html-files/services.html | 9 ++- Html-files/signed.html | 8 +-- Html-files/signup.html | 82 ++++------------------ 12 files changed, 94 insertions(+), 279 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..1266bffa33007717665cb42e10c7527e45e7af07 GIT binary patch literal 8196 zcmeHMO>fgc5Pe%J8n+No#i1OK{0Fea4?wtWidqR;iIy|uqohR%L1|K@7vu{kZu|iL z0>6(_cr&|+Y{x!uK~&6EyKimJ+nITpX1gu`w>RxQ19kv3*aaVMaj0nWT>45|3wIt7 z9r-|lkGMJ-jJln{inZM^1xx``z!WeAOo4wv0q)t-8a4aAe`=#CU<&+~3dr|E%r2M) z%slE>2M0X@5Z8HI8|OR+C?^h>2FyGvm23Lbg9}s_ju_6<`8*bLVj3{>=;?5t4i`MT za6)nFoxE7h;Zlz_ngXW4sseI$-#`~_j4{cd-$xxjkzb}=_GGS&GhiG0I6(^sct?E6 zQLc}9=PhSvTw{oye+RH!<7a7&2ecgF6FrV`i4LZmUGlnL#dc3h?547>aZdJUM&9Qv z!3EbCVo>z#zLNXgM?ar)9+7*+pQrdhj{`Ep`-(-Z?pMj%edgH4HLbfEbIjS$doB7} z>zA0DIP@{qd&3KIe&pi2i=)Nr<;Wl^23yX6P1UT&9A>roKc?OH-1-r7ZsSI^OQ;?- zFJ|Gsk&*YZg;$JepP%xi|~dS?6Ov0YbGm|Dz#R@I3w?bnbhc2U^H1>7wEC7 zXUx2-S9R4%)e78*))Rg{V`8N@QLch`_91oV@(kH> zQ+C13qfF&mcVVLK|00MrQ{WaUaL32GBj^8v`uG30C?gBi6fgz;Q~|f%I&JNdrMr3s vTXy-F{XM%hvCBLvg+t*F0bVcvVaRz*Q{kimGmpH(W-kI%1{+L)zpB7*YUM5( literal 0 HcmV?d00001 diff --git a/Html-files/Electronic.html b/Html-files/Electronic.html index 2329b60d..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; diff --git a/Html-files/about.html b/Html-files/about.html index 04819106..ca32aa90 100644 --- a/Html-files/about.html +++ b/Html-files/about.html @@ -29,22 +29,21 @@ - @@ -574,18 +493,6 @@

Follow - - - - @@ -695,9 +602,9 @@

Congratulations!

}, 3000); }); }); + - 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 270386bd..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; diff --git a/Html-files/logged.html b/Html-files/logged.html index 7bf638e1..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; diff --git a/Html-files/login.html b/Html-files/login.html index c02bc1bc..93cc25ff 100644 --- a/Html-files/login.html +++ b/Html-files/login.html @@ -260,10 +260,7 @@

LOGIN