-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
297 lines (259 loc) · 17.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap" rel="stylesheet">
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.13.0/css/all.css"
integrity="sha384-Bfad6CLCknfcloXFOyFnlgtENryhrpZCe29RTifKEixXQZ38WheV+i/6YWSzkz3V"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/navbar.css">
<link rel="stylesheet" href="styles/carousel.css">
<link rel="stylesheet" href="styles/index.css">
<link rel="stylesheet" href="styles/footer.css">
</head>
<body>
<div id="navbar">
</div>
<div id="carousel">
</div>
<div class="overlay-sec">
<div class="overlay-img-box">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/callout_img1.jpg"
alt="">
<div class="img-overlay">
<h2 class="img-title">SPORTS</h2>
<p class="overlay-img-desc">Looking for Hiking Boots, Walking Shoes, Sandals or
Outdoor Wear? Choose from a large range today.</p>
<button>BADMINTON</button>
<button>FOOTBALL</button>
<button>TENNIS</button>
</div>
</div>
<div class="overlay-img-box">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/callout_img2.jpg"
alt="">
<div class="img-overlay">
<h2 class="img-title">FITNESS</h2>
<p class="overlay-img-desc">A large selection of gym shoes & gym wear designed to
keep you cool and dry whilst looking good in the gym.</p>
<button>GYM ACCESSORIES</button>
<button>RUNNING</button>
<button>STRENGTH TRAINING</button>
</div>
</div>
<div class="overlay-img-box">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/callout_img3.jpg"
alt="">
<div class="img-overlay">
<h2 class="img-title">SHOES</h2>
<p class="overlay-img-desc">Looking for Hiking Boots, Walking Shoes, Sandals or
Outdoor Wear? Choose from a large range today.</p>
<button>SHOES-SQUASH</button>
<button>FOOTBALL</button>
<button>RUNNING</button>
</div>
</div>
</div>
<div class="container-sliding">
<div class="carousal-1">
<div class="slider_1">
<section>
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/bslide1.jpg" alt="">
</section>
<section>
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/BadmintonStringing.jpg" alt="">
</section>
<section>
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/bslide5.jpg" alt="">
</section>
<section>
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/bslide2.jpg" alt="">
</section>
</div>
</div>
<div class="carousal-2">
<div class="slider_2">
<section>
<p class="heading-slider">BADMINTON RACKET STRINGING</p>
<p class="description-slider">Some Players prefer to have the comfort, power and flexibility to choose a contribution of features on a single string. For this,
few tennis brands offer Hybrid Strings, which have one string for Mans and a different string for Crosses now. Now, YOU can also
create your very own hybrid string!
</p>
<p class="description-slider">
To avail of this service at sportsjam.in add your favourite racket in your order, along with Tennis Strings for Mains and Tennis
String for Crosses (Hybrid Stringing). Please note that a good understanding of string features are required to achieve an optimum
balance between comfort, durability, control and power.
</p>
<div>Read More</div>
</section>
<section>
<p class="heading-slider">HYBRID RACKET STRINGING</p>
<p class="description-slider">Intermediate and advanced rackets usually come in unstrung condition. We help you with atring it with your choice of strings, to get your racket
perform as per your playing style.
</p>
<p class="description-slider">
At Sportsjam.in, we offer the best range of tennis and badminton rackets and strings of top brands, To avail this service, mentioning your choice
of string and tension in your order, Get your very own customized racket - ready to play!
</p>
<div>Read More</div>
</section>
<section>
<p class="heading-slider">TT BAT ASSEMBLY</p>
<p class="description-slider">Choose a ready-to-play Table bat from the best manufactures or build your very own customized bat!</p>
<p class="description-slider">We provide you a wide range of Rubbers and Blades from the best brands. Now you can make your desired combination
across brands and according to your playing style. To avail this service at
Sportsjam.in, add a blade, 2 rubbers (black and red) and the TT bat assembly service in your order.
</p>
<div>Read More</div>
</section>
<section>
<p class="heading-slider">CRICKET BAT KNOCKING IN</p>
<p class="description-slider">Buying your best suited Cricket Bat is the key to score those massive runs - true, yet the important process often ignored is getting your bat ready
to play.
</p>
<p class="description-slider">
Get your bat kmocked-in to prepare the blade for optimum performance and longivity. In this, the bat goes through a process of oiling
and hammer/ball knocks to make it ready to face the impact of high speed deliveries. To avail this service at Sportsjam.in, add your
desired English willow bat along with the knocking-in service in your order.
</p>
<div>Read More</div>
</section>
</div>
</div>
</div>
<div class="controls">
<span class="slide1">RACKET STRINGING</span>
<span class="slide2">HYBRID STRINGING</span>
<span class="slide3">TT ASSEMBLY</span>
<span class="slide4">BAT KNOCKING</span>
</div>
<!--Our customized services part end-->
<div class="victor">
<div>
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/victor-offer.jpg" alt="">
<p>VICTOR SHOWS</p>
</div>
<div>
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/Slinger.jpg" alt="">
<p>SLINGER GRAND SLAM PACK</p>
</div>
</div>
<img class="img-last" src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/yonex-racquet-offer.jpg" alt="">
<marquee behavior="slide" direction="left">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-16.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-20.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-23.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-25.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-28.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-29.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-33.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-34.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-37.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-38.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-07.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-08.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-15.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-02.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-10.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-16.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-20.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-23.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-25.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-28.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-29.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-33.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-34.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-37.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-38.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-07.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-08.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-15.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-02.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-10.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-16.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-20.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-23.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-25.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-28.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-29.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-33.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-34.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-37.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-38.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-07.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-08.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-15.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-02.jpg" alt="">
<img src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/brand-logo-10.jpg" alt="">
</marquee>
</div>
<div class="left-text">
<div class="rightimg">
<img alt="Sportsjam Store" src="https://storage.sg.content-cdn.io/in-resources/b368029c-a4dd-448a-a888-58348cb1b144/Images/userimages/bta-store.jpg">
</div>
<div class="leftpara">
<h2>About Sportsjam</h2>
<p>Let's get going to dig out the best products in your game & make 'em available right at your doorstep. We
will be glad to serve you in any city in India & speedily, so that you enjoy your product in the coming
weekend! All this, with no shipping charges if you purchase above Rs.1000.</p>
<p>Scout through your favourite brands with latest technologies. Just click & be its proud owner, at the
best available price in the market. Come, help us help you to fly high with your new & improved game
with high quality sportsgear!</p>
<a class="btn" href="https://www.sportsjam.in/pages/Contact-Us/pgid-68433.aspx">find our store</a>
</div>
</div>
<div class="callout4">
<h2>Testimonials</h2>
<p>Amazing products and Excellent Service. Whenever I have called, I have got professional, prompt and consistent
reply. Even during giving the free tshirt, you guys called to know the size, but unfortunately the size is large
on me. Any chances I can exchange with M size. Although I am loving my new racquet. - <b>Rajnish, New Delhi</b>
</p>
<a class="btn" href="/pages/testimonials/pgid-1304966.aspx">View All</a>
</div>
<div id="footer"></div>
</body>
</html>
<script type="module">
let initialUserObj = JSON.parse(localStorage.getItem("userData"))
if(initialUserObj==null) {
localStorage.setItem("userData",JSON.stringify({}))
}
import categories from "./categories.js"
import {carousel,carouselScript} from "./components/carousel.js"
import sliders from "./scripts/sliders.js"
import footer from "./components/footer.js"
sliders()
import {navbar,createDropdown,updateCart,checkLogStatus} from "./components/navbar.js"
document.getElementById("navbar").innerHTML = navbar()
createDropdown(categories)
updateCart()
checkLogStatus()
document.getElementById("carousel").innerHTML = carousel()
carouselScript()
document.getElementById("footer").innerHTML = footer()
document.getElementById("logInBtn").addEventListener("click",()=>{
let logInBtn = document.getElementById("logInBtn")
if(logInBtn.innerText=="Log Out") {
localStorage.setItem("userData",JSON.stringify({}))
window.location.reload();
} else{
window.location.href = "signin.html"
checkLogStatus()
}
})
document.getElementById("createUser").addEventListener("click",()=>{
let createUserBtn = document.getElementById("createUser");
if(createUserBtn.innerText=="Create Account") {
window.location.href = "signup.html"
}
})
</script>