-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
245 lines (227 loc) · 11.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="virus.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Corona Stats LK</title>
<!-- css -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<!-- js -->
<script src="js/bootstrap.min.js" defer></script>
<script src="js/charts.min.js" defer></script>
<script src="js/chart-config.js" defer></script>
<script src="js/faq-list.js" defer></script>
<script src="js/script.js" defer></script>
</head>
<body>
<!-- navbar start -->
<nav class="navbar navbar-dark fixed-top navbar-expand-lg">
<div class="container">
<a class="navbar-brand h1 p-0 m-0" href="/">Corons Stats LK</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarScroll"
aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarScroll">
<ul class="navbar-nav ms-auto my-2 my-lg-0 navbar-nav-scroll" style="--bs-scroll-height: auto;">
<li class="nav-item me-3">
<a class="nav-link" aria-current="page" href="#top"><strong>Home</strong></a>
</li>
<li class="nav-item me-3">
<a class="nav-link" href="#stats"><strong>Statistics</strong></a>
</li>
<li class="nav-item me-3">
<a class="nav-link" href="#types"><strong>Vaccine types</strong></a>
</li>
<li class="nav-item me-3">
<a class="nav-link" href="#faq"><strong>FAQ</strong></a>
</li>
</ul>
</div>
</div>
</nav>
<!-- navbar ends -->
<!-- banner section starts -->
<section class="container-fluid full-h banner-section p-0" id="top">
<div class="banner"></div>
<div class="overlay d-grid align-items-center">
<div class="container">
<div class="row">
<div class="col-lg-6 text-white text-center text-lg-start">
<h1 class="mb-3 banner-title">Get Vaccinated!</h1>
<p class="mx-2">Getting a COVID-19 vaccine is a safer, more reliable way to build protection than getting
sick with COVID-19. COVID-19 vaccination helps protect you by creating an antibody response
without you having to experience potentially severe illness or post-COVID conditions.</p>
<a href="#stats"><button class="btn btn-info px-3 mt-3">See Stats</button></a>
</div>
</div>
</div>
</div>
</section>
<!-- banner section ends -->
<!-- stats section starts -->
<section class="container pt-5" id="stats">
<h1 class="text-center mt-3">Statistics</h1>
<hr width="120px" class="mx-auto">
<div class="row justify-content-center mt-5 text-center">
<div class="col-11 col-sm-8 col-md-6 col-lg-3">
<div class="stat-tile py-3">
<p class="stat-title">Total Cases</p>
<p class="stat-data" style="--color: #6b85de;"><strong id="total-cases-lk">0</strong></p>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-3">
<div class="stat-tile py-3">
<p class="stat-title">Active Cases</p>
<p class="stat-data" style="--color: #f98847;"><strong id="total-active-lk">0</strong></p>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-3">
<div class="stat-tile py-3">
<p class="stat-title">Deaths</p>
<p class="stat-data" style="--color: #ff8484;"><strong id="total-deaths-lk">0</strong></p>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-3">
<div class="stat-tile py-3">
<p class="stat-title">Recovered</p>
<p class="stat-data" style="--color: #8ACA2B;"><strong id="total-recovered-lk">0</strong></p>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-12 mb-4">
<canvas id="total-cases-chart" height="450px"></canvas>
</div>
<div class="col-lg-6 mb-4">
<canvas id="total-deaths-chart" height="200px"></canvas>
</div>
<div class="col-lg-6 mb-4">
<canvas id="total-recovered-chart" height="200px"></canvas>
</div>
<div class="col-lg-5 mb-4">
<canvas id="summary-chart" height="150px"></canvas>
</div>
</div>
<p class="text-secondary text-center mb-0">Source: <a
href="https://www.worldometers.info/coronavirus/country/sri-lanka" target="_blank">Worldometers</a> | <a
href="https://hpb.health.gov.lk/covid19-dashboard/" target="_blank">HPB</a></p>
</section>
<!-- stats section ends -->
<!-- types section starts -->
<section class="container pt-5" id="types">
<h1 class="text-center mt-3">Approved vaccines in Sri Lanka</h1>
<hr width="120px" class="mx-auto">
<div class="row justify-content-center mt-5">
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #ff9547;">RNA</div>
<div class="my-4">
<h4 class="mb-0">Moderna</h4>
<h3><strong>Spikevax</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 88 countries</p>
<p class="mb-4"><strong>68 trials</strong> in 24 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/22/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #ff9547;">RNA</div>
<div class="my-4">
<h4 class="mb-0">Pfizer/BioNTech</h4>
<h3><strong>Comirnaty</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 149 countries</p>
<p class="mb-4"><strong>90 trials</strong> in 29 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/6/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #b57cc8;">Inactivated</div>
<div class="my-4">
<h4 class="mb-0">Sinopharm (Beijing)</h4>
<h3><strong>Covilo</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 93 countries</p>
<p class="mb-4"><strong>38 trials</strong> in 16 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/5/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #b57cc8;">Inactivated</div>
<div class="my-4">
<h4 class="mb-0">Sinovac</h4>
<h3><strong>CoronaVac</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 56 countries</p>
<p class="mb-4"><strong>40 trials</strong> in 10 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/7/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #e375b6;">Non Replicating Viral Vector</div>
<div class="my-4">
<h4 class="mb-0">Gamaleya</h4>
<h3><strong>Sputnik V</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 74 countries</p>
<p class="mb-4"><strong>25 trials</strong> in 08 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/12/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #e375b6;">Non Replicating Viral Vector</div>
<div class="my-4">
<h4 class="mb-0">Oxford/AstraZeneca</h4>
<h3><strong>Vaxzevria</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 149 countries</p>
<p class="mb-4"><strong>70 trials</strong> in 33 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/4/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
<div class="col-11 col-sm-8 col-md-6 col-lg-4">
<div class="vaccine-type-card">
<div class="type" style="--bg: #e375b6;">Non Replicating Viral Vector</div>
<div class="my-4">
<h4 class="mb-0">Serum Institute of India</h4>
<h3><strong>Covishield (Oxford/ AstraZeneca formulation)</strong></h3>
<p class="mb-2 mt-4"><strong>Approved</strong> in 49 countries</p>
<p class="mb-4"><strong>04 trials</strong> in 01 countries</p>
<a href="https://covid19.trackvaccines.org/vaccines/48/" class="more-link" target="_blank">Read more</a>
</div>
</div>
</div>
</div>
<p class="text-secondary text-center pb-0">Source: <a href="https://covid19.trackvaccines.org/country/sri-lanka"
target="_blank">https://covid19.trackvaccines.org</a></p>
</section>
<!-- types section ends -->
<!-- faq section starts -->
<section class="container pt-5" id="faq">
<h1 class="text-center mt-3">Frequently Asked Questions</h1>
<hr width="120px" class="mx-auto">
<div class="row justify-content-center mt-5">
<div class="col-lg-7">
<div class="accordion" id="accordian-div">
<!-- items will be dynamically injected -->
</div>
</div>
</div>
</section>
<!-- faq section ends -->
<!-- footer starts -->
<footer class="container bg-dark text-center py-5 mt-5">
<p class="text-white m-0">Designed & Developed with ♥️ by <a href="http://github.com/nsadisha">nsadisha</a></p>
</footer>
<!-- footer ends -->
</body>
</html>