This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
splash.html
281 lines (233 loc) · 7.21 KB
/
splash.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
<!doctype html>
<html lang="en">
<head>
<!-- https://codepen.io/saransh/pen/BKJun -->
<!-- https://codepen.io/dazulu/pen/fGFyj -->
<!-- https://codepen.io/sedlukha/pen/eRoYMZ -->
<!-- https://codepen.io/AdamBlum/pen/jbBcf -->
<title>AI4Bharat COVID19 App</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Rubik:300,300i,400,400i,500,500i,700,700i,900,900i&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style type="text/css">
body{
margin:0px;
/* Never get smaller than this */
font-size: 24px;
}
@media (min-width:600px) {
body {
font-size: 24px;
}
}
@media (min-width:800px) {
body {
font-size: 24px;
}
}
@media (min-width:1000px) {
body {
font-size: 26px;
}
}
@media (min-width:1200px) {
body {
/* Never get larger than this */
font-size: 28px;
}
}
.features {
font-family: 'Rubik', serif;
/*font-size: smaller;*/
font-style: italic;
font-weight:300;
color: rgba(255, 255, 255, 0.5);
visibility:hidden;
}
.features-list {
font-family: 'Rubik', serif;
padding-top: -5px;
/*font-size: smaller;*/
font-weight:300;
color: rgba(255, 255, 255, 0.8);
visibility: hidden;
display:block;
margin: -0.2rem;
}
.main-content {
overflow:hidden;
position: relative;
display: flex;
align-items: center;
justify-content: center;
flex-flow: column;
min-height: 100vh;
/*background: linear-gradient(to right, rgba(36,31,31,1) 0%, rgba(36,31,31,1) 32%, rgba(74,71,70,1) 100%);*/
/*background: linear-gradient(to right, rgba(35,38,81,1) 0%, rgba(41,51,99,1) 32%, rgba(35,38,81,1) 100%);*/
background: #052c6b;
color: #fff;
text-align: center;
}
.vignette{
position:absolute;
width:100%; height:100%;
box-shadow:inset 0px 0px 150px 20px black;
mix-blend-mode: multiply;
-webkit-animation: vignette-anim 3s infinite; /* Safari 4+ */
-moz-animation: vignette-anim 3s infinite; /* Fx 5+ */
-o-animation: vignette-anim 3s infinite; /* Opera 12+ */
animation: vignette-anim 3s infinite; /* IE 10+, Fx 29+ */
}
.noise {
z-index: 100;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: .15;
}
.line{
position:absolute;
height:100%; width:1px;
opacity:0.1;
background-color:#000;
}
.titleCont{position:relative;}
.verse {
padding: .3em 1em .25em;
/*font-size: 24px;*/
/*font-size: small;*/
color: white;
font-size:90%;
/*font-family: 'Roboto Slab', sans-serif;*/
font-family: 'Rubik', serif;
font-weight: 100;
position:relative;
line-height:1;
color: rgba(255, 255, 255, 0.4);
visibility: hidden;
white-spacing:
}
.app-title {
padding: .3em 1em .25em;
font-weight: 300;
font-size: 5.5rem;
color: white;
font-family: 'Rubik', serif;
position:relative;
line-height:0.8;
visibility: visible;
white-spacing:
}
.overTitle{
position:absolute;
top:0;
left:0;
}
.dot{
width:3px;
height:2px;
background-color:white;
position:absolute;
opacity:0.3;
}
@-webkit-keyframes vignette-anim {
0% , 100%{ opacity: 1; }
50% { opacity: 0.7; }
}
@-moz-keyframes vignette-anim {
0% , 100%{ opacity: 1; }
50% { opacity: 0.7; }
}
@-o-keyframes vignette-anim {
0% , 100%{ opacity: 1; }
50% { opacity: 0.7; }
}
@keyframes vignette-anim {
0% , 100%{ opacity: 1; }
50% { opacity: 0.7; }
}
.click-cls{
color: #ffffff;
margin-bottom: -2rem;
font-family: 'Rubik', serif;
font-weight: 300;
font-size: 3rem;
}
.click-cls:hover{
color: black;
}
/*/**/*/
</style>
</head>
<body>
<main role="main" class="main-content" id="main-content">
<div class="titleCont" style="z-index: 1 !important;">
<h1 class="app-title" id="app-title">
AI4Bharat<br/><span style="font-size: 50%; letter-spacing:5px; font-weight:500; color:rgba(255, 255, 255, 0.8);">COVID19 APP</span>
</h1>
<h3 class="features" id="features">
<br/>In the app you can
</h3>
<h3 class="features-list features-list-1" id="features-list-1">
<a target="_parent" class="btn btn-lg btn-block click-cls" href="chatbot.html" role="button">chat with our bot</a>
</h3>
<h3 class="features-list features-list-2" id="features-list-2">
<a target="_parent" class="btn btn-lg btn-block click-cls" href="risk_assessment.html" role="button">perform risk assessment</a>
</h3>
<h3 class="features-list features-list-3" id="features-list-3">
<a target="_parent" class="btn btn-lg btn-block click-cls" href="patient_tracker.html" role="button">visualise live data </a>
</h3>
<h3 class="features-list features-list-4" id="features-list-4">
<a target="_parent" class="btn btn-lg btn-block click-cls" href="sos.html" role="button">seek and offer help</a>
</h3>
<h3 class="features-list features-list-5" id="features-list-5">
<a target="_parent" class="btn btn-lg btn-block click-cls" href="govt_advisory.html" role="button">follow govt. updates</a>
</h3>
<h2 class="verse" id="verse">
<br/><br/><br/>"Om, may all be happy,<br/>
may all be free from illness.<br/>
May all see what is auspicious,<br/>
may no one suffer.<br/>
Om <u>peace</u>, <u>peace</u>, <u>peace</u>.
</h2>
</div>
<canvas id="noise" class="noise"></canvas>
<div class="vignette"></div>
</main>
<script type="text/javascript">
function animateCSS(element, animationName, speed, callback) {
const node = document.querySelector(element)
node.classList.add('animated', animationName, speed)
function handleAnimationEnd() {
node.classList.remove('animated', animationName, speed)
node.removeEventListener('animationend', handleAnimationEnd)
if (typeof callback === 'function') callback()
}
node.addEventListener('animationend', handleAnimationEnd)
}
animateCSS('.app-title', 'fadeIn', 'slow', function() {
document.getElementById("features").style.visibility = "visible"
document.getElementById("features-list-1").style.visibility = "visible"
animateCSS('.features-list-1', 'fadeIn', 'fast', function() {
document.getElementById("features-list-2").style.visibility = "visible"
animateCSS('.features-list-2', 'fadeIn', 'fast', function() {
document.getElementById("features-list-3").style.visibility = "visible"
animateCSS('.features-list-3', 'fadeIn', 'fast', function() {
document.getElementById("features-list-4").style.visibility = "visible"
animateCSS('.features-list-4', 'fadeIn', 'fast', function(){
document.getElementById("features-list-5").style.visibility = "visible"
animateCSS('.features-list-5', 'fadeIn', 'fast', function(){
document.getElementById("verse").style.visibility = "visible"
animateCSS('.verse', 'fadeIn', 'slow')
})
})
})
})
})
})
</script>
</body>