-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
366 lines (264 loc) · 9.79 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
<!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="stylesheet" href="./homepage/index.css">
<link rel="stylesheet" href="./homepage/footer.css">
<link rel="stylesheet" href="./homepage/autoSilder.css">
<link rel="stylesheet" href="/fontawesome-free-6.0.0-web/css/all.min.css">
<link rel="stylesheet" href="./homepage/navbar.css">
</head>
<body>
<div id="navbar">
</div>
<!-- navbar end -->
<!-- slidebar starts -->
<div id="mainContainer">
<div id="slideshowContainer">
<div id="leftArrow">
<img style="margin-top: -9px; margin-left: -5px; height: 40px;" src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/home-slider-left-v2.svg" alt="">
</div>
<div id="rightArrow" onclick="plusSlides(1)">
<img style="margin-top: -9px; margin-right: -5px; height: 40px;" src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/home-slider-right-v2.svg" alt="">
</div>
<div class="imageContainer">
<img
src="https://img5.hkrtcdn.com/18116/bnr_1811544_o.jpg"
alt="Loaing..."
/>
</div>
<div class="imageContainer">
<img
src="https://img5.hkrtcdn.com/18122/bnr_1812184_o.jpg
"
alt="Loaing..."
/>
</div>
<div class="imageContainer">
<img
src="https://img5.hkrtcdn.com/18123/bnr_1812294_o.jpg
"
alt="https://img9.hkrtcdn.com/18116/bnr_1811548_o.jpg"
/>
</div>
<div class="imageContainer">
<img
src="https://img7.hkrtcdn.com/18116/bnr_1811556_o.jpg
"
alt="Loaing..."
/>
</div>
<div class="imageContainer">
<img
src="https://img1.hkrtcdn.com/18116/bnr_1811570_o.jpg
"
alt="Loaing..."
/>
</div>
<div class="imageContainer">
<img
src="https://img5.hkrtcdn.com/18116/bnr_1811574_o.jpg
"
alt="Loaing..."
/>
</div>
</div>
</div>
<div id="dotsContainer"></div>
<!-- flash sale -->
<div class="cont" id="box_flash_sale">
<div class="inner1_f">
<div><i class="fas fa-bolt"></i> Flash Sale</div>
<button class="view_btn_f" onclick="productPage()" >View All</button>
</div>
<div class="inner2_f" id="inner2_f">
</div>
<button class="LEFTbtn" id="trendingLeftBtn"></button>
<button class="RIGHTbtn" id="trendingRightBtn"> </button>
</div>
<!-- trending -->
<div class="cont" id="box_trending_now">
<div class="inner1_f">
<div> Trending Now</div>
<button class="view_btn_f" onclick="productPage()">View All</button>
</div>
<div class="inner2_f" id="inner2_trendingNow">
</div>
<button class="LEFTbtn" id="trendingLeftBtn_trendingNow"></button>
<button class="RIGHTbtn" id="trendingRightBtn_trendingNow"> </button>
</div>
<!-- category -->
<div id="category">
<h1>What are you looking for, User?</h1>
<div>
<img src="https://img2.hkrtcdn.com/13437/normal_1343641_o.png" alt="">
<img src="https://img8.hkrtcdn.com/13471/normal_1347067_o.png" alt="">
<img src="https://img8.hkrtcdn.com/13530/bnr_1352997_o.png" alt="">
<img src="https://img6.hkrtcdn.com/15625/bnr_1562425_o.png" alt="">
<img src="https://img4.hkrtcdn.com/13471/normal_1347073_o.png" alt="">
<img src="https://img6.hkrtcdn.com/13471/normal_1347075_o.png" alt="">
<img src="https://img4.hkrtcdn.com/13465/normal_1346413_o.png" alt="">
<img src="https://img10.hkrtcdn.com/13471/normal_1347079_o.png" alt="">
</div>
</div>
<!-- category -->
<!-- popular in sports -->
<div class="popular" id="box_popular_for_sport">
<div class="inner1_pop"> Popular in Sports Nutrition</div>
<div class="inner2_pop">
<div class="inner2_1_pop" id="inner2_1_popular_for_sport">
<button class="popularLeft" id="trendingLeftBtn_popular_for_sport"></button>
<button class="popularRight" id="trendingRightBtn_popular_for_sport"> </button>
</div>
</div>
</div>
<!-- popular in sports -->
<!-- popular in weight -->
<div class="popular" id="box_popular_in_weight">
<div class="inner1_pop"> Popular in Weight Loss</div>
<div class="inner2_pop">
<div class="inner2_1_pop" id="inner2_1_popular_in_weight">
<button class="popularLeft" id="trendingLeftBtn_popular_in_weight"></button>
<button class="popularRight" id="trendingRightBtn_popular_in_weight"> </button>
</div>
</div>
</div>
<!-- popular in weight -->
<!--- trending in whey -->
<div class="cont" id="box_trending_whey">
<div class="inner1_f">
<div> Trending in Whey Protien </div>
<button class="view_btn_f" onclick="productPage()">View All</button>
</div>
<div class="inner2_f" id="inner2_trending_whey">
</div>
<button class="LEFTbtn" id="trendingLeftBtn_whey_protiens"></button>
<button class="RIGHTbtn" id="trendingRightBtn_whey_protiens"> </button>
</div>
<!--- trending in whey -->
<!--- popular in health -->
<div class="popular" id="box_popular_in_health">
<div class="inner1_pop"> Popular in Health Foods & Drinks</div>
<div class="inner2_pop">
<div class="inner2_1_pop" id="inner2_1_popular_in_health">
<button class="popularLeft" id="trendingLeftBtn_popular_in_health"></button>
<button class="popularRight" id="trendingRightBtn_popular_in_health"> </button>
</div>
</div>
</div>
<!--- popular in health -->
<!-- trending in Mass Gainer -->
<div class="cont" id="box_trending_in_massGainer">
<div class="inner1_f">
<div> Trending in Mass Gainers </div>
<button class="view_btn_f" onclick="productPage()">View All</button>
</div>
<div class="inner2_f" id="inner2_trending_in_massGainer">
</div>
<button class="LEFTbtn" id="trendingLeftBtn_trending_in_massGainer"></button>
<button class="RIGHTbtn" id="trendingRightBtn_trending_in_massGainer"> </button>
</div>
<!-- trending in Mass Gainer -->
<!-- popular in fitness -->
<div class="popular" id="box_popular_in_fitness">
<div class="inner1_pop">Popular in Fitness</div>
<div class="inner2_pop">
<div class="inner2_1_pop" id="inner2_1_popular_in_fitness">
</div>
</div>
</div>
<!-- popular in fitness -->
<!--- trending in Premium supliment-->
<div class="cont" id="box_trending_premium">
<div class="inner1_f">
<div> Trending in Premium Supplements </div>
<button class="view_btn_f" onclick="productPage()">View All</button>
</div>
<div class="inner2_f" id="inner2_trending_premium">
</div>
<button class="LEFTbtn" id="trendingLeftBtn_trending_premium"></button>
<button class="RIGHTbtn" id="trendingRightBtn_trending_premium"> </button>
</div>
<!--- trending in Premium supliment-->
<!-- TrueBasics -->
<div id="truebasic">
<div>
<img src="https://img6.hkrtcdn.com/7590/bnr_758975_o.png" alt="">
<div>
<h4>TrueBasics Flat 10% Off</h4>
<p>Clinically Researched Essentials</p>
<button>shop now</button>
</div>
</div>
<div class="block_div"></div>
<div>
<img src="https://img6.hkrtcdn.com/3343/bnr_334225_o.png" alt="">
<div>
<h4>MuscleBlaze Upto 25% Off</h4>
<p>More Power To You</p>
<button>shop now</button>
</div>
</div>
</div>
</div>
<!-- TrueBasics -->
<!-- just launched -->
<div class="cont" id="box_just_Lanch">
<div class="inner1_f">
<div>Just Launched Product </div>
<button class="view_btn_f" onclick="productPage()">View All</button>
</div>
<div class="inner2_f" id="inner2_just_Lanch">
</div>
<button class="LEFTbtn" id="trendingLeftBtn_just_Lanch"></button>
<button class="RIGHTbtn" id="trendingRightBtn_just_Lanch"> </button>
</div>
<!-- just launched -->
<div id="main">
<div id="features">
<div class="box">
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/hk-cash-icon.svg" alt="">
<h3>Earn HK Cash</h3>
<p>Shop with us and get HK Cash to redeem on your next purchase. Know more about HK Cash</p>
</div>
<div class="box">
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/safe-payment-icon.svg" alt="">
<h3>Safe Payments</h3>
<p>Pay with the world’s most popular and secure payment methods.</p>
</div>
<div class="box">
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/authenticity-icon.svg" alt="">
<h3>Authenticity Guaranteed</h3>
<p>100% authentic products for our customers</p>
</div>
<div class="box">
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/andriod-icon.svg" alt="">
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/apple-icon.svg" alt="">
<h3>Download Healthkart App</h3>
<p>Get the best experience of Healthkart at your fingertips.</p>
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/playstore-icon.svg" alt="">
<img src="https://static1.hkrtcdn.com/hknext/static/media/common/misc/appstore-icon.svg" alt="">
</div>
</div>
<!-- footer -->
<div id="main">
</div>
</div>
</body>
</html>
<script src="./homepage/index.js"></script>
<script src="./homepage/autoslider.js"></script>
<script type="module">
import {navbar} from './homepage/navbar.js'
let nav = document.getElementById('navbar')
nav.innerHTML = navbar();
import {footer} from './homepage/footer.js'
let main = document.getElementById('main')
main.innerHTML = footer();
function myLoginFunction(){
window.location.href="login.html"
}
</script>