-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
647 lines (575 loc) · 22.7 KB
/
index.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
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bike Store</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</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-us-section">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>
<!-- Main content -->
<section class="hero">
<div class="jumbotron jumbotron-with-image">
<div class="banner-image">
</div>
<div class="text-content">
<h1 class="display">Welcome to Bike Store</h1>
<p class="lead">Experience the joy of biking with our high-quality bikes and accessories.</p>
<a href="bikes.html" class="explore">Explore Bikes</a>
</div>
</div>
</section>
<!-- About Us Section -->
<section id="about-us-section">
<div class="container-txt" style="margin: 70px;">
<div class="row-cont">
<div class="col-lg-8 offset-lg-2">
<h2 class="abt"style="text-align: center;">About Us</h2>
<p class="abt-pa" style="justify-content: center;">
We are not your ordinary bike shop; we are a passionate collective of individuals who are deeply dedicated to all things associated with riding. At Bike Store, we harbor a strong passion for bicycles and firmly embrace the liberating and delightful experiences they bring into people's lives.
</p>
<p class="abt-pa" style="justify-content: center;">
Our objective is to deliver a flawless and gratifying purchasing experience for every biking aficionado, regardless of whether you are a well-seasoned cyclist or a beginner. We comprehend the excitement and exploration that accompany biking, ranging from the electrifying rush of descending a mountain trail to the tranquil serenity of a leisurely countryside excursion.
</p>
</div>
</div>
</div>
</section>
<section class="shop">
<h2 class="section-title">Best Selling Products</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>
<br>
</div>
<div class="item-container">
<div class="product-box">
<div class="product-image">
<img src="images/mtb-CERVELO-ZHT-5-GX-AXS-MOSS-KHAKI-1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'mtb2')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">CERVELO ZHT-5 GX EAGLE AXS BIKE</h2>
<span class="price">₱244,800.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Moss / Khaki</li>
<li>Frame Size: L</li>
<li>SKU: 10144172</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/gravel-YQB51IZD.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'gravel1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">BIANCHI ZOLDER PRO BIKE</h5>
<span class="price">₱193,800.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
ZD - CK16/Purple Rainbow</li>
<li>Frame Size: 48cm</li>
<li> SKU: 10124473</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/gravel-00EVTV170CGRX--BLKLGSTDHN.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'gravel2')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">PIVOT E-VAULT TEAM GRX DI2 BIKE</h5>
<span class="price">₱382,499.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Glacial Green Metall</li>
<li>Frame Size: L</li>
<li>SKU: 10128327</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/triath-P3_red_R8000-1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'triath1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">CERVELO P3 ULTEGRA BIKE</h5>
<span class="price">₱183,549.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>CERVELO P3 ULTEGRA BIKE</li>
<li>Frame Size: 51cm</li>
<li>SKU: 10088247</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/air-pump-PUMPS_MAMMOTH_2STAGE_BLK.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'accessories-pump1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">BLACKBURN 2STAGE ANYVALVE AIR PUMP</h5>
<span class="price">₱1,785.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color: Black</li>
<li>SKU: 10072159</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/e-bike-sct_silnce10_m_b_0-_1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'ebike1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">SCOTT SILENCE ERIDE 10 BIKE</h5>
<span class="price">₱178,500.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Silver</li>
<li>Frame Size: M</li>
<li>SKU: 10116045</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/pedal-TIME-XPRO-XPRESSO-FREE-CLEAT.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'pedal1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">TIME XPRO/XPRESSO ICLIC CLEATS - FLOATING</h5>
<span class="price">₱1,173.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>SKU: 1355961</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/saddle-PR30_Black_1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'saddle1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">ISM PR 3.0 SADDLE</h5>
<span class="price">₱8,153.88</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Black</li>
<li>Unisex</li>
<li>SKU: 10068160</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/chainring-Powertap_C1_Chainrings_1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'chainring1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">POWERTAP C1 CHAINRINGS</h5>
<span class="price">₱20,349.00</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Black</li>
<li>Chainring Size:
50x36</li>
<li>Bolt Pattern:
110bcd</li>
<li>SKU: 10058265</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/brake-ST-R9100-SET.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'shifter1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">SHIMANO DURA-ACE ST-R9100 SHIFTER/BRAKE LEVER SET</h5>
<span class="price">₱28,049.99</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li> SKU: 130852</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/tire-Mountain-King-II-Black-22_1.jpg" alt="" class="product-img">
<div class="overlay">
<a href="#" onclick="addToCart(event, 'tire1')" class="btn btn-primary btn-buy">
<i class="fas fa-shopping-cart"></i> Add to Cart
</a>
</div>
</div>
<h5 class="product-title">CONTINENTAL MOUNTAIN KING II 27.5" CLINCHER TIRE</h5>
<span class="price">₱1,121.49</span>
<div class="product-details">
<div class="specs">
<h3>Specifications:</h3>
<ul>
<li>Color:
Black</li>
<li>Tire Size:
27.5x2.2</li>
<li>SKU: 10065169</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>
</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="cartmodal.js"></script>
<script src="search.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js"></script>
</body>
</html>