-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccesories.html
194 lines (164 loc) · 7.91 KB
/
accesories.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="accesories.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Accessory Showcase</title>
</head>
<body>
<!--navigation bar-->
<nav class="navigation-bar">
<div class="company-name">
<h2>Ride-O-Holic</h2>
</div>
<ul class="nav-buttons">
<li><a href="index.html">Home</a></li>
<li class="dropdown">
<a href="#">Bikes</a>
<ul class="dropdown-content">
<li><a href="royalenfeild.html">Royal Enfeild</a></li>
<li><a href="TVS.html">TVS</a></li>
<li><a href="yamaha.html">Yamaha</a></li>
<li><a href="Hero.html">Hero</a></li>
<li><a href="Bajaj.html">Bajaj</a></li>
</ul>
</li>
<li class="dropdown">
<a href="accesories.html">Accessories</a>
</li>
<li class="dropdown">
<a href="services.html">Services</a></li>
</li>
<li><a href="events.html">Events</a></li>
<li><a href="partnerships.html">Partnership</a></li>
<li><a href="AboutUs.html">About Us</a></li>
<li class="dropdown">
</li>
<li class="dropdown">
<a href="#">Login</a>
<ul class="dropdown-content">
<li><a href="#" onclick="window.location.href = 'customerlogin.html';">Customer Login</a></li>
</ul>
</li>
</ul>
</nav>
<!--slideshow images-->
<!-- Slideshow container -->
<div class="slideshow-container">
<!-- Full-width images with number and caption text -->
<div class="slideshow-container">
<div class="mySlides fade">
<img src="Accessories/Helmet/helmet.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="Accessories/Gloves/GLOVES.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="Accessories/Shoes/shoes.jpg" style="width:100%">
</div>
<div class="mySlides fade">
<img src="Accessories/Jacket/jackets.jpg" style="width:100%">
</div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br>
<h1 style="color: white; padding: 10px; text-align: center;">Accessory Showcase</h1>
<section id="accessoryContainer">
<!-- Accessories will be dynamically added here using JavaScript -->
</section>
<div class="footer">
<div class="footer-section">
<h2>Why Choose Us?</h2>
<p>Ride-O-Holic is a groundbreaking online platform that bridges the gap between customers and esteemed
bike
dealers, simplifying the process of acquiring a new bike. With an extensive range of bike choices
and
personalized suggestions, Ride-O-Holic ensures an individualized and enjoyable shopping experience.
<br>The
platform's user-friendly interface provides comprehensive details, expert insights, and secure
transactions.
</p>
</div>
<div class="footer-section">
<h2>Quick Links</h2>
<ul class="footer-list">
<li class="footer-list-item"><a href="royalenfeild.html">Royal Enfeild</a></li>
<li class="footer-list-item"><a href="TVS.html">TVS</a></li>
<li class="footer-list-item"><a href="yamaha.html">Yamaha</a></li>
<li class="footer-list-item"><a href="Hero.html">Hero</a></li>
<li class="footer-list-item"><a href="Bajaj.html">Bajaj</a></li>
<li class="footer-list-item"><a href="#">Bike Wash</a></li>
<li class="footer-list-item"><a href="#">Foam Wash</a></li>
<li class="footer-list-item"><a href="#">Service Center</a></li>
</ul>
</div>
<div class="footer-section">
<h2>Contact Us</h2>
<ul class="footer-list">
<li class="footer-list-item"><a href="#"><i class="fa fa-instagram"></i></a></li>
<li class="footer-list-item"><a href="#"><i class="fa fa-twitter"></i></a></li>
<li class="footer-list-item"><a href="#"><i class="fa fa-facebook "></i></a></li>
<li class="footer-list-item"><a href="#"><i class="fa fa-envelope"></i></a></li>
</ul>
</div>
</div>
<hr style="color: white;">
<p style="color: white;" style="font-size: xx-small">@Ride-O-Holic. T&C applied. Made By Kunj, Naman, Snigdh,
Varenyam</p>
<script>
// Sample data for accessories
const accessories = [
{ name: 'Helmet', image: 'Accessories/Helmet/main.jpg', productPage: 'Helmets.html'},
{ name: 'Shoes', image: 'Accessories/Shoes/main shoes image.jpg' , productPage: 'Shoes.html'},
{ name: 'jackets', image: 'Accessories/Jacket/MAIN.jpg' , productPage:'Jacket.html'},
{ name: 'Gloves', image: 'Accessories/Gloves/main gloves.jpg' , productPage:'Gloves.html'},
// Add more accessories as needed
];
// Function to display accessories on the webpage
function displayAccessories() {
const accessoryContainer = document.getElementById('accessoryContainer');
accessories.forEach(accessory => {
const accessoryElement = document.createElement('div');
accessoryElement.classList.add('accessory');
accessoryElement.innerHTML = `
<a href="${accessory.productPage}">
<img src="${accessory.image}" alt="${accessory.name}" style="max-width: 100%;">
<h2>${accessory.name}</h2>
</a>
`;
accessoryContainer.appendChild(accessoryElement);
});
}
// Call the function to display accessories
displayAccessories();
</script>
<script>
let slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("dot");
if (n > slides.length) { slideIndex = 1 }
if (n < 1) { slideIndex = slides.length }
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " active";
}
</script>
</body>
</html>