-
Notifications
You must be signed in to change notification settings - Fork 0
/
road_bike_products.html
488 lines (436 loc) · 16.6 KB
/
road_bike_products.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Head content -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Road Bike</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Navigation -->
<header class="navbar">
<div class="container">
<div class="brand-section">
<a class="brand" href="index.html">Bike Store</a>
<button class="navbar-toggler" type="button" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
</div>
<div class="links-section collapse navbar-collapse" id="navbarCollapse">
<ul class="nav-list">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="dropdown-toggle" href="#" id="myNavbarDropdown" role="button" aria-expanded="false">Products</a>
<ul class="dropdown-menu" aria-labelledby="myNavbarDropdown">
<li><a class="dropdown-item" href="bikes.html">Bikes</a></li>
<li><a class="dropdown-item" href="accessories.html">Accessories</a></li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="modal" data-bs-target="#cartModal">
<i class="fas fa-shopping-cart"></i> <!-- Font Awesome shopping cart icon -->
Cart
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="login.html">
<i class="fas fa-user"></i> Login
</a>
</li>
<li class="nav-item">
<div class="search-form">
<input type="text" class="search-input" placeholder="Search">
<button class="search-button"><i class="fas fa-search"></i></button>
</div>
</li>
</ul>
</div>
</div>
</header>
<!-- Navigation content -->
<!-- Main content -->
<section class="shop">
<h2 class="section-title" style="text-align: center; margin-bottom: 2rem;">Road Bike</h2>
<div class="shop-content">
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-PARIS-RIVAL-B102-ORANGE.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">PINARELLO PARIS RIVAL AXS BIKE</h5>
<span class="price">₱262,750.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color: B102 Orange</li>
<li>Frame Size: 60cm</li>
<li>SKU: 10135391</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-3T-STRADA-ICR-RIVAL-AXS-2X-RED-BLACK.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb2')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">3T STRADA ICR RIVAL AXS 2X BIKE</h5>
<span class="price" style="text-align: center;">₱274,950.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Red / Black</li>
<li>Color:
Red / Black
Frame Size:
51cm / 54cm / 56cm / 58cm</li>
<li>SKU: 10144951</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-3T-STRADA-ICR-FORCE-CHROME.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb3')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">3T STRADA ICR FORCE CHROME</h5>
<span class="price">₱309,950.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Chrome </li>
<li>Frame Size:
51cm / 54cm</li>
<li>SKU: 10144957</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-3T-STRADA-ICR-RED-AXS-1X-NAVY-BLACK.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb4')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">3T STRADA ICR RED AXS 1X BIKE</h5>
<span class="price">₱382,449.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Navy / Black</li>
<li>Color:
Navy / Black
Frame Size:
51cm54cm</li>
<li>SKU: 10149436</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
<br>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-Colnago_Arabesque_RADK.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb5')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">COLNAGO ARABESQUE</h5>
<span class="price">₱196497.50</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
RADK / RALB / RARD / RAWH</li>
<li>Color:
RADKRALBRARDRAWH
Frame Size:
49cm / 50cm / 51cm / 52cm / 53cm / 54cm /55cm / 56cm</li>
<li>SKU: 10062603</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-Colnago-E64-BMGR_1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb6')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">COLNAGO E-64 ULTEGRA DI2 BIKE</h5>
<span class="price">₱407,997.45 </span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
BMGRB / MOR</li>
<li>
Frame Size:
43s / 46s / 49s</li>
<li>SKU: 10110063</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-COLNAGO-V3-MKRD.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb7')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">COLNAGO V3 DISC RIVAL AXS BIKE</h5>
<span class="price">₱244,997,55</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
MKRD / MKGR</li>
<li>Frame Size: 52cm</li>
<li>SKU: 10140492</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/rb-COLNAGO-C68-TI-KAIZEN-PRO-BLACK.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'rb8')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">COLNAGO C68 TI DISC KAIZEN PRO BLACK BIKE</h5>
<span class="price">₱1,170,450</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:HTBK</li>
<li>Frame Size: 48.5cm</li>
<li>SKU: 10144472</li>
</ul>
</div>
<div class="ratings" style="color: yellow; font-size: 30px;">
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
<span class="star">★</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Modal -->
<div class="modal-overlay" id="cartModalOverlay"></div>
<div class="modal" id="cartModal">
<div class="modal-header">
<h5 class="modal-title" id="cartModalLabel">Cart</h5>
<span class="modal-close" onclick="closeModal()">×</span>
</div>
<div class="modal-body">
<div id="cartContent">
<div class="cart-total">
Total: ₱<span id="cartTotal">0.00</span>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" id="conshop" onclick="closeModal()">Continue Shopping</button>
</div>
</div>
<!-- Footer -->
<footer class="footer">
<div class="conte">
<div class="row-fot">
<div class="links">
<h5>Quick Links</h5>
<ul class="list-unstyled">
<li><a href="#">Home</a></li>
<li><a href="#">Bikes</a></li>
<li><a href="#">Accessories</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div class="links">
<h5>Connect With Us</h5>
<ul class="list-unstyled">
<li><a href="#"><i class="fab fa-facebook"></i> Facebook</a></li>
<li><a href="#"><i class="fab fa-twitter"></i> Twitter</a></li>
<li><a href="#"><i class="fab fa-instagram"></i> Instagram</a></li>
<li><a href="#"><i class="fab fa-linkedin"></i> LinkedIn</a></li>
</ul>
</div>
<div class="links">
<h5>Contact Info</h5>
<ul class="list-unstyled">
<li><i class="fas fa-phone"></i> +1 123-456-7890</li>
<li><i class="fas fa-envelope"></i> info@bikestore.com</li>
<li><i class="fas fa-map-marker-alt"></i> Philippines</li>
</ul>
</div>
</div>
</div>
<div class="text-center">
© 2023 Bike Store. All rights reserved.<br>
<a href="privacy.html">Privacy Policy</a> | <a href="terms.html">Terms of Service</a> | <a href="contact.html">Contact Us</a>
</div>
</footer>
<script>
function closeModal() {
location.reload();
}
</script>
<script>
// Retrieve stored cart items from local storage, or initialize an empty array
let cartItems = JSON.parse(localStorage.getItem('cartItems')) || [];
// Function to handle adding items to the cart
function addToCart(event, productId) {
event.preventDefault();
// Check if the product is already in the cart
const existingItem = cartItems.find(item => item.id === productId);
if (existingItem) {
// If the product is already in the cart, increase the quantity
existingItem.quantity++;
} else {
// If the product is not in the cart, add it as a new item
const newItem = {
id: productId,
quantity: 1
};
cartItems.push(newItem);
}
// Store the updated cart items in local storage
localStorage.setItem('cartItems', JSON.stringify(cartItems));
// Optional: Show a success message or perform any other desired actions
alert('Item added to cart!');
// Update the cart badge
updateCartBadge();
}
// Function to display the number of items in the cart
function updateCartBadge() {
const cartBadge = document.getElementById('cartBadge');
cartBadge.textContent = cartItems.length;
}
// Call the function to update the cart badge when the page loads
updateCartBadge();
</script>
<script src="hamburger.js"></script>
<script src="search.js"></script>
<script src="script.js"></script>
<script src="cartmodal.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js"></script>
</body>
</html>