-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
159 lines (154 loc) · 6.58 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
<!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>GeekBuying</title>
<link rel="shortcut icon" href="./images/Geekbuying_title_logo.png" type="image/x-icon">
<script src="https://kit.fontawesome.com/29bd650e28.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./styles/index.css">
<link rel="stylesheet" href="https://unpkg.com/flickity@2/dist/flickity.min.css">
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>
<link rel="stylesheet" href="./node_modules/flickity/css/">
<link rel="stylesheet" href="./styles/navbar.css">
<link rel="stylesheet" href="./styles/footer.css">
</head>
<!-- <script src="./scripts/index.js"> -->
</script>
<body>
<div id="navbar">
</div>
<div id="main_brands_main_bottom">
<div id="carosel">
<div class="main_carousel" data-flickity='{ "freeScroll":true, "autoPlay":true }'>
<div class="carousel_cell">
<img class="carosel_1">
</div>
<div class="carousel_cell">
<img class="carosel_1">
</div>
<div class="carousel_cell">
<img class="carosel_1">
</div>
<div class="carousel_cell">
<img class="carosel_1">
</div>
<div class="carousel_cell">
<img class="carosel_1">
</div>
<div class="carousel_cell">
<img class="carosel_1">
</div>
</div>
<div>
<div class="main">
<p>Deal of the Day <span id="timer"></span></p>
<div id="dealDay"></div>
</div>
<div class="main">
<p>Featured Products</p>
<div id="featured"></div>
</div>
</div>
</div>
<div id="new_for_you_category">
<p class="main_title">New For You <span><a href="">See more</a></span></p>
<div id="new_for_you_product"></div>
</div>
<div id="trending_category">
<p class="main_title">Trending Categories<span><a href="">See more</a></span></p>
<div id="trending_product"></div>
</div>
<div id="enjoy_life">
<p class="main_title">Enjoy Life</p>
<div id="enjoy_life_product">
<div id="enjoy_life_1">
<img src="https://img.gkbcdn.com/bn/2205/500x632-6290272b2b40c91cb007bd35._p1_.jpg">
</div>
<div class="enjoy_life_2">
<div class="enjoy_life_2_1">
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x2102-62902a182b40c91cb09e7ad9._p1_.jpg" alt="">
<p>Adventurers' electric scooter</p>
</div>
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x2104-62902c152b40c91cb09e7ada._p1_.jpg" alt="">
<p>Cost-effective commuting</p>
</div>
</div>
<div class="enjoy_life_2_1">
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x2103-62902ce92b40c91cb09e7adb._p1_.jpg" alt="">
<p>Lightweight laptop for play</p>
</div>
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x2105-62902f152b40c91cb09e7adc._p1_.jpg" alt="">
<p>Health benefits for standing</p>
</div>
</div>
</div>
<div class="enjoy_life_2">
<div class="enjoy_life_2_1">
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x210-629032502b40c91cb0af0c93._p1_.jpg" alt="">
<p>Spring Black Friday is Here</p>
</div>
<div>
<img src="https://img.gkbcdn.com/s3/bn/2206/lALPJuZB2ShsBi3M0szS210210-629de75c2b40c92584276d1f.png" alt="">
<p>Tronsmart TWS speaker</p>
</div>
</div>
<div class="enjoy_life_2_1">
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x2102-629039202b40c91cb0d51f4c._p1_.jpg" alt="">
<p>TikTok Trending</p>
</div>
<div>
<img src="https://img.gkbcdn.com/bn/2205/210x210-6290393f2b40c91cb0d51f4d._p1_.jpg" alt="">
<p>Kitchen & Dining</p>
</div>
</div>
</div>
</div>
</div>
<div id="best_seller">
<p class="main_title">Best Sellers <span><a href="">See more</a></span></p>
<div id="best_seller_product"></div>
</div>
<div class="main_top">
<p class="main_title">Popular Brands</p>
</div>
<img id="lazy_img">
<div class="brand_products"></div>
<div class="brand_products1"></div>
<div class="brand_products2"></div>
<div class="brand_products3"></div>
<div class="main_top">
<p class="main_title">Recommended For You</p>
</div>
<div id="rocommend">
<div class="slide_left">
<span><i class="fa-solid fa-circle-chevron-left"></i></span>
</div>
<div class="recommended"></div>
<div class="slide_right">
<span><i class="fa-solid fa-circle-chevron-right"></i></span>
</div>
</div>
</div>
<div id="footer1"></div>
<div id="footer2"></div>
</body>
</html>
<script src="./scripts/index.js"></script>
<script type="module">
import exportF1 from './components/footer1.js'
document.querySelector("#footer1").innerHTML=exportF1()
import exportF2 from './components/footer2.js'
document.querySelector("#footer2").innerHTML=exportF2()
import exportNav from './components/nav.js'
document.querySelector("#navbar").innerHTML=exportNav()
</script>
<script type="module" src="./scripts/navbar.js">
</script>