-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (80 loc) · 2.71 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
<!DOCTYPE html>
<!-- HTML
Hypertext
texto que contém links para outros documentos
Markup
texto com marcaçoes <tags>
Language
comunicacao com uma sintaxe especifica
-->
<html>
<head>
<!--configuracoes da pagina-->
<title> Doe sangue</title>
<link rel="stylesheet" href="public/style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
</head>
<body>
<header><!--add / no logo para aparecer quando rodar o server-->
<img
class="logo"
src="public/logo.png"
alt="DOE">
<h2>A sua doação importa !</h2>
<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çao brasileira doa sangue</p>
<button>Quero Ajudar</button>
</header>
<section class="form hide">
<h2>Entre na lista de doadores</h2>
<form action="/" method="POST"> <!--Add method 57min pegar os dados do front-->
<input
type="text"
name="name"
placeholder="Nome Completo"
>
<input
type="text"
name="email"
placeholder="E-mail"
>
<input
type="text"
name="blood"
placeholder="Tipo sanguineo"
>
<button>Quero Ajudar</button>
</form>
</section>
<main>
<h2>Últimos <span> doadores</span></h2>
<section class="donors">
<!--{% for donor in donors %} Bloco de repeticao
<div class="donor">
<div class="blood">{{donor.blood}}</div>
<p>{{donor.name}}</p>
</div>
{% endfor %}-->
<div class="donor">
<div class="blood">A+</div>
<p>Felipe</p>
</div>
<div class="donor">
<div class="blood">B+</div>
<p>João</p>
</div>
<div class="donor">
<div class="blood">O-</div>
<p>Júlia</p>
</div>
<div class="donor">
<div class="blood">O+</div>
<p>Rivaldo</p>
</div>
</section>
</main>
<footer>Com Amor 😍 </footer>
<script src="public/script.js"></script>
</body>
</html>