-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
176 lines (150 loc) · 5.01 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>DrivenEats</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Righteous&family=Roboto:wght@100;300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/resset.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="header">
<div class="logo">
<h1>DrivenEats</h1>
<p>Sua comida em 6 minutos</p>
</div>
</div>
<div class="content">
<div id="sessao-1" class="sessao">
<h2>Primeiro, seu prato:</h2>
<div class="itens">
<div class="box-item" onclick="change(this, 1)">
<img src="img/prato.png">
<h4 class="nome">Frango Yin Yang 1</h4>
<p class="desc">Um pouco de batata, um pouco de salada</p>
<div class="preco">
<p>R$<span>14,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
<div class="box-item" onclick="change(this, 1)">
<img src="img/prato.png">
<h4 class="nome">Frango Yin Yang 2</h4>
<p class="desc">Um pouco de batata, um pouco de salada</p>
<div class="preco">
<p>R$<span>18,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
<div class="box-item" onclick="change(this, 1)">
<img src="img/prato.png">
<h4 class="nome">Frango Yin Yang 3</h4>
<p class="desc">Um pouco de batata, um pouco de salada</p>
<div class="preco">
<p>R$<span>37,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
</div>
</div>
<div id="sessao-2" class="sessao">
<h2>Agora, sua bebida:</h2>
<div class="itens">
<div class="box-item" onclick="change(this, 2)">
<img src="img/coca.png">
<h4 class="nome">Coquinha gelada 1</h4>
<p class="desc">Lata 350ml</p>
<div class="preco">
<p>R$<span>4,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
<div class="box-item" onclick="change(this, 2)">
<img src="img/coca.png">
<h4 class="nome">Coquinha gelada 2</h4>
<p class="desc">Lata 350ml</p>
<div class="preco">
<p>R$<span>7,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
<div class="box-item" onclick="change(this, 2)">
<img src="img/coca.png">
<h4 class="nome">Coquinha gelada 3</h4>
<p class="desc">Lata 350ml</p>
<div class="preco">
<p>R$<span>14,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
</div>
</div>
<div id="sessao-3" class="sessao">
<h2>Por fim, sua sobremesa</h2>
<div class="itens">
<div class="box-item" onclick="change(this, 3)">
<img src="img/prato.png">
<h4 class="nome">Pudim 1</h4>
<p class="desc">Apenas pudim</p>
<div class="preco">
<p>R$<span>7,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
<div class="box-item" onclick="change(this, 3)">
<img src="img/prato.png">
<h4 class="nome">Pudim 2</h4>
<p class="desc">Apenas pudim</p>
<div class="preco">
<p>R$<span>5,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
<div class="box-item" onclick="change(this, 3)">
<img src="img/prato.png">
<h4 class="nome">Pudim 3</h4>
<p class="desc">Apenas pudim</p>
<div class="preco">
<p>R$<span>8,90</span></p>
<ion-icon name="checkmark-circle"></ion-icon>
</div>
</div>
</div>
</div>
</div>
<div class="barra-inferior">
<button class="botao disabled" onclick="fechaPedido(this)">Selecione os 3 itens<br> para fechar o pedido</button>
</div>
<div class="modal-confirma">
<div class="modal-box">
<h4 class="title">Confirme seu pedido </h4>
<div class="lista">
<div class="item item-0">
<div class="nome"></div>
<div class="preco"></div>
</div>
<div class="item item-1">
<div class="nome"></div>
<div class="preco"></div>
</div>
<div class="item item-2">
<div class="nome"></div>
<div class="preco"></div>
</div>
<div class="item totais">
<div>TOTAL</div>
<div class="total-preco"></div>
</div>
</div>
<a class="btn-fechar-pedido" href="" >Tudo certo, pode pedir!</a>
<a class="btn-fechar-modal" onclick="fecharModal()" >Fechar</a>
</div>
</div>
<script type="text/javascript" src="js/script.js"></script>
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
</body>
</html>