forked from mdazfar2/Ezyshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
products.html
338 lines (306 loc) · 15.8 KB
/
products.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Ezyshop</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="Free HTML Templates" name="keywords" />
<meta content="Free HTML Templates" name="description" />
<link rel="shortcut icon" href="img/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<!-- Favicon -->
<link href="img/favicon.ico" rel="icon" />
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Handlee&family=Nunito&display=swap"
rel="stylesheet"
/>
<!-- Font Awesome -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"
rel="stylesheet"
/>
<!-- Flaticon Font -->
<link href="lib/flaticon/font/flaticon.css" rel="stylesheet" />
<!-- Libraries Stylesheet -->
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet" />
<link href="lib/lightbox/css/lightbox.min.css" rel="stylesheet" />
<!-- Customized Bootstrap Stylesheet -->
<link href="css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="css\footer.css" />
<link rel="stylesheet" href="css\product.css">
<link rel="stylesheet" href="css/newsLetter.css">
</head>
<body class="d-none">
<!-- Navbar Start -->
<div class="container-fluid bg-light position-relative shadow">
<nav class="navbar navbar-expand-lg bg-light navbar-light py-3 py-lg-0 px-0 px-lg-5">
<a href="index.html" class="navbar-brand font-weight-bold text-secondary" style="font-size: 50px">
<img style="width: 80px" src="./img/ezyshop.png" alt="logo" />
<span class="text-primary">Ezyshop</span>
</a>
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarCollapse">
<div class="navbar-nav font-weight-bold mx-auto py-0">
<a href="index.html" class="nav-item nav-link active">Home</a>
<a href="about.html" class="nav-item nav-link">About</a>
<a href="Category.html" class="nav-item nav-link">Categories</a>
<a href="team.html" class="nav-item nav-link">Teams</a>
<div class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Pages</a>
<div class="dropdown-menu rounded-0 m-0">
<a href="blog.html" class="dropdown-item">Blog Grid</a>
<a href="single.html" class="dropdown-item">Blog Detail</a>
</div>
</div>
<a href="contact.html" class="nav-item nav-link">Contact</a>
</div>
<a id="authButton" href="RegisterPages/register.html" class="btn btn-primary px-4">Login/SignUp</a>
</div>
</nav>
</div>
<!-- Navbar End -->
<!-- Header Start -->
<div class="container-fluid bg-primary mb-5">
<div
class="d-flex flex-column align-items-center justify-content-center"
style="min-height: 400px"
>
<h3 id="big-heading" class="display-3 font-weight-bold text-white">Our Categories</h3>
<div class="d-inline-flex text-white">
<p class="m-0"><a class="text-white" href="index.html">Home</a></p>
<p class="m-0 px-2">/</p>
<p id="path-general" class="m-0"><a class="text-white" href="category.html">Our Categories</a></p>
<p class="m-0 px-2">/</p>
<p id="path-specific" class="m-0">category-name</p>
</div>
</div>
</div>
<!-- Header End -->
<!-- Search Bar Start -->
<div class="container-fluid ">
<div class="row px-2">
<div class="col-12">
<div class="input-group search-input-group mb-3">
<input type="text" class="form-control search-form-control" id="search-input" placeholder="Search products...">
<div class="input-group-append search-input-group-append">
<button id="search-button" class="btn btn-primary" onclick="filterProducts()">
<i class="fas fa-search"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Search Bar End -->
<!-- Class Start -->
<div class="container-fluid pt-5">
<div class="container">
<div id="product-container" class="row">
<div id="spinner" class="col-12 flex justify-content-center align-items-center"></div>
</div>
<div class="center" style="margin-top: 2rem;">
<button id="load-more-products" class="btn btn-primary px-4 py-2 " onclick="loadMoreProducts()">Load More</button>
</div>
<div id="end-message" style="display: none; margin-top: 2rem;"><p class="text-center">You have reached the end of the products!</p></div>
</div>
</div>
<!-- Class End -->
<!-- Registration Start -->
<div class="container-fluid py-5">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-7 mb-5 mb-lg-0">
<p class="section-title pr-5"><span class="pr-2">Contact Us</span></p>
<h1 class="mb-4">Get in Touch with ezyshop</h1>
<p>Have questions about your order, our services, or need assistance with anything? We're here to
help! Reach out to us, and we'll get back to you as soon as possible.</p>
<ul class="list-inline m-0">
<li class="py-2"><i class="fa fa-check text-success mr-3"></i>Fast and Reliable Customer Support
</li>
<li class="py-2"><i class="fa fa-check text-success mr-3"></i>Personalized Shopping Experience
</li>
<li class="py-2"><i class="fa fa-check text-success mr-3"></i>Real-Time Order Tracking</li>
</ul>
<a href="" class="btn btn-primary mt-4 py-2 px-4">Send Message</a>
</div>
<div class="col-lg-5">
<div class="card border-0">
<div class="card-header bg-secondary text-center p-4">
<h1 class="text-white m-0">Fill Form</h1>
</div>
<div class="card-body rounded-bottom bg-primary p-5">
<form>
<div class="form-group">
<input type="text" class="form-control border-0 p-4" placeholder="Your Name"
required="required" />
</div>
<div class="form-group">
<input type="email" class="form-control border-0 p-4" placeholder="Your Email"
required="required" />
</div>
<div class="form-group">
<select class="custom-select border-0 px-4" style="height: 47px;">
<option selected>Select A Section</option>
<option value="1">Order Status</option>
<option value="2">Product Information</option>
<option value="3">Delivery Issues</option>
<option value="4">Feedback/Suggestions</option>
<option value="3">Other</option>
</select>
</div>
<div>
<button class="btn btn-secondary btn-block border-0 py-3"
type="submit">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Registration End -->
<!-- Footer Start -->
<div class="container-fluid bg-secondary text-white mt-5 py-5 px-sm-3 px-md-5">
<div class="row pt-5">
<div class="col-lg-3 col-md-6 mb-5">
<a href="" class="navbar-brand font-weight-bold text-primary m-0 mb-4 p-0" style="font-size: 40px; line-height: 40px">
<img style="width: 80px" src="./img/ezyshop.png" alt="logo" />
<span class="text-white">Ezyshop</span>
</a>
<p>
EzyShop is a user-friendly platform that connects you to local stores, offering a seamless shopping experience. Compare prices, access exclusive deals, and enjoy hassle-free deliveries for groceries, essentials, and organic products—all in one app.
</p>
<div class="d-flex justify-content-start mt-4">
<a class="btn btn-outline-primary rounded-circle text-center mr-2 px-0" style="width: 38px; height: 38px" href="https://github.com/mdazfar2/Ezyshop"><i class="fab fa-github"></i></a>
<a class="btn btn-outline-primary rounded-circle text-center mr-2 px-0" style="width: 38px; height: 38px" href="https://discord.com/invite/SEzpxqQG"><i class="fa-brands fa-discord"></i></a>
<a class="btn btn-outline-primary rounded-circle text-center mr-2 px-0" style="width: 38px; height: 38px" href="https://www.linkedin.com/company/ezyshopz/"><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-outline-primary rounded-circle text-center mr-2 px-0" style="width: 38px; height: 38px" href="#"><i class="fab fa-instagram"></i></a>
</div>
</div>
<div class="col-lg-3 col-md-6 mb-5">
<h3 class="text-primary mb-4">Get In Touch</h3>
<div class="d-flex hov">
<a href="https://www.google.com/maps/place/Jaipur,+Rajasthan/@26.8851151,75.6257468,11z/data=!3m1!4b1!4m6!3m5!1s0x396c4adf4c57e281:0xce1c63a0cf22e09!8m2!3d26.9124336!4d75.7872709!16zL20vMDE2NzIy?entry=ttu&g_ep=EgoyMDI0MTAwMi4xIKXMDSoASAFQAw%3D%3D">
<h4 class="fa fa-map-marker-alt text-primary icon"></h4>
</a>
<div class="pl-3 cont">
<a href="https://hi.wikipedia.org/wiki/%E0%A4%9C%E0%A4%AF%E0%A4%AA%E0%A5%81%E0%A4%B0">
<h5 class="text-white">Address</h5>
<p>Jaipur, Rajasthan</p>
</a>
</div>
</div>
<div class="d-flex hov">
<a href="mailto:[email protected]">
<h4 class="fa fa-envelope text-primary icon"></h4>
<div class="pl-3 cont">
<h5 class="text-white">Email</h5>
<p>[email protected]</p>
</a>
</div>
</div>
<div class="d-flex hov">
<a href="tel:7739317870">
<h4 class="fa fa-phone-alt text-primary icon"></h4>
<div class="pl-3 cont">
<h5 class="text-white">Phone</h5>
<p>+91 7739317870</p>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 mb-5">
<h3 class="text-primary mb-4">Quick Links</h3>
<div class="d-flex flex-column justify-content-start">
<a class="text-white mb-2" href="/index.html"><i class="fa fa-angle-right mr-2"></i>Home</a>
<a class="text-white mb-2" href="/about.html"><i class="fa fa-angle-right mr-2"></i>About Us</a>
<a class="text-white mb-2" href="/category.html"><i class="fa fa-angle-right mr-2"></i>Our Categories</a>
<a class="text-white mb-2" href="/team.html"><i class="fa fa-angle-right mr-2"></i>Our Teams</a>
<a class="text-white mb-2" href="/blog.html"><i class="fa fa-angle-right mr-2"></i>Our Blog</a>
<a class="text-white" href="/contact.html"><i class="fa fa-angle-right mr-2"></i>Contact Us</a>
</div>
</div>
<div class="col-lg-3 col-md-6 mb-5" id="news-form-section">
<h3 class="text-primary mb-4">Newsletter</h3>
<form id="newsForm" action="">
<div class="form-group">
<input type="text" class="form-control border-0 py-4" id="newsletterName" placeholder="Your Name" required="required" />
</div>
<div class="form-group">
<input type="email" class="form-control border-0 py-4" id="newsletterMail" placeholder="Your Email" required="required" />
</div>
<div>
<button class="btn btn-primary btn-block border-0 py-3" type="submit">
Submit Now
</button>
</div>
</form>
<div id="thankYouMessage" class="thank-you-message">
<div class="message-content">
<h2>Thanks for your Submission!</h2>
</div>
</div>
</div>
</div>
<div class="container-fluid pt-5" style="border-top: 1px solid rgba(23, 162, 184, 0.2)">
<p class="m-0 text-center text-white">
© <a class="text-primary font-weight-bold" href="#">Ezyshop</a>. All Rights Reserved. Designed by
<a class="text-primary font-weight-bold" href="https://www.azfaralam.xyz/">Azfar Alam</a>
</p>
</div>
</div>
<!-- Footer End -->
<!-- Back to Top -->
<a href="#" class="btn btn-primary p-3 back-to-top"><i class="fa fa-angle-double-up"></i></a>
<div id="notification" class="notification"></div>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/isotope/isotope.pkgd.min.js"></script>
<script src="lib/lightbox/js/lightbox.min.js"></script>
<!-- Auth JavaScript-->
<script src="js/auth.js"></script>
<!-- Contact Javascript File -->
<script src="mail/jqBootstrapValidation.min.js"></script>
<script src="mail/contact.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
<script src="js/products.js"></script>
<script src="js/newsLetter.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
const authButton = document.getElementById("authButton");
const currentUser = localStorage.getItem("currentUser");
// Check if there's a logged-in user
if (currentUser) {
authButton.textContent = currentUser; // Change button text to username
authButton.href = "#"; // Optionally, change the link to something else or remove it
authButton.classList.add("btn-secondary"); // Optionally change button style
}
// Add event listener for logout
authButton.addEventListener("click", function() {
if (currentUser) {
// Show confirmation dialog before logging out
const confirmLogout = confirm("Do you want to logout?");
if (confirmLogout) {
// If confirmed, remove the current user from localStorage
localStorage.removeItem("currentUser");
// Reload the page to reset the button to "Login/SignUp"
location.reload();
}
} else {
// Redirect to login page if no user is logged in
window.location.href = "RegisterPages/register.html"; // Update with your login page URL
}
});
});
</script>
</body>
</html>