-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
205 lines (195 loc) · 10 KB
/
Copy pathindex.html
File metadata and controls
205 lines (195 loc) · 10 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
<!DOCTYPE html>
<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#f5efe2" />
<meta
name="description"
content="VaxVsBug is an interactive visual tool that compares vaccine side effects with disease symptoms and outcomes, helping people explore risk."
/>
<meta name="author" content="Janne Sarkela" />
<link rel="canonical" href="https://vaxvsbug.com/" />
<link rel="alternate" hreflang="en" href="https://vaxvsbug.com/?lang=en" />
<link rel="alternate" hreflang="fi" href="https://vaxvsbug.com/?lang=fi" />
<link rel="alternate" hreflang="fr" href="https://vaxvsbug.com/?lang=fr" />
<link rel="alternate" hreflang="es" href="https://vaxvsbug.com/?lang=es" />
<link rel="alternate" hreflang="de" href="https://vaxvsbug.com/?lang=de" />
<link rel="alternate" hreflang="pt-BR" href="https://vaxvsbug.com/?lang=pt" />
<link rel="alternate" hreflang="ar" href="https://vaxvsbug.com/?lang=ar" />
<link rel="alternate" hreflang="ja" href="https://vaxvsbug.com/?lang=ja" />
<link rel="alternate" hreflang="zh-CN" href="https://vaxvsbug.com/?lang=zh" />
<link rel="alternate" hreflang="x-default" href="https://vaxvsbug.com/" />
<meta property="og:title" content="VaxVsBug | Compare Vaccination and Infection Risks" />
<meta property="og:description" content="Compare vaccine side effects with disease symptoms and outcomes using an interactive probability visualizer." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://vaxvsbug.com/" />
<meta property="og:site_name" content="VaxVsBug" />
<meta property="og:see_also" content="https://www.sanaracreations.fi" />
<meta property="og:locale" content="en_US" />
<meta property="og:locale:alternate" content="fi_FI" />
<meta property="og:image" content="https://vaxvsbug.com/img/og-image.jpg" />
<meta property="og:image:secure_url" content="https://vaxvsbug.com/img/og-image.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="VaxVsBug social share image illustrating vaccine side effects, disease symptoms, and probability-based risk comparison." />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="VaxVsBug | Compare Vaccination and Infection Risks" />
<meta name="twitter:description" content="Compare vaccine side effects with disease symptoms and outcomes using an interactive probability visualizer." />
<meta name="twitter:image" content="https://vaxvsbug.com/img/og-image.jpg" />
<meta name="twitter:image:alt" content="VaxVsBug social share image illustrating vaccine side effects, disease symptoms, and probability-based risk comparison." />
<meta name="twitter:site" content="@JanneSarkela" />
<meta name="twitter:creator" content="@JanneSarkela" />
<title>VaxVsBug | Compare Vaccination and Infection Risks</title>
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/png" sizes="96x96" href="/img/icons/favicon-96x96.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/img/icons/apple-touch-icon.png" />
<link rel="manifest" href="/img/icons/site.webmanifest" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="app-shell">
<section class="app-layout" aria-label="VaxVsBug app">
<header class="topbar">
<h1>VaxVsBug</h1>
<div class="topbar-controls">
<label class="field">
<select id="diseaseSelect" aria-label="Select disease"></select>
</label>
<label class="lang-field">
<select id="languageSelect" aria-label="Language">
<option value="en">EN</option>
<option value="fi">FI</option>
<option value="fr">FR</option>
<option value="es">ES</option>
<option value="de">DE</option>
<option value="pt">PT-BR</option>
<option value="ar">AR</option>
<option value="ja">JA</option>
<option value="zh">ZH-CN</option>
</select>
</label>
<button id="infoButton" class="info-button" type="button" tabindex="0" aria-expanded="false" aria-controls="infoPanel">i</button>
</div>
</header>
<section class="community-card" aria-label="Community vaccination">
<div class="community-copy">
<div class="community-meta">
<strong id="communityTitle">Vaccine Rate in Your Community</strong>
<output id="sliderValue" for="vaccinationSlider">60%</output>
</div>
</div>
<input
type="range"
id="vaccinationSlider"
min="0"
max="100"
value="60"
tabindex="0"
aria-label="Vaccination rate in your community"
/>
<div class="slider-scale" aria-hidden="true">
<span>0%</span>
<span>100%</span>
</div>
</section>
<section class="comparison-loading" aria-hidden="true">
<article class="loading-panel">
<div class="loading-title"></div>
<div class="loading-grid" data-loading-grid="vaccine"></div>
<div class="loading-meta">
<span></span>
<span></span>
</div>
</article>
<article class="loading-panel">
<div class="loading-title"></div>
<div class="loading-grid" data-loading-grid="disease"></div>
<div class="loading-meta">
<span></span>
<span></span>
</div>
</article>
</section>
<section class="comparison" aria-label="Vaccine and disease comparison">
<article class="panel">
<div class="panel-head">
<h2 id="vaccineHeading">Vaccination effects</h2>
</div>
<div id="vaccineGrid" class="grid" aria-label="Vaccine effects probability grid"></div>
<div class="panel-legend" id="vaccineLegend" aria-label="Vaccine effects legend"></div>
<details class="rare-effects" id="vaccineRare"></details>
<p class="metric" id="vaccineSummary"></p>
<div class="result" id="vaccineResult" aria-live="polite"></div>
</article>
<article class="panel">
<div class="panel-head">
<h2 id="diseaseHeading">Infection effects</h2>
</div>
<div id="diseaseGrid" class="grid" aria-label="Infection effects probability grid"></div>
<div class="panel-legend" id="diseaseLegend" aria-label="Infection effects legend"></div>
<details class="rare-effects" id="diseaseRare"></details>
<p class="metric" id="diseaseSummary"></p>
<div class="result" id="diseaseResult" aria-live="polite"></div>
</article>
</section>
<section class="action-row" aria-label="Simulation controls">
<img class="dice" src="img/dice.png" alt="" width="132" height="132" decoding="async" />
<button id="testButton" type="button" tabindex="0">Try your luck</button>
</section>
<div class="app-footnote">
<button id="sourcesButton" class="footnote-link" type="button" tabindex="0" aria-expanded="false" aria-controls="sourcesPanel">Sources</button>
<button id="aboutButton" class="footnote-link" type="button" tabindex="0" aria-expanded="false" aria-controls="aboutPanel">About</button>
</div>
</section>
</main>
<div class="info-overlay" id="infoOverlay" hidden></div>
<aside class="info-panel" id="infoPanel" role="dialog" aria-modal="true" aria-labelledby="infoTitle" aria-hidden="true" hidden>
<div class="info-panel-inner">
<div class="info-panel-head">
<h2 id="infoTitle">About this app</h2>
<button id="infoClose" class="info-close" type="button" tabindex="0" aria-label="Close information panel">×</button>
</div>
<div id="infoContent" class="info-content"></div>
</div>
</aside>
<div class="info-overlay" id="sourcesOverlay" hidden></div>
<aside class="info-panel sources-panel" id="sourcesPanel" role="dialog" aria-modal="true" aria-labelledby="sourcesTitle" aria-hidden="true" hidden>
<div class="info-panel-inner">
<div class="info-panel-head">
<h2 id="sourcesTitle">Sources</h2>
<button id="sourcesClose" class="info-close" type="button" tabindex="0" aria-label="Close sources panel">×</button>
</div>
<div id="sourcesContent" class="sources-content"></div>
</div>
</aside>
<div class="info-overlay" id="aboutOverlay" hidden></div>
<aside class="info-panel about-panel" id="aboutPanel" role="dialog" aria-modal="true" aria-labelledby="aboutTitle" aria-hidden="true" hidden>
<div class="info-panel-inner">
<div class="info-panel-head">
<h2 id="aboutTitle">About</h2>
<button id="aboutClose" class="info-close" type="button" tabindex="0" aria-label="Close about panel">×</button>
</div>
<div class="about-content">
<p>
Created by <strong>Janne Särkelä</strong> /
<a href="https://www.sanaracreations.fi" target="_blank" rel="noopener noreferrer">sanaracreations.fi</a>
</p>
<p>
VaxVsBug is a hobby project. Source code, documents on methodology and data integrity, and my other open source work are available on
<a href="https://github.com/janne-s/vaxvsbug" target="_blank" rel="noopener noreferrer">GitHub</a>.
Comments, contributions, translation corrections, and new translations are welcome.
</p>
<p>
Contact:
<a href="mailto:janne.sarkela@sanaracreations.fi">janne.sarkela@sanaracreations.fi</a>
/ <a href="https://x.com/JanneSarkela" target="_blank" rel="noopener noreferrer">X</a>
/ <a href="https://bsky.app/profile/jannesarkela.bsky.social" target="_blank" rel="noopener noreferrer">BlueSky</a>
</p>
</div>
</div>
</aside>
<script type="module" src="app.js"></script>
</body>
</html>