-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (56 loc) · 1.75 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
<!DOCTYPE html>
<html>
<head>
<title>Doe sangue! Doe vida</title>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<img
src="/logo_doe.png"
alt="Imagem de DOE"
class="logo"
>
<h1>A sua doação importa</h1>
<p>Até 3 vidas com 1 doação</p>
<p>Mais de 38.000 doações são necessárias todos os dias</p>
<p>Apenas 1,9% da população brasileira, doa sangue</p>
<button>Quero ajudar</button>
</header>
<section class="form hide">
<h2>Entre na lista de doadores</h2>
<form action="/" method="POST"><!-- Esse POST, postará coisas no nosso banco de dados -->
<input
type="text"
name="name"
placeholder="Nome Completo"
>
<input
type="text"
name="email"
placeholder="Email"
>
<input
type="text"
name="blood"
placeholder="Tipo sanguíneo"
>
<button>Quero Ajudar</button>
</form>
</section>
<main>
<h2>Últimos <span>doadores</span></h2>
<section class="donors">
{% for donor in donors %}
<div class="donor">
<div class="blood">{{donor.blood}}</div>
<p>{{donor.name}}</p>
</div>
{%endfor%}
</section>
</main>
<footer> Com 💝 João </footer>
<script src="/scripts.js"> </script>
</body>
</html>