forked from mdazfar2/Ezyshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.html
515 lines (474 loc) · 31.2 KB
/
single.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
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<!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">
<!-- 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">
</head>
<body>
<!-- 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" id="secondary">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" id="primary">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" id="primary">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 class="display-3 font-weight-bold text-white">Blog Detail</h3>
<div class="d-inline-flex text-white">
<p class="m-0"><a class="text-white" href="">Home</a></p>
<p class="m-0 px-2">/</p>
<p class="m-0">Blog Detail</p>
</div>
</div>
</div>
<!-- Header End -->
<!-- Detail Start -->
<div class="container py-5">
<div class="row pt-5">
<div class="col-lg-8">
<div class="d-flex flex-column text-left mb-3">
<p class="section-title pr-5"><span class="pr-2">Blog Detail Page</span></p>
<h1 class="mb-3">10 Ways to Save on Groceries This Month</h1>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<p class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i> Shreya</p>
<p class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i> Shopping tips</p>
<p class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</p>
</div>
</div>
<div class="mb-5">
<img class="img-fluid rounded w-100 mb-4" src="img/detail.png" alt="Image">
<p>Grocery shopping can quickly add up, but with a few smart strategies, you can trim your monthly
budget without compromising on quality. Start by planning your meals ahead of time and making a
shopping list to avoid impulse purchases. Buy in bulk for items that you frequently use, and
don’t forget to check for sales or discounts on those products. Shopping seasonal produce can
also be a great way to get fresh, healthy foods at a lower cost.</p>
<p>Another great tip is to compare prices between different stores. Apps like ezyshop make it easy
to find the best deals across local stores and online markets. Look for store-brand products,
which often provide the same quality as name brands but at a lower price. Lastly, avoid shopping
when hungry to prevent unnecessary splurges. Happy saving!</p>
<h2 class="mb-4">Use Digital Coupons and Loyalty Programs</h2>
<img class="img-fluid rounded w-50 float-left mr-4 mb-3" src="img/loyalty-ezy.png" alt="Image">
<p>One of the easiest ways to save money on groceries is by taking advantage of digital coupons and
store loyalty programs. Many supermarkets offer apps or online portals where you can access
exclusive discounts and promotions. Before heading to the store, check these apps for available
deals and apply the coupons directly to your account. Additionally, signing up for loyalty
programs can provide further savings, including points that can be redeemed for discounts on
future purchases. Some stores also offer bonus savings on certain products when you use their
app. Using tools like ezyshop, you can compare the best deals and even discover new promotions
across different stores, maximizing your savings potential. It’s a simple way to reduce your
grocery bill without much effort—just make sure to scan your loyalty card at checkout! Another
smart way to save on groceries is by planning your meals around weekly sales and promotions.
Before creating your shopping list, check out store flyers or ezyshop’s deal aggregator to find
which items are currently discounted. By planning meals based on what's on sale, you can take
advantage of lower prices and even stock up on non-perishable items that you’ll need later. For
example, if chicken is on sale, you can plan multiple meals using it as the main ingredient,
such as stir-fry, chicken salad, or soup.</p>
<h3 class="mb-4">Use Digital Coupons and Cashback Apps</h3>
<img class="img-fluid rounded w-50 float-right ml-4 mb-3" src="img/cashback.png" alt="Image">
<p>Take advantage of digital coupons and cashback apps to save even more on your grocery shopping.
Many grocery stores, as well as ezyshop, offer digital coupons that you can easily apply at
checkout. Simply browse through the coupon section on the app or topic to find discounts on the
products you plan to buy. In addition to store-specific coupons, there are cashback apps like
Rakuten, Ibotta, and Honey that allow you to earn money back on your purchases, giving you even
more savings.
When using cashback apps, make sure to upload your receipts or link your ezyshop account for
automatic tracking. These apps often have deals on everyday items like dairy, snacks, or
household products, so even small savings can add up over time. Combining coupons with cashback
offers can lead to significant savings over the month.</p>
</div>
<!-- Related Post -->
<div class="mb-5 mx-n3">
<h2 class="mb-4 ml-3">Related Post</h2>
<div class="owl-carousel post-carousel position-relative">
<div class="d-flex align-items-center bg-light shadow-sm rounded overflow-hidden mx-3">
<img class="img-fluid" src="img/blog-1.png" style="width: 80px; height: 80px;">
<div class="pl-3">
<h5 class="">How to Choose the Best Online Grocery Delivery Service for Your Needs</h5>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i> Anuj Gaurave</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i>Customer</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
</div>
</div>
<div class="d-flex align-items-center bg-light shadow-sm rounded overflow-hidden mx-3">
<img class="img-fluid" src="img/blog-3.png" style="width: 80px; height: 80px;">
<div class="p-2">
<h5 class="">Top 5 Benefits of Shopping Locally with ezyshop</h5>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i> Sandeep Singh</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i>Business
Analyst</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
</div>
</div>
<div class="d-flex align-items-center bg-light shadow-sm rounded overflow-hidden mx-3">
<img class="img-fluid" src="img/blog-2.png" style="width: 80px; height: 80px;">
<div class="pl-3">
<h5 class="">The Ultimate Guide to Finding Organic and Sustainable Products Online</h5>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i>Bhunesh</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i>Customer</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
</div>
</div>
</div>
</div>
<!-- Comment List -->
<div class="mb-5">
<h2 class="mb-4">3 Comments</h2>
<div class="media mb-4">
<img src="img/user.jpg" alt="Image" class="img-fluid rounded-circle mr-3 mt-1"
style="width: 45px;">
<div class="media-body">
<h6>John Doe <small><i>01 Jan 2045 at 12:00pm</i></small></h6>
<p>Diam amet duo labore stet elitr ea clita ipsum, tempor labore accusam ipsum et no at.
Kasd diam tempor rebum magna dolores sed sed eirmod ipsum. Gubergren clita aliquyam
consetetur sadipscing, at tempor amet ipsum diam tempor consetetur at sit.</p>
<button class="btn btn-sm btn-light">Reply</button>
</div>
</div>
<div class="media mb-4">
<img src="img/user.jpg" alt="Image" class="img-fluid rounded-circle mr-3 mt-1"
style="width: 45px;">
<div class="media-body">
<h6>John Doe <small><i>01 Jan 2045 at 12:00pm</i></small></h6>
<p>Diam amet duo labore stet elitr ea clita ipsum, tempor labore accusam ipsum et no at.
Kasd diam tempor rebum magna dolores sed sed eirmod ipsum. Gubergren clita aliquyam
consetetur sadipscing, at tempor amet ipsum diam tempor consetetur at sit.</p>
<button class="btn btn-sm btn-light">Reply</button>
<div class="media mt-4">
<img src="img/user.jpg" alt="Image" class="img-fluid rounded-circle mr-3 mt-1"
style="width: 45px;">
<div class="media-body">
<h6>John Doe <small><i>01 Jan 2045 at 12:00pm</i></small></h6>
<p>Diam amet duo labore stet elitr ea clita ipsum, tempor labore accusam ipsum et no
at. Kasd diam tempor rebum magna dolores sed sed eirmod ipsum. Gubergren clita
aliquyam consetetur, at tempor amet ipsum diam tempor at sit.</p>
<button class="btn btn-sm btn-light">Reply</button>
</div>
</div>
</div>
</div>
</div>
<!-- Comment Form -->
<div class="bg-light p-5">
<h2 class="mb-4">Leave a comment</h2>
<form>
<div class="form-group">
<label for="name">Name *</label>
<input type="text" class="form-control" id="name">
</div>
<div class="form-group">
<label for="email">Email *</label>
<input type="email" class="form-control" id="email">
</div>
<div class="form-group">
<label for="topic">Topic</label>
<input type="url" class="form-control" id="topic">
</div>
<div class="form-group">
<label for="message">Message *</label>
<textarea id="message" cols="30" rows="5" class="form-control"></textarea>
</div>
<div class="form-group mb-0">
<input type="submit" value="Leave Comment" class="btn btn-primary px-3">
</div>
</form>
</div>
</div>
<div class="col-lg-4 mt-5 mt-lg-0">
<!-- Author Bio -->
<div class="d-flex flex-column text-center bg-primary rounded mb-5 py-5 px-4">
<img src="img/user.jpg" class="img-fluid rounded-circle mx-auto mb-3" style="width: 100px;">
<h3 class="text-secondary mb-3">John Doe</h3>
<p class="text-white m-0">Conset elitr erat vero dolor ipsum et diam, eos dolor lorem ipsum, ipsum
ipsum sit no ut est. Guber ea ipsum erat kasd amet est elitr ea sit.</p>
</div>
<!-- Search Form -->
<div class="mb-5">
<form action="">
<div class="input-group">
<input type="text" class="form-control form-control-lg" placeholder="Keyword">
<div class="input-group-append">
<span class="input-group-text bg-transparent text-primary"><i
class="fa fa-search"></i></span>
</div>
</div>
</form>
</div>
<!-- Category List -->
<div class="mb-5">
<h2 class="mb-4">Categories</h2>
<ul class="list-group list-group-flush">
<li class="list-group-item d-flex justify-content-between align-items-center px-0">
<a href="">Online Shopping Tips</a>
<span class="badge badge-primary badge-pill">150</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0">
<a href="">Grocery Savings Hacks</a>
<span class="badge badge-primary badge-pill">131</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0">
<a href="">Local Store Discoveries</a>
<span class="badge badge-primary badge-pill">78</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0">
<a href="">Health & Organic Products</a>
<span class="badge badge-primary badge-pill">56</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0">
<a href="">Shopping Trends & Innovations</a>
<span class="badge badge-primary badge-pill">98</span>
</li>
</ul>
</div>
<!-- Single Image -->
<div class="mb-5">
<img src="img/detail-2.png" alt="" class="img-fluid rounded">
</div>
<!-- Recent Post -->
<div class="mb-5">
<h2 class="mb-4">Recent Post</h2>
<div class="d-flex align-items-center bg-light shadow-sm rounded overflow-hidden mb-3">
<img class="img-fluid" src="img/cashback.png" style="width: 80px; height: 80px;">
<div class="pl-3">
<h5 class="">Top Organic Grocery Deals</h5>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i>Aditya</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i>Web Design</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
</div>
</div>
<div class="d-flex align-items-center bg-light shadow-sm rounded overflow-hidden mb-3">
<img class="img-fluid" src="img/blog-1.png" style="width: 80px; height: 80px;">
<div class="pl-3">
<h5 class="">Maximizing Cashback on Groceries</h5>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i>Robert</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i>Architect</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
</div>
</div>
<div class="d-flex align-items-center bg-light shadow-sm rounded overflow-hidden mb-3">
<img class="img-fluid" src="img/blog-2.png" style="width: 80px; height: 80px;">
<div class="pl-3">
<h5 class="">Best Local Stores Near You</h5>
<div class="d-flex justify-content-start mb-3" style="gap: 0.8rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i>Bhavesh</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i>Business Man</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
</div>
</div>
</div>
<!-- Single Image -->
<div class="mb-5">
<img src="img/blog-2.png" alt="" class="img-fluid rounded">
</div>
<!-- Tag Cloud -->
<div class="mb-5">
<h2 class="mb-4">Tags</h2>
<div class="d-flex flex-wrap m-n1">
<a href="" class="btn btn-outline-primary m-1">Shopping</a>
<a href="" class="btn btn-outline-primary m-1">Reviews</a>
<a href="" class="btn btn-outline-primary m-1">Trends</a>
<a href="" class="btn btn-outline-primary m-1">Stories</a>
<a href="" class="btn btn-outline-primary m-1">Guides</a>
<a href="" class="btn btn-outline-primary m-1">Insights</a>
</div>
</div>
<!-- Single Image -->
<div class="mb-5">
<img src="img/plane.png" alt="" class="img-fluid rounded">
</div>
<!-- Plain Text -->
<div>
<h2 class="mb-4">Plain Text</h2>
Discover the ultimate shopping convenience with EzyShop. Order from your favorite stores and get
everything delivered right to your door. Shop smart, shop easy!
</div>
</div>
</div>
</div>
<!-- Detail 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">
<h3 class="text-primary mb-4">Newsletter</h3>
<form action="">
<div class="form-group">
<input type="text" class="form-control border-0 py-4" placeholder="Your Name" required="required" />
</div>
<div class="form-group">
<input type="email" class="form-control border-0 py-4" 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>
</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>
<!-- 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>
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>