-
Notifications
You must be signed in to change notification settings - Fork 1
/
payment.html
195 lines (188 loc) · 6.67 KB
/
payment.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HBurger - Equipe JS-004</title>
<link
rel="apple-touch-icon"
sizes="57x57"
href="assets/images/apple-icon-57x57.png"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="assets/images/apple-icon-60x60.png"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="assets/images/apple-icon-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="assets/images/apple-icon-76x76.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="assets/images/apple-icon-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="assets/images/apple-icon-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="assets/images/apple-icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="assets/images/apple-icon-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="assets/images/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="assets/images/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="assets/images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="assets/images/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="assets/images/favicon-16x16.png"
/>
<link rel="manifest" href="manifest.json" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png" />
<meta name="theme-color" content="#ffffff" />
<meta name="description" content="Projeto Final Turma JS-004" />
<link rel="stylesheet" href="assets/css/main.css" type="text/css" />
</head>
<body>
<header id="header">
<div class="logo-desktop">
<a href="index.html">
<img
src="assets/images/logo-side.png"
class="logo"
alt="Logo"
width="400px"
/>
</a>
</div>
<div class="logo-mobile">
<a href="index.html">
<img
src="assets/images/logo-hburger-up.png"
class="logo"
alt="Logo"
/>
</a>
</div>
</header>
<section class="payment" id="payment">
<header id="title">
<h1>Pagamento</h1>
</header>
<main>
<form id="formPayment">
<div class="form-fields">
<div class="field" id="fild-number">
<input type="text" name="number" id="number" required />
<label for="number" id="number">Número do cartão</label>
<span
class="number-erro"
style="color: rgba(255, 82, 82, 0.7)"
></span>
</div>
<div class="fields">
<div class="field" id="fild-expiry">
<input
type="text"
name="expiry"
id="expiry"
placeholder="MM/AAAA"
required
/>
<label for="expiry">Validade</label>
<span
class="expiry-erro"
style="color: rgba(255, 82, 82, 0.7)"
></span>
</div>
<div class="field" id="fild-cvv">
<input type="text" name="cvv" id="cvv" required />
<label for="cvv">CVV</label>
<span
class="cvv-erro"
style="color: rgba(255, 82, 82, 0.7)"
></span>
</div>
</div>
<div class="field" id="fild-name">
<input type="text" name="name" id="name" required />
<label for="name">Nome</label>
<span
class="name-erro"
style="color: rgba(255, 82, 82, 0.7)"
></span>
</div>
<div class="field" id="fild-document">
<input type="text" name="document" id="document" required />
<label for="document">CPF</label>
<span class="document-erro"></span>
</div>
</div>
<footer class="btn-fixed">
<button type="submit">
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0_6_332)">
<path
d="M17 2H7C5.9 2 5 2.9 5 4V6C5 7.1 5.9 8 7 8H17C18.1 8 19 7.1 19 6V4C19 2.9 18.1 2 17 2ZM17 6H7V4H17V6ZM20 22H4C2.9 22 2 21.1 2 20V19H22V20C22 21.1 21.1 22 20 22ZM18.53 10.19C18.21 9.47 17.49 9 16.7 9H7.3C6.51 9 5.79 9.47 5.47 10.19L2 18H22L18.53 10.19ZM9.5 16H8.5C8.22 16 8 15.78 8 15.5C8 15.22 8.22 15 8.5 15H9.5C9.78 15 10 15.22 10 15.5C10 15.78 9.78 16 9.5 16ZM9.5 14H8.5C8.22 14 8 13.78 8 13.5C8 13.22 8.22 13 8.5 13H9.5C9.78 13 10 13.22 10 13.5C10 13.78 9.78 14 9.5 14ZM9.5 12H8.5C8.22 12 8 11.78 8 11.5C8 11.22 8.22 11 8.5 11H9.5C9.78 11 10 11.22 10 11.5C10 11.78 9.78 12 9.5 12ZM12.5 16H11.5C11.22 16 11 15.78 11 15.5C11 15.22 11.22 15 11.5 15H12.5C12.78 15 13 15.22 13 15.5C13 15.78 12.78 16 12.5 16ZM12.5 14H11.5C11.22 14 11 13.78 11 13.5C11 13.22 11.22 13 11.5 13H12.5C12.78 13 13 13.22 13 13.5C13 13.78 12.78 14 12.5 14ZM12.5 12H11.5C11.22 12 11 11.78 11 11.5C11 11.22 11.22 11 11.5 11H12.5C12.78 11 13 11.22 13 11.5C13 11.78 12.78 12 12.5 12ZM15.5 16H14.5C14.22 16 14 15.78 14 15.5C14 15.22 14.22 15 14.5 15H15.5C15.78 15 16 15.22 16 15.5C16 15.78 15.78 16 15.5 16ZM15.5 14H14.5C14.22 14 14 13.78 14 13.5C14 13.22 14.22 13 14.5 13H15.5C15.78 13 16 13.22 16 13.5C16 13.78 15.78 14 15.5 14ZM15.5 12H14.5C14.22 12 14 11.78 14 11.5C14 11.22 14.22 11 14.5 11H15.5C15.78 11 16 11.22 16 11.5C16 11.78 15.78 12 15.5 12Z"
fill="white"
/>
</g>
<defs>
<clipPath id="clip0_6_332">
<rect width="24" height="24" fill="white" />
</clipPath>
</defs>
</svg>
Pagar Agora
</button>
</footer>
</form>
</main>
</section>
<script src="assets/scripts/dist/isLogged.js"></script>
<script src="assets/scripts/dist/payment.js"></script>
</body>
</html>