forked from tushargupta1504/Medical-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
541 lines (454 loc) · 25.2 KB
/
index.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
531
532
533
534
535
536
537
538
539
540
541
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous" />
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.4/photoswipe.min.css" integrity="sha512-LFWtdAXHQuwUGH9cImO9blA3a3GfQNkpF2uRlhaOpSbDevNyK1rmAjs13mtpjvWyi+flP7zYWboqY+8Mkd42xA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="icon" href="img/favicon.png" type="image/png">
<title>Swasthya Point</title>
</head>
<body>
<!-- header section starts -->
<header>
<input type="checkbox" name="" id="toggler">
<label for="toggler" class="fas fa-bars"></label>
<a href="#" class="logo">Swasthya<span>.</span></a>
<nav class="navbar">
<a href="#home">Home</a>
<a href="#about">About Us</a>
<a href="#services">Services</a>
<a href="#contact">Contact</a>
<a href="#blogs">Blogs</a>
<a href="nearby.html">Nearby</a>
<a href="appointment.html"><span>Book Your Appointment</span></
</nav>
</header>
<!-- header section ends -->
<!-- home section starts -->
<section class="home" id="home">
<div class="content">
<h3>Your Health, Our Priority</h3>
<span>Personalized Care for Every Patient</span>
<p>We believe in a patient-centered approach, offering a wide range of medical services tailored to meet
your unique health needs.</p>
<a href="#" class="btn">EXPLORE</a>
</div>
<div style="height: 100vh; filter: brightness(0.7);">
<div id="carouselExampleFade" class="carousel slide carousel-fade" data-bs-ride="carousel" style="height: 100%;">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2" aria-label="Slide 3"></button>
</div>
<div class="carousel-inner" style="height: 100%;">
<div class="carousel-item active">
<img src="./img/HD-wallpaper-medical-hospital.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="./img/medicine-healthcare-people-conce.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="./img/surgery-1822458_640.png" class="d-block w-100" alt="...">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleFade" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleFade" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</section>
<!-- home section ends-->
<!-- about section starts -->
<section class="about" id="about">
<h1 class="heading"> <span> about </span> us </h1>
<div class="row">
<div class="video-container">
<video src="img/about-video.mp4" loop autoplay muted></video>
<h3>who we are</h3>
</div>
<div class="content">
<h3>Our Commitment to Healthcare</h3>
<p>Welcome to Swasthya Point! We have been dedicated to providing exceptional healthcare services to our
community. </p>
<p>Our skilled team of professionals utilizes advanced technology to deliver personalized care across
various specialties, including emergency services and wellness programs.</p>
<a href="#" class="btn">Learn more</a>
</div>
</div>
</section>
<!-- about section ends -->
<!-- icons sections starts -->
<section class="icons-container">
<div class="icons">
<div class="info">
<h3>Pharmacy</h3>
<span>Prescription and medications.</span>
</div>
</div>
<div class="icons">
<div class="info">
<h3>Maternity Care</h3>
<span>Support for new mothers</span>
</div>
</div>
<div class="icons">
<div class="info">
<h3>Mental Health Services</h3>
<span>Emotional wellness support</span>
</div>
</div>
<div class="icons">
<div class="info">
<h3>Health Screening</h3>
<span>Preventive health evaluations</span>
</div>
</div>
</section>
<!-- icons section ends -->
<div class="py-5" id="services">
<div class="container">
<div class="row ">
<div class="col-md-4 justify-content-center flex-column">
<div class="card my-5 border-0 align-items-center">
<img src="img/ic.jpeg" class="card-img-top serviceimgs" alt="Radiology">
<div class="card-body text-center">
<h5 class="card-title">Radiology</h5>
<h5 class="card-text">To visualize internal structures and diagnose conditions.</h5>
</div>
</div>
<div class="card border-0 align-items-center">
<img src="img/ic2.jpeg" class="card-img-top serviceimgs" alt="Blood Bank">
<div class="card-body text-center">
<h5 class="card-title">Blood Bank</h5>
<h5 class="card-text">Transfusion medicine and blood donation center</h5>
</div>
</div>
</div>
<div class="col-md-4 ">
<div class="card my-5 border-0 align-items-center">
<img src="img/ic3.jpeg" class="card-img-top serviceimgs" alt="Psychiatrist">
<div class="card-body text-center">
<h5 class="card-title ">Psychiatrist</h5>
<h5 class="card-text">Specializes in mental health</h5>
</div>
</div>
<div class="card border-0 align-items-center">
<img src="img/ic4.jpeg" class="card-img-top serviceimgs" alt="Urologist">
<div class="card-body text-center">
<h5 class="card-title">Urologist</h5>
<h5 class="card-text">Focuses on conditions affecting the urinary tract</h5>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card my-5 border-0 align-items-center">
<img src="img/ic5.jpeg" class="card-img-top serviceimgs" alt="Dermatologist">
<div class="card-body text-center">
<h5 class="card-title">Dermatologist</h5>
<h5 class="card-text">diagnosis and treatment of skin, hair, and nail conditions.</h5>
</div>
</div>
<div class="card border-0 align-items-center">
<img src="img/ic6.jpeg" class="card-img-top serviceimgs" alt="Pediatrician">
<div class="card-body text-center">
<h5 class="card-title">Pediatrician</h5>
<h6 class="card-text">Specializes in the medical care of infants, children</h5>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div class="bg-boz py-3">
<div class="container">
<div class="row">
<div class="col-md-4">
<img src="img/portfolio-6.jpg" class="card-img my-5" alt="...">
<img src="img/portfolio-2.jpg" class="card-img " alt="...">
</div>
<div class="col-md-4">
<img src="img/portfolio-3.jpg" class="card-img my-5" alt="...">
<img src="img/portfolio-4.jpg" class="card-img" alt="...">
</div>
<div class="col-md-4">
<img src="img/portfolio-5.jpg" class="card-img my-5" alt="...">
<img src="img/portfolio-1.jpg" class="card-img mb-5" alt="...">
</div>
</div>
</div>
</div> -->
<div class="bg-boz py-3" id="gallery">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="image-container">
<a href="img/portfolio-6.jpg"
data-pswp-width="370"
data-pswp-height="300">
<img src="img/portfolio-6.jpg" class="card-img my-5" alt="...">
</a>
</div>
<div class="image-container">
<a href="img/portfolio-2.jpg"
data-pswp-width="370"
data-pswp-height="300">
<img src="img/portfolio-2.jpg" class="card-img " alt="...">
</a>
</div>
</div>
<div class="col-md-4">
<div class="image-container">
<a href="img/portfolio-3.jpg"
data-pswp-width="370"
data-pswp-height="300">
<img src="img/portfolio-3.jpg" class="card-img my-5" alt="...">
</a>
</div>
<div class="image-container">
<a href="img/portfolio-4.jpg"
data-pswp-width="370"
data-pswp-height="300">
<img src="img/portfolio-4.jpg" class="card-img" alt="...">
</a>
</div>
</div>
<div class="col-md-4">
<div class="image-container">
<a href="img/portfolio-5.jpg"
data-pswp-width="370"
data-pswp-height="300">
<img src="img/portfolio-5.jpg" class="card-img my-5" alt="...">
</a>
</div>
<div class="image-container">
<a href="img/portfolio-1.jpg"
data-pswp-width="370"
data-pswp-height="300">
<img src="img/portfolio-1.jpg" class="card-img mb-5" alt="...">
</a>
</div>
</div>
</div>
</div>
</div>
<div class="bg-mavi py-5">
<div class="container">
<div class="col d-flex flex-column " id="bottom-carousel">
<div class="d-flex justify-content-center mb-5">
<div class="card-body text-center text-white w-50 d-flex flex-column">
<h1 class="card-title">''</h1>
<p class="card-text" style="font-size: 20px;">Welcome to a world of personalized healthcare. Schedule appointments,
consult with specialists, and access medical resources conveniently online.</p>
</div>
</div>
<div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0"
class="active bt1" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" class="bt2"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" class="bt3"
aria-label="Slide 3"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="3" class="bt4"
aria-label="Slide 4"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="4" class="bt5"
aria-label="Slide 5"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<div class="carousel-caption d-flex flex-column py-3 d-md-block py-md-5">
<h6>Jane Galadriel</h6>
<p>Ceo Tengkurep</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption d-flex flex-column py-3 d-md-block py-md-5">
<h6>Jane Galadriel</h6>
<p>Ceo Tengkurep</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption d-flex flex-column py-3 d-md-block py-md-5">
<h6>Jane Galadriel</h6>
<p>Ceo Tengkurep</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption d-flex flex-column py-3 d-md-block py-md-5">
<h6>Jane Galadriel</h6>
<p>Ceo Tengkurep</p>
</div>
</div>
<div class="carousel-item">
<div class="carousel-caption d-flex flex-column py-3 d-md-block py-md-5">
<h6>Jane Galadriel</h6>
<p>Ceo Tengkurep</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions"
data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions"
data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<div id="contact"
class="max-w-2xl mx-auto relative overflow-hidden z-10 bg-white p-8 rounded-lg shadow-md before:w-44 before:h-44 before:absolute before:bg-cyan-400 before:rounded-full before:-z-10 before:blur-2xl after:w-56 after:h-56 after:absolute after:bg-sky-400 after:rounded-full after:-z-10 after:blur-xl after:top-60 after:-right-12">
<h2 class="text-5xl text-sky-900 font-bold mb-6">Contact Us</h2>
<form method="post" action="#" id="contactForm">
<div class="mb-4">
<label class="block text-xl font-medium text-gray-600" for="name">Name</label>
<input class="mt-1 p-2 w-full border rounded-md" type="text" />
</div>
<div class="mb-4">
<label class="block text-xl font-medium text-gray-600" for="email">Email Address</label>
<input class="mt-1 p-2 w-full border rounded-md" name="email" id="email" type="email" />
</div>
<div class="mb-4">
<label class="block text-xl font-medium text-gray-600" for="subject">Subject</label>
<input class="mt-1 p-2 w-full border rounded-md" type="text" />
</div>
<div class="mb-4">
<label class="block text-xl font-medium text-gray-600" for="Message">Message</label>
<textarea class="mt-1 p-2 w-full border rounded-md" rows="3" name="Message"
id="Message"></textarea>
</div>
<div class="flex justify-end">
<button
class=" text-2xl [background:linear-gradient(144deg,#af40ff,#5b42f3_50%,#00ddeb)] text-white px-4 py-2 font-bold rounded-md hover:opacity-80"
type="submit">
Send Message
</button>
</div>
<div class="d-flex justify-content-center">
<div id="confirmationMessage" class="alert alert-success mt-3" style="display: none;">
Thank you! Your message has been sent successfully.
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
// JavaScript to handle form submission and display thank you message
document.getElementById('contactForm').addEventListener('submit', function (event) {
event.preventDefault(); // Prevent form from submitting
// Show thank you message
document.getElementById('confirmationMessage').style.display = 'block';
document.getElementById('thankYouMessage').style.display = 'block';
document.getElementById('contactForm').reset();
});
</script>
</main>
<footer class="bg-goy">
<div class="container">
<div class="row py-4 jus d-flex justify-content-center">
<div class="col-md-5 text-white ">
<h5>Medical</h5>
<p>Putting your health first. Connect with top-tier healthcare providers, receive personalized
treatment recommendations, and manage your health journey effortlessly</p>
</div>
<div class="col-md-4 text-white ">
<h5>New York</h5>
<p>709 Honey Creek Dr. <br> Delhi <br> NY 10028</p>
<p>1-888-299-2000 <br> medical.in </p>
</div>
<div class="col-md-3 text-white">
<h5>Aligarh</h5>
<p>4851 Willow Greene Drive <br> Montgomery <br> AL 36109</p>
<p>1-888-299-2000 <br> med </p>
</div>
</div>
</div>
</footer>
<script> configObj = {
"buttonD": "M8 17.333h5.333v4C13.333 22.806 14.527 24 16 24c1.473 0 2.667-1.194 2.667-2.667v-4H24L16 8l-8 9.333z", "buttonT": "translate(-1088 -172) translate(832 140) translate(32 32) translate(224)",
"shadowSize": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
"roundnessSize": "999px",
"buttonDToBottom": "32px",
"buttonDToRight": "32px",
"selectedBackgroundColor": "#13324b",
"selectedIconColor": "#b3ddff",
"buttonWidth": "56px",
"buttonHeight": "56px",
"svgWidth": "48px",
"svgHeight": "48px"
};
function createButton(obj, pageSimulator) {
const body = document.querySelector("body");
backToTopButton = document.createElement("span");
backToTopButton.classList.add("softr-back-to-top-button");
backToTopButton.id = "softr-back-to-top-button";
pageSimulator ? pageSimulator.appendChild(backToTopButton) : body.appendChild(backToTopButton);
backToTopButton.style.width = obj.buttonWidth;
backToTopButton.style.height = obj.buttonHeight;
backToTopButton.style.marginRight = obj.buttonDToRight;
backToTopButton.style.marginBottom = obj.buttonDToBottom;
backToTopButton.style.borderRadius = obj.roundnessSize;
backToTopButton.style.boxShadow = obj.shadowSize;
backToTopButton.style.color = obj.selectedBackgroundColor;
backToTopButton.style.backgroundColor = obj.selectedBackgroundColor;
pageSimulator ? backToTopButton.style.position = "absolute" : backToTopButton.style.position = "fixed";
backToTopButton.style.outline = "none";
backToTopButton.style.bottom = "0px";
backToTopButton.style.right = "0px";
backToTopButton.style.cursor = "pointer";
backToTopButton.style.textAlign = "center";
backToTopButton.style.border = "solid 2px currentColor";
backToTopButton.innerHTML = '<svg class="back-to-top-button-svg" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" > <g fill="none" fill-rule="evenodd"> <path d="M0 0H32V32H0z" transform="translate(-1028 -172) translate(832 140) translate(32 32) translate(164) matrix(1 0 0 -1 0 32)" /> <path class="back-to-top-button-img" fill-rule="nonzero" d="M11.384 13.333h9.232c.638 0 .958.68.505 1.079l-4.613 4.07c-.28.246-.736.246-1.016 0l-4.613-4.07c-.453-.399-.133-1.079.505-1.079z" transform="translate(-1028 -172) translate(832 140) translate(32 32) translate(164) matrix(1 0 0 -1 0 32)" /> </g> </svg>';
backToTopButtonSvg = document.querySelector(".back-to-top-button-svg");
backToTopButtonSvg.style.verticalAlign = "middle";
backToTopButtonSvg.style.margin = "auto";
backToTopButtonSvg.style.justifyContent = "center";
backToTopButtonSvg.style.width = obj.svgWidth;
backToTopButtonSvg.style.height = obj.svgHeight;
backToTopButton.appendChild(backToTopButtonSvg);
backToTopButtonImg = document.querySelector(".back-to-top-button-img");
backToTopButtonImg.style.fill = obj.selectedIconColor;
backToTopButtonSvg.appendChild(backToTopButtonImg);
backToTopButtonImg.setAttribute("d", obj.buttonD);
backToTopButtonImg.setAttribute("transform", obj.buttonT); if (!pageSimulator) {
backToTopButton.style.display = "none";
window.onscroll = function () {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { backToTopButton.style.display = "block"; }
else { backToTopButton.style.display = "none"; }
};
backToTopButton.onclick = function () { document.body.scrollTop = 0; document.documentElement.scrollTop = 0; };
}
}; document.addEventListener("DOMContentLoaded", function () { createButton(configObj, null); });</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"></script>
<script src="./index.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.4/umd/photoswipe-lightbox.umd.min.js" integrity="sha512-D16CBrIrVF48W0Ou0ca3D65JFo/HaEAjTugBXeWS/JH+1KNu54ZOtHPccxJ7PQ44rTItUT6DSI6xNL+U34SuuQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
const lightbox = new PhotoSwipeLightbox({
gallery: '#gallery',
children: 'a',
showHideAnimationType: 'fade',
pswpModule: () => import('https://cdnjs.cloudflare.com/ajax/libs/photoswipe/5.4.4/photoswipe.esm.min.js')
});
lightbox.init();
</script>
</body>
</html>