forked from mdazfar2/Ezyshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shops.html
242 lines (220 loc) · 12.1 KB
/
shops.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
<!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">
<!-- 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\shops.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">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>
<a href="shops.html" class="nav-item nav-link active">Shops</a>
<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 Shops</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">Shops</p>
</div>
</div>
</div>
<!-- Header End -->
<!-- Shops 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">Our Shops</span></p>
<h1 class="mb-4">Explore Our Partner Shops</h1>
</div>
<!-- <div class="row">
<div class="col-12 category-filter">
<div class="d-flex align-items-center">
<select id="categoryFilter" class="form-control mr-3">
<option value="all">All Categories</option>
<option value="fashion">Fashion and Clothes</option>
<option value="electronics">Electronics</option>
<option value="groceries">Groceries</option>
</select>
<span id="selectedCategory" class="font-weight-bold"></span>
</div>
</div>
</div> -->
<div class="row" id="shopContainer">
<!-- Shop cards will be dynamically inserted here -->
</div>
</div>
</div>
<!-- Shops 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:ezyshop@gmail.com">
<h4 class="fa fa-envelope text-primary icon"></h4>
<div class="pl-3 cont">
<h5 class="text-white">Email</h5>
<p>ezyshop@gmail.com</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 src="js/shops.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>