forked from mdazfar2/Ezyshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
293 lines (268 loc) · 16.1 KB
/
blog.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
<!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 rel="stylesheet" href="css\footer.css">
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="css/newsLetter.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="Ezyshop 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" id="primary">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 class="display-3 font-weight-bold text-white">Our Blog</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 class="m-0"><a class="text-white" href="">Our Blog</a></p>
</div>
</div>
</div>
<!-- Header End -->
<!-- Blog Start -->
<div class="container-fluid pt-5">
<div class="container">
<div class="text-center pb-2">
<p class="section-title px-5"><span class="px-2">Latest Blog</span></p>
<h1 class="mb-4">Latest Articles From Blog</h1>
</div>
<div class="row pb-3">
<!-- Blog Post 1 -->
<div class="col-lg-4 mb-4">
<div class="card card-hover border-0 shadow-sm mb-2">
<img class="card-img-top mb-2" src="img/blog-1.png" alt="10 Ways to Save on Groceries">
<div class="card-body bg-light text-center p-4">
<h4 class="">10 Ways to Save on Groceries This Month</h4>
<div class="d-flex justify-content-center mb-3" style="gap: 1rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i> Admin</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i> Shopping Tips</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
<p>Check out these insider tips to help you cut down on your monthly food budget.</p>
<a href="single.html" class="btn btn-primary px-4 mx-auto my-2">Read More</a>
</div>
</div>
</div>
<!-- Blog Post 2 -->
<div class="col-lg-4 mb-4">
<div class="card card-hover border-0 shadow-sm mb-2">
<img class="card-img-top mb-2" src="img/blog-2.png" alt="How to Compare Prices and Find Deals">
<div class="card-body bg-light text-center p-4">
<h4 class="">How to Compare Prices and Find Deals Across Multiple Stores</h4>
<div class="d-flex justify-content-center mb-3" style="gap: 1rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i> Admin</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i> Online Shopping</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 18</small>
</div>
<p>Learn how to use Ezyshop's comparison tool to get the best deals across stores.</p>
<a href="single.html" class="btn btn-primary px-4 mx-auto my-2">Read More</a>
</div>
</div>
</div>
<!-- Blog Post 3 -->
<div class="col-lg-4 mb-4">
<div class="card card-hover border-0 shadow-sm mb-2">
<img class="card-img-top mb-2" src="img/blog-3.png"
alt="Best Local Stores for Organic Products">
<div class="card-body bg-light text-center p-4">
<h4 class="">Best Local Stores for Organic Products in Your Area</h4>
<div class="d-flex justify-content-center mb-3" style="gap: 1rem;">
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-user text-primary"></i> Admin</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-folder text-primary"></i> Local Shopping</small>
<small class="d-flex" style="gap: 6px; align-items: center;"><i class="fa fa-comments text-primary"></i> 15</small>
</div>
<p>Support local stores and discover organic groceries near you.</p>
<a href="single.html" class="btn btn-primary px-4 mx-auto my-2">Read More</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Blog 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>
<!-- 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/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>