-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
297 lines (269 loc) · 12.2 KB
/
index.html
File metadata and controls
297 lines (269 loc) · 12.2 KB
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 name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/index.css">
<title>Document</title>
</head>
<body>
<!-- nav bar -->
<header id="navBar" class="flex darkTheme">
<div class="logo"><a href="/">LM</a></div>
<!-- search bar -->
<div class="searchBar sm">
<form action="/search" method="post">
<input type="text" placeholder="search">
<button class="btn iconBtn">
<i class="icon"><img src="websiteAssets/icons/search.png" alt="search"></i>
</button>
</form>
</div>
<!-- menu button -->
<button class="btn iconBtn tn">
<i class="icon"><img src="websiteAssets/icons/menu.png" alt="toggle menu"></i>
</button>
<nav>
<ul class="navLinks">
<li><a href="/about">about</a></li>
<li><a href="/contact">contact</a></li>
<div class="navLinks">
<li><a href="/cart"><i class="icon"><img src="websiteAssets/icons/shoppingCart.png" alt="shopping cart"></i></a></li>
<li><a href="/user"><i class="icon"><img src="websiteAssets/icons/userProfile.png" alt="user profile"></i></a></li>
</div>
</ul>
</nav>
</header>
<main>
<!-- herosection -->
<section id="heroSection" class="darkTheme">
<div class="flex">
<!-- left column -->
<div class="left intro flex cl">
<h1>Fresh and organic grocery right at your doorsteps</h1>
<div class="searchBar">
<form>
<input type="text" name="searchQuery" placeholder="search">
<button class="btn">search</button>
</form>
</div>
</div>
<!-- right column -->
<div class="right">
<img src="websiteAssets/images/grocery.png" id="heroImage">
</div>
</div>
</section>
<!-- benefits -->
<section id="benefits" class="flex">
<div class="card">
<img src="websiteAssets/images/free delivery.svg">
<h2>Free delivery</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, porro?</p>
</div>
<div class="card">
<img src="websiteAssets/images/discount.svg">
<h2>10% discount on first order</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, porro?</p>
</div>
<div class="card">
<img src="websiteAssets/images/return and refund.svg">
<h2>Easy return and refund</h2>
<p>Lorem ipsum dolor sit amet consectetur. In consectetur est sodales ut tincidunt nisi eget est.</p>
</div>
</section>
<!-- suggestions -->
<section id="suggestions">
<h2>our top products</h2>
<div class="listingRow grid">
<div class="productCard">
<a href="#">
<img src="websiteAssets/tmp/tmp1.jpg" alt="spinach" class="productImage">
<h3>spinach</h3>
<p class="price">price: $1</p>
<!-- quantity input -->
<div>
<div class="quantity">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/minus.png" alt="decrease quantity"></i>
</button>
<input type="text" name="quantity" value="1 kg">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/plus.png" alt="increase quantity"></i>
</button>
</div>
<button class="btn iconBtn cta">
<i class="icon"><img src="websiteAssets/icons/shoppingCart.png" alt="add to cart"></i>
</button>
</div>
</a>
</div>
<div class="productCard">
<a href="#">
<img src="websiteAssets/tmp/tmp2.jpg" alt="capsicum" class="productImage">
<h3>capsicum</h3>
<p class="price">price: $2</p>
<!-- quantity input -->
<div>
<div class="quantity">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/minus.png" alt="decrease quantity"></i>
</button>
<input type="text" name="quantity" value="1 kg" >
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/plus.png" alt="increase quantity"></i>
</button>
</div>
<button class="btn iconBtn cta">
<i class="icon"><img src="websiteAssets/icons/shoppingCart.png" alt="add to cart"></i>
</button>
</div>
</a>
</div>
<div class="productCard">
<a href="#">
<img src="websiteAssets/tmp/tmp3.jpg" alt="tomato" class="productImage">
<h3>tomato</h3>
<p class="price">price: $0.8</p>
<!-- quantity input -->
<div>
<div class="quantity">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/minus.png" alt="decrease quantity"></i>
</button>
<input type="text" name="quantity" value="1 kg">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/plus.png" alt="increase quantity"></i>
</button>
</div>
<button class="btn iconBtn cta">
<i class="icon"><img src="websiteAssets/icons/shoppingCart.png" alt="add to cart"></i>
</button>
</div>
</a>
</div>
<div class="productCard">
<a href="#">
<img src="websiteAssets/tmp/tmp4.jpg" alt="banana" class="productImage">
<h3>banana</h3>
<p class="price">price: $0.9</p>
<!-- quantity input -->
<div>
<div class="quantity">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/minus.png" alt="decrease quantity"></i>
</button>
<input type="text" name="quantity" value="1 kg">
<button class="btn iconBtn secondary light">
<i class="icon"><img src="websiteAssets/icons/plus.png" alt="increase quantity"></i>
</button>
</div>
<button class="btn iconBtn cta">
<i class="icon"><img src="websiteAssets/icons/shoppingCart.png" alt="add to cart"></i>
</button>
</div>
</a>
</div>
</div>
</section>
<!-- offers -->
<section id="offers" class="darkTheme">
<h2>best offers</h2>
<div class="flex">
<div class="card">
<img src="websiteAssets/tmp/tmp5.jpg" alt="potato" class="productImage">
<h3>potatoes</h3>
<p class="offer">15% off</p>
<button class="btn lg">add to cart</button>
</div>
<div class="card">
<img src="websiteAssets/tmp/tmp6.jpg" alt="apple" class="productImage">
<h3>apple</h3>
<p class="offer">7% off</p>
<button class="btn lg">add to cart</button>
</div>
<div class="card">
<img src="websiteAssets/tmp/tmp7.jpg" alt="product name" class="productImage">
<h3>milk</h3>
<p class="offer">10% off</p>
<button class="btn lg">add to cart</button>
</div>
</div>
</section>
<!-- categories -->
<section id="categories">
<h2>browse by categories</h2>
<div class="listing grid">
<div class="card">
<a href="#">
<img src="websiteAssets/tmp/tmp8.jpg" alt="vegetables">
<h3>vegetables</h3>
</a>
</div>
<div class="card">
<a href="#">
<img src="websiteAssets/tmp/tmp9.jpg" alt="fruits">
<h3>fruits</h3>
</a>
</div>
<div class="card">
<a href="#">
<img src="websiteAssets/tmp/tmp10.jpg" alt="dairy">
<h3>dairy</h3>
</a>
</div>
<div class="card">
<a href="#" class="cardLink">
<img src="websiteAssets/tmp/tmp11.jpg" alt="stationary">
<h3>stationary</h3>
</a>
</div>
</div>
</section>
<!-- final cta -->
<section id="finalCta">
<h2>search what you are looking for</h2>
<div class="searchBar lg">
<form>
<input type="text" placeholder="search">
<button class="btn">search</button>
</form>
</div>
</section>
</main>
<footer id="footer">
<div class="flex">
<div class="signUpForm">
<h2>get notified with latest offers by subscribing us</h2>
<form action="/subscribeEmail" class="form">
<input type="email" name="email" placeholder="email">
<input type="text" name="name" placeholder="name">
<button class="btn">subscribe</button>
</form>
</div>
<div>
<h2>useful Links</h2>
<nav>
<ul class="navLinks cl">
<li><a href="#">support</a></li>
<li><a href="#">careers</a></li>
<li><a href="#">contact us</a></li>
</ul>
</nav>
</div>
<div>
<h2>policies</h2>
<nav>
<ul class="navLinks cl">
<li><a href="#">terms and conditions</a></li>
<li><a href="#">privacy</a></li>
<li><a href="#">cookies</a></li>
</ul>
</nav>
</div>
</div>
<small class="copyright">Copyright © 2023 LM</small>
</footer>
</body>
</html>