forked from swaraj-das/Collect-your-GamingTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
584 lines (524 loc) · 26.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Collect your GamingTools</title>
<link rel="shortcut icon" href="images/logo.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
</head>
<body>
<div id="progressBarContainer">
<div id="progressBar"></div>
</div>
<div class="container">
<div class="navbar">
<div class="logo-outer">
<a href="/"> <img src="images/logo.png" class="logo" alt="Logo"></a>
<a href="/"><span class="website-name">Collect your GamingTools</span></a>
</div>
<nav>
<ul>
<li><a href="#controller">Game Controllers</a></li>
<li><a href="#vrsection">VR Accessories</a></li>
<li><a href="#keyboard">Gaming Keyboard</a></li>
<li><a href="#others">Others</a></li>
<li class="login"><a href="login/login.html">Login</a></li>
<li><label class="switch">
<input type="checkbox" id="theme-toggle" onchange="toggleTheme()">
<span class="slider"></span>
</label></li>
<!-- Inside the navbar ul -->
<li class="cart-nav">
<a href="#"><img height="25px " width="25px" src="images/cart.png" alt="Cart Icon"> <span id="cart-count">0</span></a>
</li>
</ul>
<!-- Hamburger Menu Icon -->
<img src="images/menu.png" class="menu-icon" onclick="toggleMenu()">
</nav>
</div>
<nav>
<ul id="menuList">
<li><a href="#controller">Game Controllers</a></li>
<li><a href="#vrsection">VR Accessories</a></li>
<li><a href="#keyboard">Gaming Keyboard</a></li>
<li><a href="#others">Others</a></li>
<li class="login"><a href="login/login.html">Login</a></li>
<!-- Theme Toggle -->
<li><label class="switch">
<input type="checkbox" id="theme-toggle" onchange="toggleTheme()">
<span class="slider"></span>
</label></li>
</ul>
<!-- Hamburger Menu Icon -->
<img src="images/menu.png" class="menu-icon" onclick="toggleMenu()">
</nav>
<section class="hero">
<div class="overlay"></div>
<div class="hero-content">
<!-- Search Bar (initially hidden) -->
<div class="searchbar-outer">
<div class="search-bar hidden" id="searchBar">
<input type="text" id="search-input" placeholder="Search..." />
<button type="button" onclick="performSearch()">🔍</button>
</div>
</div>
<h1 data-aos="fade-down">Welcome to GamingTools</h1>
<p data-aos="fade-down">Your one-stop shop for all gaming accessories.</p>
<a href="#controller" class="cta-btn" data-aos="fade-down">Explore Products</a>
</div>
</section>
<!-- PS4 Controller Section -->
<div class="row" id="controller" >
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">PS4 V2 Dualshock 4</h2>
<h3>Wireless Controllers for PlayStation 4</h3>
<p>(Compatible/Generic)</p>
<div class="price">
<span class="original-price">₹5500</span>
<span class="discounted-price">₹3999</span>
<span class="discount">30% off</span>
</div>
<div class="rating">
<span>★★★★☆</span>
<p>(2252 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.1★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/controller1.png" class="controller" alt="Controller">
<div class="color-box"></div>
</div>
</div>
<!-- Xbox Controller Section -->
<div class="row">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Xbox Wireless Controller</h2>
<h3>Controllers for Xbox One and Series X</h3>
<p>(Official)</p>
<div class="price">
<span class="original-price">₹4500</span>
<span class="discounted-price">₹3499</span>
<span class="discount">22% off</span>
</div>
<div class="rating">
<span>★★★★★</span>
<p>(1189 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.8★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/newcontroller3.png" class="controller" alt="Controller"> <!-- replaced old blurry image with enhanced image -->
<div class="color-box"></div>
</div>
</div>
<!-- Nintendo Switch Controller Section -->
<div class="row">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Nintendo Switch Pro Controller</h2>
<h3>Wireless Controllers for Nintendo Switch</h3>
<p>(Official)</p>
<div class="price">
<span class="original-price">₹6000</span>
<span class="discounted-price">₹4999</span>
<span class="discount">17% off</span>
</div>
<div class="rating">
<span>★★★★☆</span>
<p>(3145 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.2★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/controller2.png" class="controller" alt="Controller"><!--changed the image, as it was interchanged with the xbox controller image-->
<div class="color-box"></div>
</div>
</div>
<!-- VR Headset Section -->
<div class="row" id="vrsection">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Meta Quest Pro</h2>
<h3>VR Headset from Meta</h3>
<p>(Official)</p>
<div class="price">
<span class="original-price">₹40000</span>
<span class="discounted-price">₹35200</span>
<span class="discount">12% off</span>
</div>
<div class="rating">
<span>★★★★☆</span>
<p>(871 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.2★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/metaquest.jpg" class="controller" alt="Controller"><!--changed the image, as it was interchanged with the xbox controller image-->
<div class="color-box"></div>
</div>
</div>
<!-- VR Headset Section 2 -->
<div class="row">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Apple Vision Pro</h2>
<h3>VR Headset from Apple</h3>
<p>(Official)</p>
<div class="price">
<span class="original-price">₹293999</span>
<span class="discounted-price">₹264599</span>
<span class="discount">10% off</span>
</div>
<div class="rating">
<span>★★★★★</span>
<p>(235 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.8★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/visionpro.png" class="controller" alt="Controller"><!--changed the image, as it was interchanged with the xbox controller image-->
<div class="color-box"></div>
</div>
</div>
<!-- Gaming Mouse Section -->
<div class="row" id="others">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Logitech G502 Hero</h2>
<h3>High Performance Gaming Mouse</h3>
<p>(Wired)</p>
<div class="price">
<span class="original-price">₹4000</span>
<span class="discounted-price">₹2999</span>
<span class="discount">25% off</span>
</div>
<div class="rating">
<span>★★★★★</span>
<p>(9256 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">5.0★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/mouse.png" class="controller" alt="Gaming Mouse">
<div class="color-box"></div>
</div>
</div>
<!-- Gaming Keyboard Section -->
<div class="row" id="keyboard">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Razer BlackWidow</h2>
<h3>Mechanical Gaming Keyboard</h3>
<p>(Wired)</p>
<div class="price">
<span class="original-price">₹7000</span>
<span class="discounted-price">₹5499</span>
<span class="discount">21% off</span>
</div>
<div class="rating">
<span>★★★★☆</span>
<p>(6184 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.5★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/keyboard.png" class="controller" alt="Gaming Keyboard">
<div class="color-box"></div>
</div>
</div>
<!-- Gaming Headset Section -->
<div class="row">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">SteelSeries Arctis 7</h2>
<h3>Wireless Gaming Headset</h3>
<p>(Surround Sound)</p>
<div class="price">
<span class="original-price">₹12000</span>
<span class="discounted-price">₹8999</span>
<span class="discount">25% off</span>
</div>
<div class="rating">
<span>★★★★★</span>
<p>(8452 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.7★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/headset.png" class="controller" alt="Gaming Headset">
<div class="color-box"></div>
</div>
</div>
<!-- Gaming Chair Section -->
<div class="row">
<div class="col-1" data-aos="fade-right">
<h2 class="card-heading">Secretlab Omega</h2>
<h3>Ergonomic Gaming Chair</h3>
<p>(Adjustable)</p>
<div class="price">
<span class="original-price">₹30000</span>
<span class="discounted-price">₹24999</span>
<span class="discount">17% off</span>
</div>
<div class="rating">
<span>★★★★★</span>
<p>(3564 reviews)</p>
</div>
<div class="overall-rating">
<span>Overall Rating:</span>
<p class="star">4.8★</p>
</div>
<div class="btn-section">
<button type="button" id = "buy-btn">Buy Now<img src="images/arrow.png" alt="Arrow"></button>
<button type="button" id = "cart-btn">Add to Cart<img src="images/add.png" alt="Cart"></button>
</div>
</div>
<div class="col-2" data-aos="fade-left">
<img src="images/newchair.png" class="controller" alt="Gaming Chair">
<div class="color-box"></div>
</div>
</div>
</div>
<!-- FAQ Section -->
<section id="faq">
<div class="faq-container">
<h1 class="faq-title" data-aos="fade-right">Frequently Asked Questions</h1>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq1">
<label for="faq1" class="faq-question">1. Does your website consist of all types of gaming tools? <span class="arrow"></span></label>
<div class="faq-answer">
We have tried our best to make all the tools available for enthusiastic gamers.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq2">
<label for="faq2" class="faq-question">2. If I'm having some purchased-product related issues, can the product be replaced as per my need? <span class="arrow"></span></label>
<div class="faq-answer">
By considering our terms and conditions, further actions will be taken.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq3">
<label for="faq3" class="faq-question">3. Can I buy multiple products at once? <span class="arrow"></span></label>
<div class="faq-answer">
Yes, you are welcome to buy multiple products at one time.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq4">
<label for="faq4" class="faq-question">4. Do you have any free courier services or is it paid? <span class="arrow"></span></label>
<div class="faq-answer">
We have courier services for our customers and it's absolutely free.
</div>
</div>
</div>
</section>
<!--review section-->
<section id="review-body">
<div class="reviews-container">
<h1 class="reviews-title" data-aos="fade-right">What Our Customers Say</h1>
<div class="review-card" data-aos="fade-right">
<div class="reviewer-name">John Doe</div>
<div class="review-rating">★★★★★</div>
<p class="review-text" >The tools on this website are fantastic! It has made gaming much more enjoyable and efficient. Highly recommend!</p>
</div>
<div class="review-card" data-aos="fade-right">
<div class="reviewer-name">Jane Smith</div>
<div class="review-rating">★★★★☆</div>
<p class="review-text">Great products, but I wish there were more options available for casual gamers. Still, amazing service overall!</p>
</div>
<div class="review-card" data-aos="fade-right">
<div class="reviewer-name">Alex Johnson</div>
<div class="review-rating">★★★★★</div>
<p class="review-text">Excellent customer service! I had an issue with my order, but it was resolved quickly. Definitely will buy again.</p>
</div>
</div>
</section>
<section id="contact" data-aos="fade-right">
<div class="card pb-5 pt-1">
<div class="card-header">
<h2 >Contact Us</h2>
</div>
<div class="card-body">
<div class="image-section">
<img src="images/7725176.jpg" alt="Contact Image"style="max-width: 80%; height: auto; max-height: 500px;">
</div>
<div class="form-section">
<form>
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your name">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Your email">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Your message"></textarea>
</div>
<button type="submit">Send</button>
</form>
</div>
</div>
</div>
</section>
<footer class="footer">
<div class="footer-content">
<div class="footer-section about">
<div class="logo-container">
<img src="images/logo.png" alt="GamingTools Logo" class="footer-logo">
<h2 class="logo-text">Collect your GamingTools</h2>
</div>
<p class="about-text">
Your one-stop shop for premium gaming accessories. Elevate your gaming experience with our curated selection of controllers, VR gear, and more.
</p>
<div class="contact">
<span><i class="fas fa-phone"></i> 123-456-789</span>
<span><i class="fas fa-envelope"></i> [email protected]</span>
</div>
<div class="socials">
<!-- Added classes to the <a> tags to add the Hover animations -->
<a class="facebook" href="#"><i class="fab fa-facebook"></i></a>
<a class="instagram" href="#"><i class="fab fa-instagram"></i></a>
<a class="twitter" href="#" ><i class="fa-brands fa-x-twitter"></i></a>
<a class="youtube" href="#"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div class="footer-section links">
<h2>Quick Links</h2>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#faq">FAQ</a></li>
</ul>
</div>
<div class="footer-section contact-form">
<h2>Contact Us</h2>
<form action="#" method="post">
<input type="email" name="email" class="text-input contact-input" placeholder="Your email address...">
<textarea name="message" class="text-input contact-input" placeholder="Your message..."></textarea>
<button type="submit" class="btn btn-big contact-btn">
<i class="fas fa-envelope"></i>
Send
</button>
</form>
</div>
</div>
<div class="footer-bottom">
© 2024 GamingTools | Designed by Swaraj
</div>
</footer>
<!-- SIDEBAR -->
<div class="social-sidebar">
<div class="close-btn" id="SideBar" onclick="toggleSidebar()" title="Close Sidebar">×</div>
<ul id="sidebar-content">
<li><a class= "facebook" href="#"><i class="fa-brands fa-meta"></i></a></li>
<li><a class="twitter" href="#" ><i class="fa-brands fa-x-twitter"></i></a></li>
<li><a class= "facebook" href="#"><i class="fa-brands fa-instagram"></i></a></li>
<li><a class= "facebook" href="#"><i class="fa-brands fa-youtube"></i></a></li>
</ul>
</div>
<div class="toggle-arrow" onclick="toggleSidebar()" title="Open Sidebar" style="display: none;">
<i class="fas fa-arrow-left"></i>
</div>
<!-- Scroll to Top Button -->
<button id="scrollToTopBtn" class="scroll-top" aria-label="Scroll to top">
<div class="scroll-top-icon">
<ion-icon name="arrow-up-outline"></ion-icon>
</div>
<svg class="progress-ring" width="60" height="60">
<circle class="progress-ring__circle" stroke="#ffffff" stroke-width="4" fill="transparent" r="28" cx="30" cy="30"></circle>
</svg>
</button>
<script>
let cartItemCount = 0;
// Function to handle Add to Cart button click
document.getElementById('cart-btn').addEventListener('click', function () {
cartItemCount++; // Increment cart count
document.getElementById('cart-count').textContent = cartItemCount; // Update cart count display
alert('Item added to cart'); // Show alert
});
</script>
<!-- this script is for twitter icon starts -->
<script src="https://kit.fontawesome.com/856f4a44d7.js" crossorigin="anonymous"></script>
<!-- this script is for twitter icon ends -->
<!-- Scripts -->
<script src="script.js"></script>
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "awMKW3zFwW7jzUNsN4Q8O",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="awMKW3zFwW7jzUNsN4Q8O"
domain="www.chatbase.co"
defer>
</script>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init();
</script>
</body>
</html>