-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.html
383 lines (358 loc) · 14.1 KB
/
product.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<link rel="stylesheet" href="./css/global.css" />
<link rel="stylesheet" href="./css/product.css" />
<link rel="stylesheet" href="./css/index.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Open Sans:wght@300;400;600;700&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Unna:wght@700&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap"
/>
</head>
<body>
<div class="product1">
<div class="navigation-menu">
<div class="pap-logo"></div>
<div class="menu-items">
<div class="home"> <a href="./index.html">Home</a></div>
<div class="courses-parent">
<div class="courses"><a href="./courses.html">Courses</a></div>
</div>
<div class="courses-parent">
<div class="courses"><a href="./product.html">Shops</a></div>
</div>
<div class="courses-parent">
<div class="courses"><a href="./offline-meet.html">Offline meet</a></div>
</div>
<div class="courses-parent">
<div class="courses"><a href="./services.html">Services</a></div>
</div>
</div>
<div class="login-signup" id = "login-signup">
<a href="/signup.html" class="login btn">log in</a>
</div>
<div onclick="logout()" id="logout" class="btn logout">
<span id="user-name">hello</span>
<span id="show-logout">logout</span>
</div>
</div>
<div class="footer">
<div class="frame-group">
<div class="quick-links-parent">
<div class="quick-links">
<b class="dandia-dance-course">Quick Links</b>
<div class="about-us-parent">
<div class="dandia-dance-course">About Us</div>
<div class="dandia-dance-course">Bulk Order</div>
<div class="dandia-dance-course">Gifts</div>
<div class="dandia-dance-course">Organic Garden</div>
</div>
</div>
<div class="legal-links">
<b class="dandia-dance-course">Legal</b>
<div class="about-us-parent">
<div class="dandia-dance-course">T&C</div>
<div class="dandia-dance-course">Privacy Policy</div>
<div class="dandia-dance-course">Returns</div>
<div class="dandia-dance-course">Shipping</div>
<div class="dandia-dance-course">Cancellation</div>
</div>
</div>
<div class="support-links">
<b class="dandia-dance-course">Support</b>
<div class="about-us-parent">
<div class="dandia-dance-course">FAQs</div>
<div class="dandia-dance-course">Contact Us</div>
</div>
</div>
</div>
<div class="cultural-all-rights-reserved-parent">
<div class="cultural-store">
<p class="cultural">© 2023 Cultural</p>
<p class="cultural">All Rights Reserved</p>
</div>
<div class="social-icons">
<div class="facebook">
<img class="vector-icon1" alt="" src="./public/Vector.png" />
</div>
<div class="twitter">
<img class="vector-icon2" alt="" src="./public/Vector (1).png" />
</div>
<div class="vector-wrapper">
<img class="vector-icon3" alt="" src="./public/Vector (2).png" />
</div>
</div>
</div>
</div>
<div class="mini-footer">
<div class="cultural-store">
We facilitate your payments through trusted gateways
</div>
<div class="payment-gateways-logos">
<img
class="payment-gateways-logos-child"
alt=""
src="./public/frame-55.svg"
/>
<img
class="payment-gateways-logos-inner"
alt=""
src="./public/frame-56.svg"
/>
<img class="rupay-logo-1" alt="" src="./public/rupay-logo-1.svg" />
</div>
</div>
</div>
</div>
<div class="details">
<div class="product-images">
<img class="image-5-icon2" alt="" src="./public/[email protected]" />
</div>
<div class="product-details">
<div class="frame-parent35">
<div class="frame-parent36">
<div class="gharba-dress-parent">
<b class="gharba-dress">Gharba Dress</b>
<div class="parent13">
<div class="add-to-cart">$ 350</div>
<div class="div37">$ 450</div>
</div>
</div>
<div class="l">
With light blue and different colour Combinations, the Gharba
Dress is a famous Dress in Gujrat.
</div>
</div>
<div class="quantity-wrapper">
<div class="facebook-group">
<div class="add-to-cart">Quantity</div>
<div class="frame-parent37">
<div class="wrapper3">
<div class="add-to-cart">-</div>
</div>
<div class="div39">1</div>
<div class="wrapper3">
<div class="add-to-cart">+</div>
</div>
</div>
</div>
</div>
<div class="add-to-cart-button" id="addToCartButton">
<b class="add-to-cart">Add to Cart</b>
</div>
</div>
<div class="delivery-info">
<div class="delivery-enter-your-pincode-to-parent">
<div class="add-to-cart">
<p class="delivery">Delivery</p>
<p class="enter-your-pincode">
Enter your Pincode to check delivery time.
</p>
</div>
<div class="pincode">
<div class="wrapper5">
<div class="add-to-cart">500009</div>
</div>
<div class="check">CHECK</div>
</div>
</div>
<div class="delivery-check-result">
<div class="add-to-cart">
<p class="delivery-available-for">
Delivery available for this loaction.
</p>
<p class="delivery-available-for">
Typically delivered in 5-7 working days.
</p>
<p class="delivery-available-for">Standard Delivery.</p>
</div>
</div>
</div>
</div>
</div>
<div class="section-hot-sale">
<div class="you-may-also-like-parent">
<b class="add-to-cart">You May Also Like...</b>
<img class="frame-child17" alt="" src="./public/vector-23.svg" />
</div>
<div class="section-hot-sale-inner">
<div class="card-3-container">
<div class="card-34">
<div class="frame-parent38">
<div class="group-container">
<div class="star-parent">
<img class="group-child" alt="" src="./public/star-1.svg" />
<b class="off">
<p class="delivery-available-for">25%</p>
<p class="delivery-available-for">off</p>
</b>
</div>
</div>
<b class="hibiscus">Hibiscus</b>
<div class="group-frame">
<div class="star-parent">
<img class="group-child" alt="" />
<b class="off">
<p class="delivery-available-for">25%</p>
<p class="delivery-available-for">off</p>
</b>
</div>
</div>
</div>
<img
class="handicraft-destination-firoz1"
alt=""
src="./public/[email protected]"
/>
<div class="bangles-group">
<b class="gharba-dress">Bangles</b>
<div class="parent13">
<div class="add-to-cart">$ 350</div>
<div class="div43">$ 450</div>
</div>
</div>
<div class="button-217">
<b class="buy11">Buy</b>
</div>
</div>
<div class="card-34">
<div class="frame-parent39">
<div class="group-container">
<div class="star-parent">
<img class="group-child" alt="" src="./public/star-1.svg" />
<b class="off">
<p class="delivery-available-for">25%</p>
<p class="delivery-available-for">off</p>
</b>
</div>
</div>
<b class="hibiscus">Hibiscus</b>
<div class="group-frame">
<div class="star-parent">
<img class="group-child" alt="" />
<b class="off">
<p class="delivery-available-for">25%</p>
<p class="delivery-available-for">off</p>
</b>
</div>
</div>
</div>
<img class="image-2-icon1" alt="" src="./public/[email protected]" />
<div class="bangles-group">
<b class="gharba-dress">Crockery</b>
<div class="parent13">
<div class="add-to-cart">$ 350</div>
<div class="div43">$ 450</div>
</div>
</div>
<div class="button-217">
<b class="buy11">Buy</b>
</div>
</div>
<div class="card-34">
<div class="frame-parent40">
<div class="group-container">
<div class="star-parent">
<img class="group-child" alt="" src="./public/star-1.svg" />
<b class="off">
<p class="delivery-available-for">25%</p>
<p class="delivery-available-for">off</p>
</b>
</div>
</div>
<b class="hibiscus">Hibiscus</b>
<div class="group-frame">
<div class="star-parent">
<img class="group-child" alt="" />
<b class="off">
<p class="delivery-available-for">25%</p>
<p class="delivery-available-for">off</p>
</b>
</div>
</div>
</div>
<img
class="image-4-icon2"
alt=""
src="./public/[email protected]"
/>
<div class="bangles-group">
<b class="gharba-dress">Ghagra Chauli</b>
<div class="parent13">
<div class="add-to-cart">$ 350</div>
<div class="div43">$ 450</div>
</div>
</div>
<div class="button-217">
<b class="buy11">Buy</b>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
var addToCartButton = document.getElementById("addToCartButton");
if (addToCartButton) {
addToCartButton.addEventListener("click", function (e) {
window.location.href = "./cart.html";
});
}
</script>
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.15.0/firebase-app.js";
import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.15.0/firebase-analytics.js";
import { getAuth } from 'https://www.gstatic.com/firebasejs/9.15.0/firebase-auth.js';
import { getDatabase } from "https://www.gstatic.com/firebasejs/9.15.0/firebase-database.js";
import { ref, set } from "https://www.gstatic.com/firebasejs/9.15.0/firebase-database.js";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyArPnS8GyH8uBddkuqWwqKq43wA4EG77Zo",
authDomain: "culturify-c68b7.firebaseapp.com",
projectId: "culturify-c68b7",
storageBucket: "culturify-c68b7.appspot.com",
messagingSenderId: "944116586655",
appId: "1:944116586655:web:7179bb150cf6782866eaaa",
measurementId: "G-KJDB191CKB"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
// authentication
getAuth().onAuthStateChanged((user) => {
if (user) {
const loginbtn = document.getElementById("login-signup");
loginbtn.style.display = "none";
const logout = document.getElementById("logout");
logout.style.display = "block";
console.log(user.email);
const userName = document.getElementById("user-name");
userName.textContent = `hello ${(user.email).split('@')[0]}`;
}
});
function logout() {
getAuth().signOut();
getAuth().onAuthStateChanged((user) => {
if (user) {
location.replace("index.html");
}
});
}
window.logout = logout;
</script>
</body>
</html>