-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
536 lines (481 loc) · 18.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Go Corona</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<style>
#load{
width:100%;
height:80%;
position:fixed;
z-index:9999;
background:url("loading.gif") no-repeat center center rgba(0,0,0,0.25)
}
html{
height:80%;
}
body {
font: 400 15px Lato, sans-serif;
line-height: 1.8;
color: #818181;
height: 100%;
background-color:#f1f1f1;
}
h2 {
font-size: 24px;
text-transform: uppercase;
color: #303030;
font-weight: 600;
margin-bottom: 30px;
}
h4 {
font-size: 19px;
line-height: 1.375em;
color: #303030;
font-weight: 400;
margin-bottom: 30px;
}
.jumbotron {
background-color: #4e79ed;
color: #fff;
padding: 100px 25px;
font-family: Montserrat, sans-serif;
}
/* .container-fluid {
padding: 60px 50px;
} */
.bg-grey {
background-color: #f6f6f6;
}
.logo-small {
color: #4e79ed;
font-size: 50px;
}
.logo {
color: #4e79ed;
font-size: 200px;
}
.thumbnail {
padding: 0 0 15px 0;
border: none;
border-radius: 0;
}
.thumbnail img {
width: 100%;
height: 100%;
margin-bottom: 10px;
}
.carousel-control.right, .carousel-control.left {
background-image: none;
color: #4e79ed;
}
.carousel-indicators li {
border-color: #4e79ed;
}
.carousel-indicators li.active {
background-color: #4e79ed;
}
.item h4 {
font-size: 19px;
line-height: 1.375em;
font-weight: 400;
font-style: italic;
margin: 70px 0;
}
.item span {
font-style: normal;
}
.panel {
border: 1px solid #f4511e;
border-radius:0 !important;
transition: box-shadow 0.5s;
}
.panel:hover {
box-shadow: 5px 0px 40px rgba(0,0,0, .2);
}
.panel-footer .btn:hover {
border: 1px solid #f4511e;
background-color: #fff !important;
color: #4e79ed;
}
.panel-heading {
color: #fff !important;
background-color: #4e79ed !important;
padding: 25px;
border-bottom: 1px solid transparent;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.panel-footer {
background-color: white !important;
}
.panel-footer h3 {
font-size: 32px;
}
.panel-footer h4 {
color: #aaa;
font-size: 14px;
}
.panel-footer .btn {
margin: 15px 0;
background-color: #4e79ed;
color: #fff;
}
.navbar {
margin-bottom: 0;
background-color: #4e79ed;
z-index: 9999;
border: 0;
font-size: 20px ;
line-height: 1.42857143 !important;
letter-spacing: 4px;
border-radius: 0;
font-family: Montserrat, sans-serif;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.navbar li a, .navbar .navbar-brand {
color: #fff !important;
font-size: 12px;
}
.navbar-brand{
font-weight: bold;
font-size:16px !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
color: #f4511e !important;
background-color: #fff !important;
}
.navbar-default .navbar-toggle {
border-color: transparent;
color: #fff !important;
}
.icon-bar {
position: fixed;
top: 80%;
left: 96%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
}
.icon-bar a {
display: block;
text-align: center;
padding: 0px;
transition: all 0.3s ease;
color: white;
font-size: 30px;
width: 50px;
height: 50px;
}
.icon-bar a:hover {
background-color: #000;
}
.github {
background: #717070;
color: white;
}
footer .glyphicon {
font-size: 20px;
margin-bottom: 20px;
color: #4e79ed;
}
.footer-bar{
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.slideanim {visibility:hidden;}
.slide {
animation-name: slide;
-webkit-animation-name: slide;
animation-duration: 1s;
-webkit-animation-duration: 1s;
visibility: visible;
}
#feed , #over{
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
width: 100%;
margin-top: 20px;
margin-bottom: 10px;
padding: 30px;
border-radius: 15px;
background-color:white;
}
#over , #sympt , #preve , #treat {
text-align: justify;
text-justify: inter-word;
}
@keyframes slide {
0% {
opacity: 0;
transform: translateY(70%);
}
100% {
opacity: 1;
transform: translateY(0%);
}
}
@-webkit-keyframes slide {
0% {
opacity: 0;
-webkit-transform: translateY(70%);
}
100% {
opacity: 1;
-webkit-transform: translateY(0%);
}
}
@media screen and (max-width: 900px) {
.coronatable{
width: 100%;
margin-left: 0;
margin-right: 0;
}
.col-sm-4 {
text-align: center;
margin: 25px 0;
}
.btn-lg {
width: 100%;
margin-bottom: 35px;
}
}
@media screen and (max-width: 480px) {
.logo {
font-size: 150px;
}
}
</style>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<div id="load"></div>
<div id="contents">
<nav class="navbar navbar-dark bg-dark navbar-expand-sm">
<div class="container">
<a class="navbar-brand" href="https://github.com/navendu-pottekkat/go-corona" target="_blank" data-toggle="tooltip" data-placement="bottom" title="Join us to make the site Better">
<i class="fa fa-github" style="font-size:30px; align:left;"></i></a>
<a class="navbar-brand" href="#">
Go Corona
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-list-2" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar-list-2">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#stats">Stats</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#over">Overview</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#preve">Prevention</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#treat">Treatment</a>
</li>
</li>
</ul>
</div>
</div>
</nav>
<div id="stats">
<br>
<br>
<br>
<center>
<div class="container" id="feed">
<div>
<div class='tableauPlaceholder' id='viz1585859821686' style='position: relative'><noscript><a href='#'><img alt=' ' src='https://public.tableau.com/static/images/go/go-corona-Kerala-Dashboard-Mobile/DashboardMobile/1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='embed_code_version' value='3' /> <param name='site_root' value='' /><param name='name' value='go-corona-Kerala-Dashboard-Mobile/DashboardMobile' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https://public.tableau.com/static/images/go/go-corona-Kerala-Dashboard-Mobile/DashboardMobile/1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object></div> <script type='text/javascript'> var divElement = document.getElementById('viz1585859821686'); var vizElement = divElement.getElementsByTagName('object')[0]; if ( divElement.offsetWidth > 800 ) { vizElement.style.width='100%';vizElement.style.maxWidth='1150px';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';vizElement.style.maxHeight='887px';} else if ( divElement.offsetWidth > 500 ) { vizElement.style.width='100%';vizElement.style.maxWidth='1150px';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';vizElement.style.maxHeight='887px';} else { vizElement.style.width='100%';vizElement.style.height='1227px';} var scriptElement = document.createElement('script'); scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js'; vizElement.parentNode.insertBefore(scriptElement, vizElement); </script>
</div>
</div>
</center>
<br><br>
<div class="container" id="feed">
<div>
<div>
<div class='tableauPlaceholder' id='viz1585917271778' style='position: relative'><noscript><a href='#'><img alt=' ' src='https://public.tableau.com/static/images/CO/COVIDTimelineIndiaTabular/TableofCOVIDcases/1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='embed_code_version' value='3' /> <param name='site_root' value='' /><param name='name' value='COVIDTimelineIndiaTabular/TableofCOVIDcases' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https://public.tableau.com/static/images/CO/COVIDTimelineIndiaTabular/TableofCOVIDcases/1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /><param name='filter' value='publish=yes' /></object></div> <script type='text/javascript'> var divElement = document.getElementById('viz1585917271778'); var vizElement = divElement.getElementsByTagName('object')[0]; if ( divElement.offsetWidth > 800 ) { vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';} else if ( divElement.offsetWidth > 500 ) { vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';} else { vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*1.77)+'px';} var scriptElement = document.createElement('script'); scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js'; vizElement.parentNode.insertBefore(scriptElement, vizElement); </script>
</div>
</div>
</div>
<div id="over" class="container" id="feed">
<div class="container">
<h2>Overview</h2>
<p><b>Coronavirus disease (COVID-19)</b> is an <b>infectious</b> disease caused by a new virus. The disease causes <b>respiratory illness</b> (like the flu) with symptoms such as a cough, fever, and in more severe cases, difficulty breathing. You can protect yourself by <b>washing your hands frequently, avoiding touching your face, and avoiding close contact</b>> (1 meter or 3 feet) with people who are unwell.</p>
<h4>How it spreads</h4>
<p>Coronavirus disease spreads primarily through <b>contact</b> with an infected person when they cough or sneeze. It also spreads when a person touches a surface or object that has the virus on it, then touches their eyes, nose, or mouth.</p>
</div>
<br>
<hr>
<br>
<div id="sympt" class="container">
<h2>Symptoms</h2>
<p>People may be sick with the virus for 1 to 14 days before developing symptoms. The most common symptoms of coronavirus disease (COVID-19) are <b>fever</b>, <b>tiredness</b>, and <b>dry cough</b>. Most people (about 80%) recover from the disease without needing special treatment. More rarely, the disease can be serious and even fatal. Older people, and people with other medical conditions (such as asthma, diabetes, or heart disease), may be more vulnerable to becoming severely ill. People may experience: <b>cough fever tiredness difficulty breathing</b> (severe cases)</p>
</div>
<br>
<hr>
<br>
<div id="preve" class="container">
<h2>Prevention</h2>
<h4>Do the FIVE</h4>
<ul>
<li> HANDS Wash them often</li>
<li> ELBOW Cough into it</li>
<li> FACE Don't touch it</li>
<li> SPACE Keep safe distance</li>
<li> HOME Stay if you can</li>
</ul>
There’s currently no vaccine to prevent coronavirus disease (COVID-19). You can protect yourself and help prevent spreading the virus to others if you:
<ul>
<li>Wash your hands regularly for 20 seconds, with soap and water or alcohol-based hand rub</li>
<li>Cover your nose and mouth with a disposable tissue or flexed elbow when you cough or sneeze</li>
<li>Avoid close contact (1 meter or 3 feet) with people who are unwell</li>
<li>Stay home and self-isolate from others in the household if you feel unwell</li>
<li>Don't touch your eyes, nose, or mouth if your hands are not clean</li>
</ul>
</div>
<div class="container-fluid text-center">
<div class="container-fluid" >
<h2>KEEP YOUR HANDS CLEAN</h2>
<br>
<div class="row slideanim">
<div class="col-sm-4">
<img src = "assets/one.jpeg"></img>
<h4>PALM to PALM</h4>
</div>
<div class="col-sm-4">
<img src = "assets/two.jpeg"></img>
<h4>BACKS OF FINGERS</h4>
</div>
<div class="col-sm-4">
<img src = "assets/three.jpeg"></img>
<h4>FINGERS INTERLACED</h4>
</div>
</div>
<br><br>
<div class="row slideanim">
<div class="col-sm-4">
<img src = "assets/four.jpeg"></img>
<h4>BASE OF THUMBS</h4>
</div>
<div class="col-sm-4">
<img src = "assets/five.jpeg"></img>
<h4>BACK OF HANDS</h4>
</div>
<div class="col-sm-4">
<img src = "assets/six.jpeg"></img>
<h4 style="color:#303030;">FINGERNAILS</h4>
</div>
</div>
</div>
</div>
<br>
<hr>
<br>
<div id="treat" class="container">
<h2>Treatments</h2>
There is no specific medicine to prevent or treat coronavirus disease (COVID-19). People may need supportive care to help them breathe.
<h4>Self-care</h4>
If you have mild symptoms, stay at home until you’ve recovered. You can relieve your symptoms if you:
<ul>
<li>rest and sleep</li>
<li>keep warm</li>
<li>drink plenty of liquids</li>
<li>use a room humidifier or take a hot shower to help ease a sore throat and cough</li>
</ul>
<h4>Medical treatments</h4>
<p>If you develop a fever, cough, and have difficulty breathing, promptly seek medical care. Call in advance and tell your health provider of any recent travel or recent contact with travelers.</p>
</div>
<br>
<hr>
<br>
<div class="container-fluid text-center bg-grey" style="padding:15px;border-radius:15px">
<h2>LET'S FIGHT THIS TOGETHER BY SOCIAL DISTANCING</h2>
<div id="carouselContent" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active text-center p-4">
<h4>"Let's all get into the habit of washing our hands regularly.."</h4>
</div>
<div class="carousel-item text-center p-4">
<h4>"Stay home not only for you but for your loved ones.."</h4>
</div>
</div>
<a class="carousel-control-prev" href="#carouselContent" role="button" data-slide="prev">
<i class="fa fa-toggle-left" style="font-size:36px;color:black"></i>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselContent" role="button" data-slide="next">
<i class="fa fa-toggle-right" style="font-size:36px;color:black"></i>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<footer class="container-fluid text-center">
<br>
<br>
<a href="#myPage" title="To Top">
<i class="fa fa-sort-asc" style="font-size:36px;color:black"></i>
</a>
<br>
<br>
<div class="row footer-bar" style="background-color:#343a40!important;padding:10px; vertical-align: middle;">
<br>
<div class="col-sm-6" style="border-right:1px solid white;">
<p style=" vertical-align: middle;">Designed By: Abhiram Melattur | Navendu Pottekkat | Shibin B. Shaji</p>
</div>
<div class="col-sm-6">
<a class="github-button" href="https://github.com/navendu-pottekkat" data-color-scheme="no-preference: dark; light: light; dark: dark;" aria-label="Follow @navendu-pottekkat on GitHub">Follow @navendu-pottekkat</a>
|
<a class="github-button" href="https://github.com/navendu-pottekkat/go-corona" data-color-scheme="no-preference: dark; light: light; dark: dark;" data-icon="octicon-star" aria-label="Star navendu-pottekkat/go-corona on GitHub">Star</a>
|
<a class="github-button" href="https://github.com/navendu-pottekkat/go-corona/fork" data-icon="octicon-repo-forked" aria-label="Fork navendu-pottekkat/go-corona on GitHub">Fork</a>
</div>
</div>
</footer>
<script>
document.onreadystatechange = function () {
var state = document.readyState
if (state == 'interactive') {
document.getElementById('contents').style.visibility="hidden";
} else if (state == 'complete') {
setTimeout(function(){
document.getElementById('interactive');
document.getElementById('load').style.visibility="hidden";
document.getElementById('contents').style.visibility="visible";
},1000);
}
}
$(document).ready(function(){
$(".navbar a, footer a[href='#myPage']").on('click', function(event) {
if (this.hash !== "") {
event.preventDefault();
var hash = this.hash;
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function(){
window.location.hash = hash;
});
}
});
$(window).scroll(function() {
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
if (pos < winTop + 600) {
$(this).addClass("slide");
}
});
});
})
</script>
</body>
</html>