-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathvaccines.html
More file actions
387 lines (317 loc) · 11.9 KB
/
vaccines.html
File metadata and controls
387 lines (317 loc) · 11.9 KB
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
<!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">
<!--
- primary meta tags
-->
<title>Jeevandaan</title>
<meta name="title" content="Jeevandaan">
<!--meta name="description" content="This is a madical html template made by codewithsadee
- favicon
-->
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml">
<!--
- google font link
-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Rubik:wght@400;500;700&display=swap"
rel="stylesheet">
<!--
- custom css link
-->
<link rel="stylesheet" href="./assets/css/style.css">
<!--
- preload images
-->
<link rel="preload" as="image" href="./assets/images/hero-banner.png">
<link rel="preload" as="image" href="./assets/images/hero-bg.png">
<style>
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
/* Background color */
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.modal {
display: none;
/* Hidden by default */
position: fixed;
/* Position the modal */
z-index: 1;
/* Make sure it appears above everything else */
left: 0;
top: 0;
width: 100%;
/* Full width */
height: 100%;
/* Full height */
overflow: auto;
/* Enable scrolling if needed */
background-color: rgba(0, 0, 0, 0.5);
/* Black background with opacity */
}
/* Modal content */
.modal-content {
background-color: #fefefe;
margin: 15% auto;
/* Center the modal vertically and horizontally */
padding: 20px;
border: 1px solid #888;
width: 80%;
/* 80% of the container width */
}
/* Close button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
/* Yes and No buttons */
.button-container {
text-align: center;
margin-top: 20px;
}
.button-container button {
padding: 10px 20px;
margin: 0 10px;
cursor: pointer;
}
.button-container button.highlight {
background-color: #4CAF50;
/* Green */
color: white;
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
/* Center the modal vertically and horizontally */
padding: 20px;
border: 1px solid #888;
width: 60%;
/* Set width */
max-width: 400px;
/* Maximum width */
border-radius: 10px;
/* Rounded corners */
text-align: center;
/* Center align text */
}
/* Yes and No buttons */
.button-container {
text-align: center;
margin-top: 20px;
}
.button-container button {
padding: 10px 20px;
margin: 0 10px;
cursor: pointer;
border: none;
background-color: #4CAF50;
/* Green */
color: white;
border-radius: 5px;
font-size: 16px;
}
.button-container button:focus {
outline: none;
/* Remove focus outline */
}
.button-container button:hover {
background-color: #45a049;
/* Darker green on hover */
}
.button-container button.highlight {
background-color: #45a049;
/* Darker green */
}
.button-container {
display: flex;
/* Use flexbox for horizontal layout */
justify-content: center;
/* Center the buttons horizontally */
margin-top: 20px;
}
.button-container button {
padding: 10px 20px;
margin: 0 10px;
cursor: pointer;
border: none;
background-color: #4CAF50;
/* Green */
color: white;
border-radius: 5px;
font-size: 16px;
}
.button-container button:focus {
outline: none;
/* Remove focus outline */
}
.button-container button:hover {
background-color: #00adb3;
/* Darker green on hover */
}
.button-container button.highlight {
background-color: #00adb3;
/* Darker green */
}
.navbar-link:hover {
background-color: #00adb3;
color: black;
}
/* Dropdown container */
.dropdown {
display: inline-block;
position: relative;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
/* Style for dropdown links */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
background-color: #00adb3;
}
/* Show the dropdown content when hover */
.dropdown:hover .dropdown-content {
display: block;
}
</style>
<link rel="stylesheet" href="vaccine/vacstyle.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css" integrity="sha512-2SwdPD6INVrV/lHTZbO2nodKhrnDdJK9/kg2XD1r9uGqPo1cUbujc+IYdlYdEErWNu69gVcYgdxlmVmzTWnetw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body id="top">
<!--
- #PRELOADER
-->
<div class="preloader" data-preloader>
<div class="circle"></div>
</div>
<script>
// Scroll to the top of the page on page load
window.onbeforeunload = function () {
window.scroll(0, 0);
};
window.onload = function () {
window.scroll(0, 0);
};
</script>
<!--
- #HEADER
-->
<header style="background-color: var(--rich-black-fogra-29);" class="header" data-header>
<div class="container">
<a href="index.html" class="logo">
<img src=".\assets\images\logofinal.png" width="200" height="46" alt="Doclab home">
</a>
<nav class="navbar" data-navbar>
<div class="navbar-top">
<a href="index.html" class="logo">
<img src=".\assets\images\medisahayak-high-resolution-logo-white-transparent.png" width="200"
height="46" alt="Doclab home">
</a>
<button class="nav-close-btn" aria-label="clsoe menu" data-nav-toggler>
<ion-icon name="close-outline" aria-hidden="true"></ion-icon>
</button>
</div>
<ul class="navbar-list">
<li class="navbar-item">
<a href="profile.html" class="navbar-link title-md profile-avatar" title="Profile">
<img src="./assets/images/doctorr.png" alt="Profile avatar" class="avatar-img">
</a>
</li>
<ul class="navbar">
<li class="navbar-item">
<a href="#" class="navbar-link title-md" onmouseover="showLanguageDropdown()"
onmouseout="hideLanguageDropdown()"><i class="fa-solid fa-language"></i> LANGUAGE</a>
<div id="languageDropdown" class="dropdown-content" style="display: none;">
<a href="#">Hindi</a>
<a href="#">English</a>
<a href="#">Bengali</a>
<a href="#">Telugu</a>
<a href="#">Marathi</a>
<a href="#">Tamil</a>
<a href="#">Urdu</a>
<a href="#">Gujarati</a>
<a href="#">Kannada</a>
<a href="#">Odia</a>
<a href="#">Punjabi</a>
<a href="#">Malayalam</a>
<a href="#">Assamese</a>
<a href="#">Maithili</a>
<a href="#">Sanskrit</a>
<a href="#">Kashmiri</a>
</div>
</li>
</ul>
<script>
// Language dropdown helpers (profile dropdown removed; avatar navigates to profile.html)
function showLanguageDropdown() {
var dropdownContent = document.getElementById('languageDropdown');
if (dropdownContent) dropdownContent.style.display = "block";
}
function hideLanguageDropdown() {
var dropdownContent = document.getElementById('languageDropdown');
if (dropdownContent) dropdownContent.style.display = "none";
}
</script>
<li class="navbar-item">
<button href="#" class="navbar-link title-md"><i class="fa-solid fa-truck-medical"></i> EMERGENCY</button>
</li>
<li class="navbar-item">
<a href="#bob" class="navbar-link title-md"><i class="fa-solid fa-phone"></i> CONTACT US</a>
</li>
</ul>
</nav>
<button class="nav-open-btn" aria-label="open menu" data-nav-toggler>
<ion-icon name="menu-outline"></ion-icon>
</button>
<div class="overlay" data-nav-toggler data-overlay></div>
</div>
</header>
<main style="width: 100%;">
<div class="vaccontainer">
<h1>Vaccination Centers Near Me <i class="fa-solid fa-syringe"></i></h1>
<div id="controls">
<label for="radius">Radius<i class="fa-solid fa-location-dot"></i> (km):</label>
<input type="range" id="radius" min="1" max="50" value="10">
<span id="radius-value">10 km</span>
</div>
<button id="get-location">Find Centers<i class="fa-solid fa-house-medical"></i></button>
<div id="results"></div>
</div>
</main>
<a href="#top" class="back-top-btn" aria-label="back to top" data-back-top-btn>
<ion-icon name="chevron-up"></ion-icon>
</a>
<script src="./assets/js/script.js"></script>
<script src="vaccine/vacscript.js"></script>
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
</body>
</html>