diff --git a/Shop/Dumbbells.webp b/Shop/Dumbbells.webp new file mode 100644 index 0000000..be36c22 Binary files /dev/null and b/Shop/Dumbbells.webp differ diff --git a/Shop/Perplexity cap.avif b/Shop/Perplexity cap.avif new file mode 100644 index 0000000..1dd63e4 Binary files /dev/null and b/Shop/Perplexity cap.avif differ diff --git a/Shop/Trackpants.webp b/Shop/Trackpants.webp new file mode 100644 index 0000000..149bcf1 Binary files /dev/null and b/Shop/Trackpants.webp differ diff --git a/Shop/Treadmill.webp b/Shop/Treadmill.webp new file mode 100644 index 0000000..8c3b264 Binary files /dev/null and b/Shop/Treadmill.webp differ diff --git a/Shop/cycle.avif b/Shop/cycle.avif new file mode 100644 index 0000000..f2d394c Binary files /dev/null and b/Shop/cycle.avif differ diff --git a/Shop/rope.avif b/Shop/rope.avif new file mode 100644 index 0000000..c7d7e53 Binary files /dev/null and b/Shop/rope.avif differ diff --git a/Shop/shorts.avif b/Shop/shorts.avif new file mode 100644 index 0000000..7e2746f Binary files /dev/null and b/Shop/shorts.avif differ diff --git a/cart.html b/cart.html index 41c61a8..55dcd81 100644 --- a/cart.html +++ b/cart.html @@ -22,24 +22,65 @@
-
+
Product 1

Tshirt Fitness Planet

₹499
- Product 2 -

Classic Watch

-
$79.99
+ Product 2 +

Treadmill

+
₹36,999
+ +
+
+ Product 3 +

Dumbbells

+
₹799
+ +
+ Product 4 +

Perplexity Cap

+
₹2199
+ +
+ + + +
- Product 3 -

Denim Jacket

-
$99.99
+ Product 5 +

Track Pant

+
₹1,199
+ +
+ Product 6 +

GYM Shorts

+
₹799
+ +
+ +
+ Product 7 +

Exercise Bike

+
₹35,999
+ +
+ +
+ Product 8 +

Skipping Rope

