-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
267 lines (227 loc) · 9.89 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Home</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<!-- Font awesome -->
<script src="https://kit.fontawesome.com/621175abe2.js" crossorigin="anonymous"></script>
<!-- Lottie -->
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</head>
<body>
<!-- Navigation bar -->
<header class="header">
<a href="index.html" class="logo"><i class="fas fa-shopping-basket"></i>Grocery</a>
<nav class="navbar">
<a href="Products.html">Products</a>
<a href="About-Us.html">About Us</a>
<a href="game.html">Game & Rewards</a>
</nav>
<div class="icons">
<div class="fas fa-bars" id="menu-btn"></div>
<div class="fas fa-search" id="search-btn"></div>
<a href="cart.html">
<div class="fas fa-shopping-cart" id="cart-btn"></div>
</a>
<div class="fas fa-user" id="login-btn"></div>
</div>
<!-- Profile Pop-up -->
<div class="profile-popup">
<div class="profile-name">
<h2 id="profile-name"></h2>
</div>
<div class="profile-content">
<lottie-player src="https://assets2.lottiefiles.com/packages/lf20_klurhj0n.json"
background="transparent" speed="0.5" style="width: 70px; height: 70px;" loop
autoplay></lottie-player>
<h4 id="profile-address"></h4>
<lottie-player src="https://assets8.lottiefiles.com/packages/lf20_trr378cy.json"
background="transparent" speed="1" style="width: 70px; height: 70px;" loop autoplay></lottie-player>
<h4 id="profile-coins"></h4>
</div>
</div>
<!-- Login Pop-up -->
<div class="login-popup">
<div class="login">
<lottie-player src="https://assets3.lottiefiles.com/datafiles/9Nu3WJLydErNDKf/data.json"
background="transparent" speed="0.5" style="width: 200px; height: 200px;" loop
autoplay></lottie-player>
<a href="login.html">Log in</a>
</div>
</div>
<form class="search-form">
<input id="search-input" type="text" placeholder="search here...">
<button id="search-logo" class="fas fa-search"></button>
</form>
</header>
<!--slides-container start here-->
<section class="home">
<div class="slides-container">
<div class="slide active">
<div class="content">
<span>fresh and organic</span>
<h3>up to 50% off</h3>
<a href="Products.html" class="slides-btn">shop now</a>
</div>
<div class="image">
<img src="images/home-img-1.png" alt="">
</div>
</div>
<div class="slide">
<div class="content">
<span>fresh and organic</span>
<h3>up to 50% off</h3>
<a href="Products.html" class="slides-btn">shop now</a>
</div>
<div class="image">
<img src="images/home-img-2.png" alt="">
</div>
</div>
<div class="slide">
<div class="content">
<span>fresh and organic</span>
<h3>up to 50% off</h3>
<a href="Products.html" class="slides-btn">shop now</a>
</div>
<div class="image">
<img src="images/home-img-3.png" alt="">
</div>
</div>
</div>
<div id="next-slide" class="fas fa-angle-right" onclick="next()"></div>
<div id="prev-slide" class="fas fa-angle-left" onclick="next()"></div>
</section>
<!--slides-container ends here-->
<!-- banner section starts -->
<section class="banner-container">
<div class="banner">
<img src="images/banner-1.jpg" alt="">
<div class="content">
<h3>special offer</h3>
<p>upto 45% off</p>
<a href="Products.html" class="slides-btn">check out</a>
</div>
</div>
<div class="banner">
<img src="images/banner-2.jpg" alt="">
<div class="content">
<h3>limited offer</h3>
<p>upto 50% off</p>
<a href="Products.html" class="slides-btn">check out</a>
</div>
</div>
</section>
<!-- banner section ends -->
<!-- product section starts -->
<section class="product" id="product">
<h1 class="heading">latest <span>products</span></h1>
<div class="box-container">
<div class="box">
<span class="discount">-33%</span>
<div class="icons">
<a href="Products.html" class="fas fa-share"></a>
</div>
<img src="https://media.nedigital.sg/fairprice/fpol/media/images/product/XL/13092609_BXL1.jpg?w=1200&q=70"
alt="">
<h3>Pasar Enoki Mushroom</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="price"> $1.35 <span> $1.80 </span> </div>
</div>
<div class="box">
<span class="discount">-45%</span>
<div class="icons">
<a href="Products.html" class="fas fa-share"></a>
</div>
<img src="https://media.nedigital.sg/fairprice/fpol/media/images/product/XL/90029815_XL1.jpg?w=1200&q=70"
alt="">
<h3>SUKIN Natural Balance Shampoo 1L</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="price"> $36.00 <span> $52.20 </span> </div>
</div>
<div class="box">
<span class="discount">-52%</span>
<div class="icons">
<a href="Products.html" class="fas fa-share"></a>
</div>
<img src="https://media.nedigital.sg/fairprice/fpol/media/images/product/XL/13007965_XL1_20230106.jpg?w=1200&q=70"
alt="">
<h3>Farmhouse UHT Milk - Fresh 1L</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="price"> $2.32 <span> $3.53 </span> </div>
</div>
<div class="box">
<span class="discount">-13%</span>
<div class="icons">
<a href="Products.html" class="fas fa-share"></a>
</div>
<img src="https://media.nedigital.sg/fairprice/fpol/media/images/product/XL/90144331_XL1_20220824.jpg?w=1200&q=70"
alt="">
<h3>Orgo Fresh Broccoli 250g</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
</section>
<!-- product section ends -->
<!-- footer section starts -->
<br>
<section class="footer">
<div class="box-container">
<div class="box">
<h3>quick links</h3>
<a href="index.html"> <i class="fas fa-arrow-right"></i> home</a>
<a href="Products.html"> <i class="fas fa-arrow-right"></i> shop</a>
<a href="About-Us.html"> <i class="fas fa-arrow-right"></i> about</a>
<a href="game.html"> <i class="fas fa-arrow-right"></i> game</a>
</div>
<div class="box">
<h3>follow us</h3>
<a href="https://www.facebook.com/index.php"> <i class="fab fa-facebook-f"></i> facebook </a>
<a href="https://twitter.com/?lang=en-sg"> <i class="fab fa-twitter"></i> twitter </a>
<a href="https://www.instagram.com/"> <i class="fab fa-instagram"></i> instagram </a>
<a href="https://www.linkedin.com/"> <i class="fab fa-linkedin"></i> linkedin </a>
</div>
<div class="box">
<h3>newsletter</h3>
<p>subscribe for latest updates</p>
<form action="POST">
<input type="email" placeholder="enter your email">
<input type="submit" value="subscribe" class="slides-btn">
</form>
</div>
</div>
</section>
<!-- footer section ends -->
<!-- <script src="lottie-loading.js"></script> -->
<script src="https://code.jquery.com/jquery-3.5.1.js"
integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
</body>
</html>