-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
296 lines (276 loc) · 11.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>COVID Co-Pilot</title>
<script src="https://kit.fontawesome.com/b89d79f88d.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--National Covid Data Level Start-->
<main class=" columns is-flex m-4 is-justify-content-space-evenly is-multiline is-centered ">
<div class="tile is-3 m-3 is-flex-direction-row shiftbelow">
<div class="column is-centered">
<div class="card is-flex is-flex-direction-column is-justify-content-center is-align-content-center">
<header class="card-header">
<p class="card-header-title has-text-centered">U.S. National Data</p>
</header>
<nav class="level is-mobile "></nav>
<div class="content is-mobile">
<div class="card-content">
<div class="level-item has-text-centered">
<div>
<p class="heading">Total Cases </p>
<p class="title is-size-6" id="national-total-cases"></p>
</div>
</div>
<br>
<div class="level-item has-text-centered">
<div>
<p class="heading">Total New Cases </p>
<p class="title is-size-6" id="national-new-cases"></p>
</div>
</div>
<br>
<div class="level-item has-text-centered">
<div>
<p class="heading">Fully Vaccinated </p>
<p class="title is-size-6" id="fully-vaccinated"></p>
</div>
</div>
<br>
<div class="level-item has-text-centered">
<div>
<p class="heading">Single Dose Vaccinated </p>
<p class="title is-size-6" id="single-dose"></p>
</div>
</div>
<br>
<div class="level-item has-text-centered">
<div>
<p class="heading">Hospitalizations </p>
<p class="title is-size-6" id="hospitalizations"></p>
</div>
</div>
<br>
<div class="level-item has-text-centered">
<div>
<p class="heading">Deaths </p>
<p class="title is-size-6" id="deaths"></p>
</div>
</div>
<br>
<footer>
<figure><a href="https://covid.cdc.gov/covid-data-tracker/#datatracker-home"><img src="images\cdc.jpg"></a></figure>
</footer>
</div>
</div>
</nav>
</div>
</div>
</div>
<!--National Covid Data Level End--
<!--Covid Art Center Piece - Lower Text & Input Field Start-->
<div class="tile is-4 mt-4 is-justify-content-center is-align-content-center is-mobile" id="center">
<div class="container has-text-centered is-flex s-justify-content-center is-flex-direction-column ">
<p class="title"><span class="icon-text">COVID Co-Pilot <span class="icon">
<i class="fas fa-plane"></i>
</span>
</span>
<br>
<small>U.S. Version</small></p>
<div class="tile is-flex is-justify-content-center is-align-content-center">
<div class="control has-icons-left">
<div class="select">
<select id="dropdown">
<option id="selected"><a class="selected">Select Your State</a></option>
<option>Alabama</option>
<option>Alaska</option>
<option>Arizona</option>
<option>Arkansas</option>
<option>California</option>
<option>Colorado</option>
<option>Connecticut</option>
<option>Delaware</option>
<option>Florida</option>
<option>Georgia</option>
<option>Hawaii</option>
<option>Idaho</option>
<option>Illinois</option>
<option>Indiana</option>
<option>Iowa</option>
<option>Kansas</option>
<option>Kentucky</option>
<option>Louisiana</option>
<option>Maine</option>
<option>Maryland</option>
<option>Massachusetts</option>
<option>Michigan</option>
<option>Minnesota</option>
<option>Mississippi</option>
<option>Missouri</option>
<option>Montana</option>
<option>Nebraska</option>
<option>Nevada</option>
<option>New Hampshire</option>
<option>New Jersey</option>
<option>New Mexico</option>
<option>New York</option>
<option>North Carolina</option>
<option>North Dakota</option>
<option>Ohio</option>
<option>Oklahoma</option>
<option>Oregon</option>
<option>Pennsylvania</option>
<option>Rhode Island</option>
<option>South Carolina</option>
<option>South Dakota</option>
<option>Tennessee</option>
<option>Texas</option>
<option>Utah</option>
<option>Vermont</option>
<option>Virginia</option>
<option>Washington</option>
<option>West Virginia</option>
<option>Wisconsin</option>
<option>Wyoming</option>
</select>
</div>
<span class="icon is-left">
<i class="fas fa-globe"></i>
</span>
</div>
</div>
<figure>
<img class="mt-3"src="images\covid.jpg">
</figure>
</div>
</div>
<!--Covid Art Center Piece - Lower Text & Input Field End-->
<!--Global Covid Data Level Start-->
<div class="tile is-flex is-3 m-3 is-justify-content-center is-multiline is-centered shiftbelow">
<div class="column is-centered ">
<div class="card is-flex is-flex-direction-column is-justify-content-center is-align-content-center">
<header class="card-header">
<p class="card-header-title has-text-centered"> North American Data<span id="continent-data"></span></p>
</header>
<nav class="level is-mobile "></nav>
<div class="content is-mobile">
<div class="card-content">
<div class="level-item has-text-centered">
<div>
<p class="heading is-mobile">Total Confirmed Cases </p>
<p class="title is-size-6 " id="continent-cases"></p>
</div>
</div>
</div>
<br>
<div class="level-item has-text-centered">
<div>
<p class="heading" >Total Confirmed Deaths </p>
<p class="title is-size-6" id="continent-deaths"></p>
</div>
</div>
</div>
<footer class="is-flex is-justify-content-center is-align-content-center">
<figure><a
href="https://www.who.int/emergencies/diseases/novel-coronavirus-2019?gclid=Cj0KCQjw-NaJBhDsARIsAAja6dNRePmsDlMU3zdtrDzOdTnHfcmCvo-avDtdOmBZiumlkSaM__iXVS4aAsHvEALw_wcB"><img
src="images\logo-who.jpg"></a></figure>
</footer>
</div>
</div>
</nav>
</div>
</div>
</div>
<!--Global Covid Data Level End-->
<!-- State Selected Covid Data Cards -->
<div class="columns m-4 is-multiline is-hidden shiftlowest " id="data-cards">
<!--ICU Data-->
<div class="column is-6">
<div class="card mx-3">
<header class="card-header">
<p class="card-header-title">
<span id="icu-header"></span> ICU Beds Available <i class="fas fa-procedures">
</i></p>
</header>
<div class="card-content">
<div class="icon-text">
<div class="content" id="icu-data">
<br>
</div>
</div>
</div>
</div>
</div>
<!--ICU Data End-->
<!--Vaccine Totals-->
<div class="column is-6">
<div class="card mx-3">
<header class="card-header">
<p class="card-header-title"><span id="vaccine-header"></span> Vaccine Totals <i class="fas fa-syringe"></i></p>
</header>
<div class="card-content">
<div class="content" id="vaccine-data">
<br>
</div>
</div>
</div>
</div>
<!--Vaccine Data End-->
<!--Hospitalization Totals-->
<div class="column is-6">
<div class="card mx-3">
<header class="card-header">
<p class="card-header-title"><span id="hospitalization-header"></span> Hospitalization Totals <i class="fas fa-hospital"></i></p>
</header>
<div class="card-content">
<div class="content" id="state-hospitalizations">
<br>
</div>
</div>
</div>
</div>
<!--Hospitalization Totals End-->
<!--Death Totals-->
<div class="column is-6">
<div class="card mx-3">
<header class="card-header">
<p class="card-header-title">
<span id="deaths-header"></span> Death Totals <i class="fas fa-skull-crossbones">
</i></p>
</header>
<div class="card-content">
<div class="content" id="state-deaths">
<br>
</div>
</div>
</div>
</div>
</div>
<!--Death Totals End-->
</main>
<footer class="footer">
<div class="content has-text-centered">
<a href="https://covid.cdc.gov/covid-data-tracker/#datatracker-home" class="navbar-center">Centers for Disease
Control and Prevention</a>
|
<a href="https://www.who.int/emergencies/diseases/novel-coronavirus-2019?gclid=Cj0KCQjw-NaJBhDsARIsAAja6dNRePmsDlMU3zdtrDzOdTnHfcmCvo-avDtdOmBZiumlkSaM__iXVS4aAsHvEALw_wcB"
class="navbar-center">World Health Organization</a>
<p>
<br>
<br>
<strong>COVID Co-Pilot</strong> by <a href="https://github.com/maxaeon">Max</a>, <a
href="https://github.com/AdamHale88">Adam</a>, <a href="https://github.com/veggiepilot">Johannes</a>, and <a
href="https://github.com/maxaeon">Andrew</a><br>The source code is licensed:
<a href="http://opensource.org/licenses/mit-license.php">MIT</a>. The website content
is licensed: <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY NC SA 4.0</a>.
<br>
<a href="https://maxaeon.github.io/covid/disclaimer">disclaimer</a>
</p>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>