-
Notifications
You must be signed in to change notification settings - Fork 6
/
contact-us.html
530 lines (481 loc) · 25.4 KB
/
contact-us.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
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="Started just with a blood helpline, BloodConnect now provides a 360 degree solution to the problem of blood shortage in the country!">
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Contact Us</title>
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@bloodconnectorg">
<meta name="twitter:creator" content="@bloodconnectorg">
<meta name="twitter:title" content="bloodConnect">
<meta name="twitter:description"
content="BloodConnect - India’s largest youth run initiative in the field of blood donation. We target to make India blood sufficient by 2030!">
<meta name="twitter:image" content="https://www.bloodconnect.org/img/bc_heart.png">
<!-- Facebook -->
<meta property="og:url" content="https://www.bloodconnect.org/">
<meta property="og:title" content="BloodConnect">
<meta property="og:description"
content="BloodConnect - India’s largest youth run initiative in the field of blood donation. We target to make India blood sufficient by 2030!">
<meta property="og:type" content="website">
<meta property="og:image" content="https://www.bloodconnect.org/img/bc_heart.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<link rel="shortcut icon" href="./img/favicon.png" type="image/x-icon">
<link rel="shortcut icon" href="./img/favicon.png" type="image/x-icon">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-18198647-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-18198647-1');
</script>
<!-- facebook pixel -->
<!-- Facebook Pixel Code -->
<script>
!function (f, b, e, v, n, t, s) {
if (f.fbq) return; n = f.fbq = function () {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0';
n.queue = []; t = b.createElement(e); t.async = !0;
t.src = v; s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '483666385759479');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1" src="https://www.facebook.com/tr?id=483666385759479&ev=PageView
&noscript=1" />
</noscript>
<!-- End Facebook Pixel Code -->
</head>
<body>
<!-- Navbar start here -->
<!-- Just an image -->
<nav class="fixed z-6 d-flex justify-content-end hide-lg" id="mobile-nav">
<button class="menu show-md color-white h-max bg-none" id="mobile-nav-toggler" onclick="toggleMobileNav()"><i
class="fa fa-bars f-20"></i></button>
<ul class="mobile-nav hide bg-white" id="mobile-nav-list">
<li class="bg-main ">
<a class="nav-link color-white fw-4 " href="./organize-a-camp.html">ORGANIZE A CAMP</a>
</li>
<li class="bg-main">
<a href="./organize-an-awareness-session.html" class="nav-link color-white fw-4">SPREAD AWARENESS</a>
</li>
<li class="bg-main ">
<a class="nav-link color-white fw-4 " href="./sponsor.html">SUPPORT US</a>
</li>
<li class="bg-main ">
<a class="nav-link color-white fw-4 " href="./join-us-selection.html">JOIN US</a>
</li>
<li class="bg-main ">
<a class="nav-link color-white fw-4 " href="./blog.html">BLOG</a>
</li>
<li class="bg-white">
<a href="./about-us.html" class="color-dark f-14 fw-4 nav-link">ABOUT US</a>
</li>
<li class="bg-white">
<a href="./our-team.html" class="color-dark f-14 fw-4 nav-link">OUR TEAM</a>
</li>
<li class="bg-white">
<a href="./contact-us.html" class="color-dark f-14 fw-4 nav-link">CONTACT US</a>
</li>
</ul>
</nav>
<nav class="navbar justify-content-center-sm justify-content-between pb-0 sticky-sm z-5 bg-main-dark " id="navbar">
<div class="d-flex flex-row align-items-center justify-content-end">
<a class="navbar-brand" href="./index.html">
<img src="./img/homepage/Logo.png" height="35" alt="BloodConnect Logo">
</a>
<ul class="navbar-nav flex-row align-items-end hide-md" style="border-bottom: none !important;">
<li class="px-3">
<a href="./about-us.html" class="color-white b-white f-14 ">ABOUT US</a>
</li>
<li class="px-3">
<a href="./organize-a-camp.html" class="color-white b-white f-14 ">ORGANIZE A CAMP</a>
</li>
<li class="px-3">
<a href="./organize-an-awareness-session.html" class="color-white b-white f-14">SPREAD AWARENESS</a>
</li>
<li class="px-3">
<a href="./join-us-selection.html" class="color-white b-white f-14 ">JOIN US</a>
</li>
<li class="px-3">
<a href="./blog.html" class="color-white b-white f-14 ">BLOG</a>
</li>
</ul>
</div>
<div class="d-flex flex-row align-items-center hide-md">
<a href="./contact-us.html" class="f-14 color-white mr-3 uppercase">Contact Us</a>
<a href="./sponsor.html" class="f-14 sponsor-link-button color-dark fw-6 px-3 py-2 uppercase">Support us</a>
</div>
</nav>
<nav
class="navbar flex-column-sm align-items-start justify-content-between pb-0 sticky-navbar z-5 bg-white pb-2 hide"
id="navbar-sticky">
<div class="d-flex flex-row align-items-center justify-content-end">
<a class="navbar-brand" href="./index.html">
<img src="./img/logo.png" height="35" alt="BloodConnect Logo">
</a>
<ul class="navbar-nav flex-row hide-md align-items-end" style="border-bottom: none !important;">
<li class="px-3">
<a href="./about-us.html" class="color-dark b-dark f-14 ">ABOUT US</a>
</li>
<li class="px-3">
<a href="./organize-a-camp.html" class="color-dark b-dark f-14 ">ORGANIZE A CAMP</a>
</li>
<li class="px-3">
<a href="./organize-an-awareness-session.html" class="color-dark b-dark f-14">SPREAD AWARENESS</a>
</li>
<li class="px-3">
<a href="./join-us-selection.html" class="color-dark b-dark f-14 ">JOIN US</a>
</li>
<li class="px-3">
<a href="./blog.html" class="color-dark b-dark f-14 ">BLOG</a>
</li>
</ul>
</div>
<div class="d-flex flex-row align-items-center hide-md">
<a href="./sponsor.html"
class="f-14 sponsor-link-button color-dark fw-6 px-3 py-2 uppercase bg-main color-white">Support us</a>
</div>
</nav>
<!-- Contact form-->
<div class="container-fluid pd-2 pb-2 mb-4 content bg-main-dark pt-5-sm">
<div class="container">
<div class="row pt-5 mb-3 m-0">
<div class="col-lg-6 col-sm-12 col-md-12 pt-6">
<div class="accordion" id="accordionExample">
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingSeven">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed d-flex mb-0 justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseSeven" aria-expanded="true"
aria-controls="collapseSeven">
Is BloodConnect a registered organization?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseSeven" class="collapse bg-white b-0" aria-labelledby="headingSeven"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
Yes, BloodConnect Foundation is a not-for-profit NGO, registered as a charitable Trust in the office
of Sub-Registrar, Delhi.
<br> We are registered under Section 12A of the Income Tax Act, 1961 and also granted approval to
receive donations under section 80G section of the Income Tax Act, 1961.
</div>
</div>
</div>
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingOne">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed d-flex mb-0 justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Is BloodConnect a registered blood bank?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseOne" class="collapse bg-white b-0" aria-labelledby="headingOne"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
No, BloodConnect is not a blood bank. We do not collect the blood ourselves, or store it with us. We
work with Government approved blood banks and Colleges/Corporates/RWAs to promote voluntary blood
donation, and organize blood donation camps.
<br> Think of us as an organization creating awareness about the blood donation, and connecting new
and regular donors with blood banks to improve availability of the blood in the country.
</div>
</div>
</div>
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingTwo">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed mb-0 d-flex justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo">
Can I reach the BloodConnect office and help out?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseTwo" class="collapse bg-white b-0" aria-labelledby="headingTwo"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
As we have no full time employees, our team works from their respective homes / offices and we conduct
our meetings/activities in the common areas in an office / college. Our corporate, college partners
help us with these for free and we can do all our team meetings there. Our registered office is used
to store all of our material and documents. You should reach out via this form, we can certainly take
forward then.
</div>
</div>
</div>
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingEight">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed d-flex mb-0 justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseEight" aria-expanded="true"
aria-controls="collapseEight">
How can I help in this noble cause?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseEight" class="collapse bg-white b-0" aria-labelledby="headingEight"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
You can help in many ways -
<br> 1. Help us Organize a Camp in your College/Society/Company
<br> 2. Sponsor Us that would help us save more lives!
<br> 3. Register as an emergency donor
<br> 4. Join Our team
<br><br> You can easily find links to all these options on our website. In case of any issues, please
Contact Us.
</div>
</div>
</div>
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingThree">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed mb-0 d-flex justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseThree" aria-expanded="true"
aria-controls="collapseThree">
How many employees does BloodConnect have?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseThree" class="collapse bg-white b-0" aria-labelledby="headingThree"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
Zero. We are completely volunteer driven and have no full time employees
</div>
</div>
</div>
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingFour">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed mb-0 d-flex justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseFour" aria-expanded="true"
aria-controls="collapseFour">
Where can you find FAQs about blood donation?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseFour" class="collapse bg-white b-0" aria-labelledby="headingFour"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
You will certainly find some of the FAQs on the page: Join Us→ Register As a Donor. We have tried to
cover the concerns there. For more, please do check the Resources tab
</div>
</div>
</div>
<div class="card bg-white b1-light mb-2">
<div class="card-header bg-none" id="headingFive">
<h2 class="mb-0 raise-a-request-faq">
<p class="collapsed mb-0 d-flex justify-content-between align-items-center bg-none text-left hand f-16"
data-toggle="collapse" data-target="#collapseFive" aria-expanded="true"
aria-controls="collapseFive">
Does BloodConnect work on anything else outside blood donation?
<i class="fa fa-angle-right f-30"></i>
</p>
</h2>
</div>
<div id="collapseFive" class="collapse bg-white b-0" aria-labelledby="headingFive"
data-parent="#accordionExample">
<div class="card-body color-dark-light bg-white">
Yes, we do work on additional fields related to blood donation: Thalassemia, plasma requirements, etc.
Our core focus remains blood donation though. We believe that is a big problem to solve
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-12 col-md-12 px-0">
<div class="container bg-white pt-4 pb-4 shadow z-2 rounded pl-5 pr-5 px-3-sm ">
<h4 class="ft-24 text-center color-dark mb-0 uppercase">Drop us a message</h4>
<p class="color-grey mb-3 text-center f-14">Fill this and we will be in touch with you soon. <br></p>
<form class="contact-form " action="" onsubmit="createRequest(event)">
<div class="form-group mb-4">
<label class="m-0 color-dark" for="name">Your Name</label>
<input type="text" class="form-control" id="name" placeholder="Your Name" required>
</div>
<div class="form-group mb-4">
<label class="m-0 color-dark" for="email">Email Address</label>
<input type="email" class="form-control" placeholder="Email Address" id="email" required>
</div>
<div class="form-group mb-4">
<label class="m-0 color-dark" for="phone_number">Phone Number</label>
<input type="text" pattern="\d+" maxlength="10" minlength="10" class="form-control"
placeholder="9876543210" id="phone_number" required>
</div>
<div class="form-group mb-4">
<label class="m-0 color-dark" for="email">City</label>
<input type="text" class="form-control" placeholder="Pune" id="city" required>
</div>
<div class="form-group mb-4">
<label class="m-0 color-dark" for="message">Message</label>
<textarea name="message" id="message" cols="20" rows="3" placeholder="Enter Your Message Here"
required></textarea>
</div>
<button type="submit" id="submit-request-button" class="pl-4 pr-4 fw-6 mb-4 mx-auto btn-main bg-main"
value="Submit">
<p class="color-white m-0 fw-4">Submit</p>
<!-- Animation -->
<svg style="width: 50px;" version="1.1" id="L9" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100"
enable-background="new 0 0 0 0" xml:space="preserve">
<path fill="#fff"
d="M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50">
<animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="1s"
from="0 50 50" to="360 50 50" repeatCount="indefinite" />
</path>
</svg>
</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Success modal -->
<div class="success-modal py-5 shadow bg-white hide" id="success-modal">
<img width="100" src="./img/popup/mail-sent.jpg" alt="">
<p class="color-dark fw-6 mt-3">Your messsage is recieved</p>
<p class="color-grey">You would be redirected in <span id="seconds">3s</span></p>
</div>
<!-- Footer -->
<div class="container-fluid pt-5">
<div class="container d-flex flex-column ">
<hr class="color-dark w-100">
<div class="d-flex justify-content-between align-items-center flex-column-sm">
<a href="./index.html">
<img src="./img/logo.png" alt="">
</a>
<ul class="footer-list mb-0 d-flex justify-content-start align-items-center pr-4 col-lg-4 col-sm-12">
<li class="footer-item bg-white ">
<a href="https://facebook.com/BloodConnect" target="_blank" class="footer-link color-main"><i
class="fa fa-facebook-f"></i></a>
</li>
<li class="footer-item bg-white ">
<a href="https://instagram.com/bloodconnectorg?igshid=umn7a6sbwt7h" target="_blank"
class="footer-link color-main"><i class="fa fa-instagram"></i></a>
</li>
<li class="footer-item bg-white ">
<a href="https://twitter.com/bloodconnectorg" target="_blank" class="footer-link color-main"><i
class="fa fa-twitter"></i></a>
</li>
<li class="footer-item bg-white ">
<a href="https://www.youtube.com/channel/UCtU8tOeU1IvLZTUHxHuL2LQ" target="_blank"
class="footer-link color-main"><i class="fa fa-youtube"></i></a>
</li>
<li class="footer-item bg-white ">
<a href="https://www.linkedin.com/company/bloodconnect-india" target="_blank"
class="footer-link color-main"><i class="fa fa-linkedin"></i></a>
</li>
</ul>
</div>
<hr class="color-dark w-100">
<div class="row">
<div class="col-lg-4 col-sm-12">
<p class="color-dark bold mb-2">NAVIGATION</p>
<ul class="footer-list pl-0">
<li class=" mr-4 compact"><a class="color-dark f-14" href="./index.html">Home</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./about-us.html">About us</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./our-team.html">Our team</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./sponsor.html">Donate now</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./join-us-selection.html">Join us</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./contact-us.html">Contact us</a></li>
</ul>
</div>
<div class="col-lg-4 col-sm-12">
<p class="color-dark bold mb-2">ORGANIZE A CAMP</p>
<ul class="footer-list pl-0">
<li class=" mr-4 compact"><a class="color-dark f-14" href="./organize-a-camp.html#city_region=Delhi"
onclick="organizeCamp('Delhi')">Organize a camp in Delhi-NCR</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./organize-a-camp.html#city_region=Kanpur"
onclick="organizeCamp('Kanpur')">Organize a camp in Kanpur</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./organize-a-camp.html#city_region=Agra"
onclick="organizeCamp('Agra')">Organize a camp in Agra</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./organize-a-camp.html#city_region=Lucknow"
onclick="organizeCamp('Lucknow')">Organize a camp in Lucknow</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./organize-a-camp.html#city_region=Bhubaneswar"
onclick="organizeCamp('Bhubaneswar')">Organize a camp in Bhubaneswar</a></li>
<li class=" mr-4 compact"><a class="color-dark f-14" href="./organize-a-camp.html#city_region=Jaipur"
onclick="organizeCamp('Jaipur')">Organize a camp in Jaipur</a></li>
</ul>
</div>
</div>
<div class="d-flex justify-content-between mt-3">
<p class="color-dark f-14">Copyright © BloodConnect Foundation 2020</p>
<ul class="footer-list">
<li class=" left mx-3"><a class="color-dark f-12" href="./privacy.html">Privacy</a></li>
<li class=" left ml-3"><a class="color-dark f-12" href="./toc.html">Terms and Condition</a></li>
</ul>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="js/main_v1.js"></script>
<script>
let name = ""
let email = ""
let message = ""
let city = ""
createRequest = (e) => {
e.preventDefault()
$("#submit-request-button").addClass("loading-start")
name = $("#name").val()
email = $("#email").val()
message = $("#message").val()
phone_number = $("#phone_number").val();
city = $("#city").val();
let url = "https://bc-api-2.onrender.com/contact"
var requestData = {
'Name': name,
'Email': email,
'Message': message,
'Phone_Number': "+91"+phone_number,
'City': city
}
fetch(url, {
method: 'POST',
body: JSON.stringify(requestData),
headers: {
"Content-Type": "application/json"
}
}).then(response => response.json()).then(data => {
if (data.msg === "success") {
$("#success-modal").removeClass('hide')
$("#success-modal").addClass('show')
let secondsLeft = 3;
let x = setInterval(() => {
if (secondsLeft <= 0)
window.location.href = "./index.html"
$("#seconds").html(`${secondsLeft}s`)
secondsLeft -= 1;
}, 1000)
}
})
}
</script>
</body>
</html>