forked from covid19india/covid19india-react
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
198 lines (184 loc) Β· 7.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#6c757d" />
<meta name="msapplication-TileColor" content="#2d89ef" />
<meta name="theme-color" content="#ffffff" />
<!-- Primary Meta Tags -->
<title>Coronavirus Projections for India - seva.ml</title>
<meta
name="title"
content="Coronavirus Projections for India"
/>
<meta
name="description"
content="A volunteer-driven effort to project coronavirus in India. Uses Deep Learning and other Machine Learning based models to anaylse trend and project Covid19 cases in India."
/>
<link
rel="preconnect"
href="https://api.covid19india.org/min/data.min.json"
as="fetch"
/>
<link
rel="preconnect"
href="https://api.covid19india.org/min/timeseries.min.json"
as="fetch"
/>
<!-- Font Preloading -->
<link
rel="preload"
href="%PUBLIC_URL%/fonts/Archia/archia-semibold-webfont.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<link
rel="preload"
href="%PUBLIC_URL%/fonts/Archia/archia-medium-webfont.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<link
rel="preload"
href="%PUBLIC_URL%/fonts/Archia/archia-bold-webfont.woff2"
as="font"
type="font/woff2"
crossorigin
/>
<style>
/* font-face declarations for preloaded fonts */
/* These are the only 3 fonts being used.
font-face declarations for thin, regular and light fonts should be added as needed */
@font-face {
font-family: 'Archia';
src: url('%PUBLIC_URL%/fonts/Archia/archia-semibold-webfont.eot');
src: local('Archia'),
url('%PUBLIC_URL%/fonts/Archia/archia-semibold-webfont.eot?#iefix')
format('embedded-opentype'),
url('%PUBLIC_URL%/fonts/Archia/archia-semibold-webfont.woff2') format('woff2'),
url('%PUBLIC_URL%/fonts/Archia/archia-semibold-webfont.woff') format('woff'),
url('%PUBLIC_URL%/fonts/Archia/archia-semibold-webfont.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Archia';
src: url('%PUBLIC_URL%/fonts/Archia/archia-medium-webfont.eot');
src: local('Archia'),
url('%PUBLIC_URL%/fonts/Archia/archia-medium-webfont.eot?#iefix')
format('embedded-opentype'),
url('%PUBLIC_URL%/fonts/Archia/archia-medium-webfont.woff2') format('woff2'),
url('%PUBLIC_URL%/fonts/Archia/archia-medium-webfont.woff') format('woff'),
url('%PUBLIC_URL%/fonts/Archia/archia-medium-webfont.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Archia';
src: url('%PUBLIC_URL%/fonts/Archia/archia-bold-webfont.eot');
src: local('Archia'),
url('%PUBLIC_URL%/fonts/Archia/archia-bold-webfont.eot?#iefix')
format('embedded-opentype'),
url('%PUBLIC_URL%/fonts/Archia/archia-bold-webfont.woff2') format('woff2'),
url('%PUBLIC_URL%/fonts/Archia/archia-bold-webfont.woff') format('woff'),
url('%PUBLIC_URL%/fonts/Archia/archia-bold-webfont.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
</style>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://seva.ml" />
<meta
property="og:title"
content="Coronavirus Projections for India"
/>
<meta
property="og:description"
content="A volunteer-driven effort to project coronavirus in India. Uses Deep Learning and other Machine Learning based models to anaylse trend and project Covid19 cases in India."
/>
<meta
property="og:image"
content="https://www.covid19india.org/thumbnail.png"
/>
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="512" />
<meta property="og:image:height" content="512" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://seva.ml" />
<meta
property="twitter:title"
content="Coronavirus Projections for India"
/>
<meta name="twitter:site" value="@indiacovidseva" />
<meta
property="twitter:description"
content="A volunteer-driven effort to project coronavirus in India. Uses Deep Learning and other Machine Learning based models to anaylse trend and project Covid19 cases in India."
/>
<meta
property="twitter:image"
content="https://www.covid19india.org/thumbnail.png"
/>
<meta
name="google-site-verification"
content="IU0MGkPkN-yY7P7gOqFXskj1Ot2Zm4lYY_ZvPJiftgE"
/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
<script>
// Insert this script in your index.html right after the <body> tag.
// This will help to prevent a flash if dark mode is the default.
(function () {
// Change these if you use something different in your hook.
var storageKey = 'darkMode';
var classNameDark = 'dark-mode';
var classNameLight = 'light-mode';
function setClassOnDocumentBody(darkMode) {
document.body.classList.add(darkMode ? classNameDark : classNameLight);
document.body.classList.remove(
darkMode ? classNameLight : classNameDark
);
}
var preferDarkQuery = '(prefers-color-scheme: dark)';
var mql = window.matchMedia(preferDarkQuery);
var supportsColorSchemeQuery = mql.media === preferDarkQuery;
var localStorageTheme = null;
try {
localStorageTheme = localStorage.getItem(storageKey);
} catch (err) {}
var localStorageExists = localStorageTheme !== null;
if (localStorageExists) {
localStorageTheme = JSON.parse(localStorageTheme);
}
// Determine the source of truth
if (localStorageExists) {
// source of truth from localStorage
setClassOnDocumentBody(localStorageTheme);
} else if (supportsColorSchemeQuery) {
// source of truth from system
setClassOnDocumentBody(mql.matches);
localStorage.setItem(storageKey, mql.matches);
} else {
// source of truth from document.body
var isDarkMode = document.body.classList.contains(classNameDark);
localStorage.setItem(storageKey, JSON.stringify(isDarkMode));
}
})();
</script>
</html>