-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
495 lines (431 loc) · 16.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
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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#00b5ff">
<title>HackNit 2018</title>
<link href="https://fonts.googleapis.com/css?family=Comfortaa:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<style>
*{margin: 0; border: 0; padding: 0; font-family: Verdana, sans-serif;}
#topbar li{list-style: none; display: inline;}
h1{margin-bottom: 32px;}
section{
box-sizing: border-box;
width: 100%;
}
.container2{
/* background: rgba(255,255,255,.5); */
width: 960px;
margin: auto;
box-sizing: border-box;
padding: 92px 0 92px 0;
font-family: Verdana;
}
h1, h2{
font-family: Comfortaa, Arial, sans-serif;
text-transform: uppercase;
}
a, p, span{
font-family: Comfortaa, Arial, sans-serif;
}
.btn-primary{
/* background: #008cb2; */
background: rgba(0,0,0,.50);
text-decoration: none;
color: white;
padding: 12px;
width: 150px;
text-align: center;
border-radius: 30px;
border: 2px solid rgba(255,255,255,.0);
box-sizing: border-box;
display: block;
font-family: Comfortaa, Arial, sans-serif;
font-weight: bold;
}
.btn-primary:hover{
/* background: #008cb2; */
background: rgba(0,150,200,.9);
border: 2px solid rgba(255,255,255,.0);
color: white;
text-decoration: none;
}
#home{
background: #00b5ff;
background-image:url(assets/bg-main-min.jpg);
background-position: center;
background-size: cover;
width: 100%;
height: 95vh;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
#home .container{
/* background: rgba(255,255,255,.1); */
position: relative;
top: 50%;
transform: translateY(-50%);
}
#home .container #logo img{
display: block;
margin: auto auto 50px auto;
width: 300px;
}
#home .container .btn-primary{
margin: auto;
}
#como-funciona{
background: #00b5ff;
color: rgb(235,235,235);
}
#quem-usa{
}
#parceiros{
background: #fe8918;
color: rgb(235,235,235);
}
#footer{
background: #111111;
color: rgb(220,220,220);
}
.max-height {
min-height: 500px;
padding-bottom: 36px;
}
.max-height2 {
min-height: 350px;
padding-bottom: 36px;
}
.padding-top{
padding-top: 36px;
}
.responsive-img{
height: 30%;
width: 30%;
}
.footer {
padding-bottom: 15px;
}
.width {
width:15em;
height: auto;
}
.responsive {
display: flex;
justify-content: center;
align-content: center;
}
.padding-left{
padding-left: 1em;
}
.padding-sides{
padding-left: 0.5em;
padding-right: 0.5em;
}
.col- img{
max-height: 40px;
max-width: 40px;
}
.center {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.col-md a{
text-decoration: none;
color: mintcream;
}
.col-md a:hover{
text-decoration: underline;
color: mintcream;
}
.col img{
width: 50%;
}
.separate{
padding-bottom: 20px;
}
.col-3{
padding-left: 0.5em;
padding-right: 0.5em;
margin:auto;
}
#topbar{
/* background: black; */
width: 100%;
height: 60px;
position: absolute;
box-sizing: border-box;
padding: 32px;
z-index: 999;
overflow: hidden;
}
#topbar .vert {
display: flex;
justify-content: center;
align-items: center;
}
#topbar a{
color: White;
text-shadow: 2px 2px 8px #666;
font-weight: bold;
text-transform: uppercase;
padding: 8px;
font-family: Comfortaa, Arial, sans-serif;
white-space: nowrap;
text-align: center;
font-size: 2vh;
}
#topbar a:hover{
text-decoration-color: orange;
text-decoration-skip: edges;
}
/* Style the navigation menu */
.topnav {
overflow: hidden;
background-color: rgba(0,140,178,1);
position: relative;
display: none;
min-height: 50px;
}
/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
max-height: 0px;
transition: max-height 600ms ease-out;
}
/* Style navigation menu links */
.topnav a {
color: rgba(255,255,255,1);
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
display: block;
}
/* Style the hamburger menu */
.topnav a.icon {
background: rgba(0,0,0,.3);
color: white;
display: block;
position: absolute;
right: 0;
top: 0;
}
/* Add a grey background color on mouse-over */
.topnav a:hover {
text-decoration: underline;
text-decoration-color: orange;
}
.row{
display:flex;
justify-content: center;
align-content: center;
}
@media (max-width: 652px)
{
.menu {
display: block;
}
#topbar a {
display: none;
}
.topnav {
display: block;
}
.resp {
margin: auto;
}
}
@media (min-width: 653px)
{
.menu {
display: none;
}
}
@media (max-width: 575px)
{
.responsive{
padding-left: 15%;
}
}
#myBtn {
position: fixed; /* Fixed/sticky position */
bottom: 20px; /* Place the button at the bottom of the page */
right: 30px; /* Place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
background-color: rgba(0,0,0,.4); /* Set a background color */
color: white; /* Text color */
cursor: pointer; /* Add a mouse pointer on hover */
padding: 15px; /* Some padding */
border-radius: 100%; /* Rounded corners */
font-size: 18px; /* Increase font size */
opacity: 0;
visibility: hidden;
-moz-transition: opacity 600ms, visibility 600ms;
-webkit-transition: opacity 600ms, visibility 600ms;
transition: opacity 600ms, visibility 600ms;
}
#myBtn:hover {
background: rgba(0,150,200,.9);
}
</style>
</head>
<body>
<div class="topnav">
<div id="myLinks">
<a href="#home" class="active">Home</a>
<!-- Navigation links (hidden by default) -->
<a href="#como-funciona">Como Funciona</a>
<a href="#quem-e">Quem é hago?</a>
<a href="#parceiros">Parceiros</a>
</div>
<!-- "Hamburger menu" / "Bar icon" to toggle the navigation links -->
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<a href="#home" id="myBtn"><img src="assets/arrow-up-solid.svg" style="width:30px; height: 30px;"/></a>
<div id="topbar">
<div class="row float-right">
<div class="col vert"><p><a href="#home" class="active">Home</a></p></div>
<div class="col vert"><p><a href="#como-funciona">Como Funciona</a></p></div>
<div class="col vert"><a href="#quem-e"><p>Quem é hago?</p></a></div>
<div class="col vert"><a href="#parceiros"><p>Parceiros</p></a></div>
</div>
</div>
<section id="home">
<div class="container">
<div id="logo"><img src="assets/logo-home.png" alt=""></div>
<a href="login.php" class="btn-primary">Acesse</a>
</div>
</section>
<section id="como-funciona">
<div class="container-fluid max-height">
<div class="row"><h2 class="padding-top responsive-title separate">Como funciona</h2></div>
<div class="container">
<div class="row">
<div class="col-sm responsive"><img src="assets/1.png" alt="" class="width"></div>
<div class="col-sm responsive"><img src="assets/2.png" alt=""class="width"></div>
<div class="col-sm responsive"><img src="assets/3.png" alt=""class="width"></div>
<div class="col-sm responsive"><img src="assets/4.png" alt=""class="width"></div>
</div>
</div>
</div>
</section>
<section id="quem-e">
<div class="container max-height2">
<div class="row padding-top separate"><h2>Quem é hago?</h2></div>
<div class="row padding-sides"><p>
<span>Hago significa Humano em Ação, é um acrônimo das palavras Homa e Ago, provenientes do Esperanto. E identifica aqueles humanos que nunca desistem de fazer deste mundo um lugar melhor!<br><br>
Super Hago é aquele que se destaca, é o Hago herói, que além de melhorar a si mesmo, melhora outros Hagos e o mundo por onde passa.
Não basta ser Hago, temos que ser Super Hago!</span>
</p></div>
</div>
</section>
<section id="parceiros">
<div class="container max-height padding-top">
<div class="row separate"><h2>Parceiros</h2></div>
<div class="row center">
<div class="col"><a href="ttps://niteroi.rj.gov.br"><img src="assets/logos/niteroi%20c.png" style="background: white;" alt=""></a></div>
<div class="col"><a href="https://hacknit.com.br"><img src="assets/logos/hacknit%20c.png" alt=""></a></div>
</div>
</div>
</section>
<section id="footer">
<div class="container padding-top footer">
<div class="row separate"><img src="assets/logo%20branca.png" class="responsive-img"/></div>
<div class="row">
<div class="col-6"><p>Nossa plataforma foi criado com o intuito de ajudar a todos aqueles que organizam e os que fazem o trabalho voluntário, entendemos que é uma tarefa de muita responsabilidade e pouca visibilidade, portanto queremos tentar mudar um pouco essa situação.</p></div>
<div class="col-md">
<ul class="menu-footer"><p>Menu</p>
<li><a href="login.php">Acessar plataforma</a></li>
<li><a href="#como-funciona">Como Funciona</a></li>
<li><a href="#quem-e">Quem é Hago?</a></li>
<li><a href="#parceiros">Parceiros</a></li>
</ul>
</div>
</div>
<div class="row center">
<div class="col- padding-sides"><a href="#home"><img src="assets/logos/icon%20face.png" href="#home" alt=""></a>
</div>
<div class="col-"><a href="#home"><img src="assets/logos/icon%20insta.png" href="#home" alt=""></a>
</div>
<div class="col- padding-sides"><a href="#home"><img src="assets/logos/icon%20tt.png" alt=""></a></div>
</div>
</div>
</section>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script>// Select all links with hashes
$('a[href*="#"]')
// Remove links that don't actually link to anything
.not('[href="#"]')
.not('[href="#0"]')
.click(function(event) {
// On-page links
if (
location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '')
&&
location.hostname == this.hostname
) {
// Figure out element to scroll to
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
// Does a scroll target exist?
if (target.length) {
// Only prevent default if animation is actually gonna happen
event.preventDefault();
$('html, body').animate({
scrollTop: target.offset().top
}, 1000, function() {
// Callback after animation
// Must change focus!
var $target = $(target);
$target.focus();
if ($target.is(":focus")) { // Checking if the target was focused
return false;
} else {
$target.attr('tabindex','-1'); // Adding tabindex for elements not focusable
$target.focus(); // Set focus again
};
});
}
}
});</script>
<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.visibility = "visible";
document.getElementById("myBtn").style.opacity = "1";
} else {
document.getElementById("myBtn").style.visibility = "hidden";
document.getElementById("myBtn").style.opacity = "0";
}
}
</script>
<script>
function myFunction() {
var x = document.getElementById("myLinks");
if (x.style.maxHeight === "200px") {
x.style.maxHeight = "0px";
} else {
x.style.maxHeight = "200px";
}
}
</script>
</body>
</html>