+
₹799
+ +
+ + +
diff --git a/cart.js b/cart.js index 2e42e1c..f6c5294 100644 --- a/cart.js +++ b/cart.js @@ -20,15 +20,45 @@ products = [ }, { id: 2, - name: "Classic Watch", - price: 79.99, - image: "images/product2.jpg" + name: "Treadmill", + price: 36999, + image: "Shop/Treadmill.webp" }, { id: 3, - name: "Denim Jacket", - price: 99.99, - image: "images/product3.jpg" + name: "Dumbbells", + price: 799, + image: "Shop/Dumbbells.webp" + }, + { + id: 4, + name: "Perplexity Cap", + price: 2199, + image: "Shop/Perplexity cap.avif" + }, + { + id: 5, + name: "Track Pant", + price: 1199, + image: "Shop/Trackpants.webp" + }, + { + id: 6, + name: "GYM Shorts", + price: 799, + image: "Shop/shorts.avif" + }, + { + id: 7, + name: "Exercise Bike", + price: 35999, + image: "Shop/cycle.avif" + }, + { + id: 8, + name: "Skipping Rope", + price: 799, + image: "Shop/rope.avif" } ]; diff --git a/index.html b/index.html index f76dedb..b2a24dd 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,6 @@
WELCOME TO PLANET FITNESS PLANET
-
diff --git a/navbar.css b/navbar.css index 928adba..e91842e 100644 --- a/navbar.css +++ b/navbar.css @@ -104,122 +104,6 @@ body { background-color: #cdc7c7b1; } -.chatbox { - position: fixed; - bottom: 30px; - right: 30px; - width: 350px; - max-height: 500px; - background: rgba(255, 255, 255, 0.1); - border-radius: 20px; - backdrop-filter: blur(10px); - box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); - padding: 20px; - display: flex; - flex-direction: column; - justify-content: space-between; - overflow: hidden; - opacity: 0; - transform: translateY(20px); - pointer-events: none; - transition: opacity 0.3s ease, transform 0.3s ease; - z-index: 1000; -} - -.chatbox.active { - opacity: 1; - transform: translateY(0); - pointer-events: auto; -} - -.chat-container{ - width:100%; - height:70%; - overflow:auto; - min-height: 300px; - overflow-y: auto; - padding-right: 10px; -} - -.h1{ - font-size: 3vw; - text-align: center; - color: #fff; -} -.input-area{ - display: flex; - align-items: center; - padding: 10px; - background: rgba(255, 255, 255, 0.1); - border-top: 1px solid rgba(255, 255, 255, 0.2); - border-radius: 0 0 20px 20px; - gap: 10px; -} - -.arrow { - width: 45px; - height: 45px; - margin: 0px; - background: rgba(0, 0, 0, 0.6); - border: none; - border-radius: 50%; +.chatboticon{ cursor: pointer; - display: flex; - align-items: center; - justify-content: center; - transition: background 0.3s ease; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); -} - -/* White arrow */ -.arrow img { - width: 20px; - height: 20px; - filter: brightness(0) invert(1); -} - -/* Prevent blue glow on hover and add subtle effect */ -.arrow:hover { - background: rgba(0, 0, 0, 0.8); -} - - -.prompt { - flex: 1; - border: none; - padding: 10px 15px; - border-radius: 20px; - outline: none; - font-size: 14px; - background: rgba(255, 255, 255, 0.2); - color: white; -} - -.user-chat-box { - background-color: rgba(0, 0, 0, 0.8); - color: white; - align-self: flex-end; - padding: 10px 15px; - margin: 8px; - max-width: 70%; - border-radius: 20px 20px 0 20px; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); - margin-left: auto; - border-top-left-radius: 12px; - border-top-right-radius: 12px; - border-bottom-left-radius: 12px; -} -.ai-chat-box { - background-color: rgba(255, 255, 255, 0.85); - color: black; - align-self: flex-start; - padding: 10px 15px; - margin: 8px; - max-width: 70%; - border-radius: 20px 20px 20px 0; - box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); - margin-right: auto; - border-top-left-radius: 12px; - border-top-right-radius: 12px; - border-bottom-right-radius: 12px; } \ No newline at end of file diff --git a/navbar.html b/navbar.html index 3ca5f45..7b55138 100644 --- a/navbar.html +++ b/navbar.html @@ -14,7 +14,7 @@ - chatbot-png + chatbot-png diff --git a/style.css b/style.css index a4b89cc..802027f 100644 --- a/style.css +++ b/style.css @@ -116,7 +116,125 @@ video { height:calc(100% - 280px); position:relative; } +.chatbox { + position: fixed; + bottom: 30px; + right: 30px; + width: 350px; + max-height: 500px; + background: rgba(255, 255, 255, 0.1); + border-radius: 20px; + backdrop-filter: blur(10px); + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); + padding: 20px; + display: flex; + flex-direction: column; + justify-content: space-between; + overflow: hidden; + opacity: 0; + transform: translateY(20px); + pointer-events: none; + transition: opacity 0.3s ease, transform 0.3s ease; + z-index: 1000; +} + +.chatbox.active { + opacity: 1; + transform: translateY(0); + pointer-events: auto; +} +.chat-container{ + width:100%; + height:70%; + overflow:auto; + min-height: 300px; + overflow-y: auto; + padding-right: 10px; +} + +.h1{ + font-size: 3vw; + text-align: center; + color: #fff; +} +.input-area{ + display: flex; + align-items: center; + padding: 10px; + background: rgba(255, 255, 255, 0.1); + border-top: 1px solid rgba(255, 255, 255, 0.2); + border-radius: 0 0 20px 20px; + gap: 10px; +} + +.arrow { + width: 45px; + height: 45px; + margin: 0px; + background: rgba(0, 0, 0, 0.6); + border: none; + border-radius: 50%; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + transition: background 0.3s ease; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); +} + +/* White arrow */ +.arrow img { + width: 20px; + height: 20px; + filter: brightness(0) invert(1); +} + +/* Prevent blue glow on hover and add subtle effect */ +.arrow:hover { + background: rgba(0, 0, 0, 0.8); +} + + +.prompt { + flex: 1; + border: none; + padding: 10px 15px; + border-radius: 20px; + outline: none; + font-size: 14px; + background: rgba(255, 255, 255, 0.2); + color: white; +} + +.user-chat-box { + background-color: rgba(0, 0, 0, 0.8); + color: white; + align-self: flex-end; + padding: 10px 15px; + margin: 8px; + max-width: 70%; + border-radius: 20px 20px 0 20px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); + margin-left: auto; + border-top-left-radius: 12px; + border-top-right-radius: 12px; + border-bottom-left-radius: 12px; +} +.ai-chat-box { + background-color: rgba(255, 255, 255, 0.85); + color: black; + align-self: flex-start; + padding: 10px 15px; + margin: 8px; + max-width: 70%; + border-radius: 20px 20px 20px 0; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); + margin-right: auto; + border-top-left-radius: 12px; + border-top-right-radius: 12px; + border-bottom-right-radius: 12px; +} /* page 2 */