-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
303 lines (264 loc) · 9.86 KB
/
home.php
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
<!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>Home</title>
<!-- font awesome cdn link -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
/>
<!-- swiper css link -->
<link
rel="stylesheet"
href="https://unpkg.com/swiper@7/swiper-bundle.min.css"
/>
<!-- cusom css file link -->
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="cart.css">
</head>
<body>
<!-- header section starts -->
<header class="header">
<a href="home.php" class="logo"><i class="fas fa-store"></i>E-kart</a>
<form action="" class="search-form">
<input type="search" id="search-box" placeholder="search here..." />
<label for="search-box" class="fas fa-search"></label>
</form>
<div class="icons">
<div id="menu-btn" class="fas fa-bars"></div>
<div id="search-btn" class="fas fa-search"></div>
<a href="login.php" class="fas fa-user"></a>
<a href="#" class="fas fa-heart"></a>
<a href="cart.php" class="fas fa-shopping-cart cart"><span>0</span></a>
</header>
<!-- header section ends -->
<!-- cart.js file linkikng -->
<script src="cart.js"></script>
<!-- side-bar section starts -->
<div class="side-bar">
<div id="close-side-bar" class="fas fa-times"></div>
<div class="user">
<img src="images/user-img.jpg" alt="" />
<h3>XYZ</h3>
<a href="#">log out</a>
</div>
<nav class="navbar">
<a href="home.php"><i class="fas fa-angle-right"></i>home</a>
<a href="about.php"><i class="fas fa-angle-right"></i>about</a>
<a href="products.php"><i class="fas fa-angle-right"></i>products</a>
<a href="contact.php"><i class="fas fa-angle-right"></i>contact</a>
<a href="login.php"><i class="fas fa-angle-right"></i>login</a>
<a href="register.php"><i class="fas fa-angle-right"></i>register</a>
<a href="cart.php"><i class="fas fa-angle-right"></i>cart</a>
</nav>
</div>
<!--side-bar section ends -->
<!-- home section starts -->
<section class="home">
<div class="swiper home-slider">
<div class="swiper-wrapper">
<div class="swiper-slide slide">
<div class="image">
<img src="images/home-img-1.jpg" alt="" />
</div>
<div class="content">
<span>upto 50% off</span>
<h3>smartphones</h3>
<a href="#" class="btn">shop now</a>
</div>
</div>
<div class="swiper-slide slide">
<div class="image">
<img src="images/home-img-2.jpg" alt="" />
</div>
<div class="content">
<span>upto 50% off</span>
<h3>smartwatch</h3>
<a href="#" class="btn">shop now</a>
</div>
</div>
<div class="swiper-slide slide">
<div class="image">
<img src="images/home-img-3.jpg" alt="" />
</div>
<div class="content">
<span>upto 50% off</span>
<h3>headphones</h3>
<a href="#" class="btn">shop now</a>
</div>
</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</section>
<!-- home section ends -->
<!-- banner section starts -->
<section class="banner">
<div class="box-container">
<a href="#" class="box">
<img src="images/banner-1.jpg" alt="" />
<div class="content">
<span>special offers</span>
<h3>upto 50% off</h3>
</div>
</a>
<a href="#" class="box">
<img src="images/banner-2.jpg" alt="" />
<div class="content">
<span>special offers</span>
<h3>upto 50% off</h3>
</div>
</a>
<a href="#" class="box">
<img src="images/banner-3.jpg" alt="" />
<div class="content">
<span>special offers</span>
<h3>upto 50% off</h3>
</div>
</a>
</div>
</section>
<!-- banner section ends -->
<!-- arrivals section starts -->
<section class="arrivals">
<h1 class="heading">new <span>arrivals</span></h1>
<div class="box-container">
<div class="box">
<div class="image">
<img src="images/arrival-1.jpg" class="main-img" alt="" />
<img src="images/arrival-1-hover.jpg" class="hover-img" alt="" />
</div>
<div class="content">
<h3>HD Television</h3>
<div class="price">₹50,000 <span>₹62,000</span></div>
<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>
<div class="box">
<div class="image">
<img src="images/arrival-2.jpg" class="main-img" alt="" />
<img src="images/arrival-2-hover.jpg" class="hover-img" alt="" />
</div>
<div class="content">
<h3>hp laptop</h3>
<div class="price">₹55,000 <span>₹60,599</span></div>
<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>
<div class="box">
<div class="image">
<img src="images/arrival-3.jpg" class="main-img" alt="" />
<img src="images/arrival-3-hover.jpg" class="hover-img" alt="" />
</div>
<div class="content">
<h3>new smartphone</h3>
<div class="price">₹25,000<span>₹32,500</span></div>
<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>
<div class="box">
<div class="image">
<img src="images/arrival-4.jpg" class="main-img" alt="" />
<img src="images/arrival-4-hover.jpg" class="hover-img" alt="" />
</div>
<div class="content">
<h3>new printer</h3>
<div class="price">₹17,000<span>₹20,000</span></div>
<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>
<div class="box">
<div class="image">
<img src="images/arrival-5.jpg" class="main-img" alt="" />
<img src="images/arrival-5-hover.jpg" class="hover-img" alt="" />
</div>
<div class="content">
<h3>new headphones</h3>
<div class="price">₹1,500<span>₹3,999</span></div>
<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>
<div class="box">
<div class="image">
<img src="images/arrival-6.jpg" class="main-img" alt="" />
<img src="images/arrival-6-hover.jpg" class="hover-img" alt="" />
</div>
<div class="content">
<h3>new speakers</h3>
<div class="price">₹1,999<span>₹3,999</span></div>
<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>
</div>
</section>
<!-- arrivals section ends -->
<!-- footer section starts -->
<section class="quick-links">
<a href="home.php" class="logo"><i class="fas fa-store"></i>E-kart</a>
<div class="links">
<a href="home.php">home</a>
<a href="about.php">about</a>
<a href="products.php">products</a>
<a href="contact.php">contact</a>
<a href="login.php">login</a>
<a href="register.php">register</a>
<a href="cart.php">cart</a>
</div>
<div class="share">
<a href="#" class="fab fa-facebook-f"></a>
<a href="#" class="fab fa-twitter"></a>
<a href="#" class="fab fa-instagram"></a>
<a href="#" class="fab fa-linkedin"></a>
</div>
</section>
<section class="credit">
<p>created by <span>web designer</span> | all rights reserved!</p>
<img src="images/card_image.png" alt="" />
</section>
<!-- footer section ends -->
<!-- swiper js link -->
<script src="https://unpkg.com/swiper@7/swiper-bundle.min.js"></script>
<!-- custom js file link -->
<script src="js/script.js"></script>
</body>
</html>