forked from rocketseat-education/explorer-lab-01
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
164 lines (151 loc) · 5.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/cc-icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rocketpay</title>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div id="app">
<header>
<img src="logo.svg" alt="ícone rocketpay" />
</header>
<section class="cc">
<div class="cc-bg">
<svg
width="360"
height="230"
viewBox="0 0 360 230"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<mask
id="mask0_3_2547"
style="mask-type: alpha"
maskUnits="userSpaceOnUse"
x="0"
y="0"
width="360"
height="230"
>
<rect width="360" height="230" rx="15.4011" fill="#16084C" />
</mask>
<g mask="url(#mask0_3_2547)">
<g filter="url(#filter0_f_3_2547)">
<path
d="M451.518 -135.506C473.881 -89.3531 414.166 -13.4917 318.142 33.9349C222.118 81.3615 126.147 82.3939 103.784 36.2409C81.4215 -9.91221 141.136 -85.7735 237.16 -133.2C333.184 -180.627 429.156 -181.659 451.518 -135.506Z"
fill="black"
/>
</g>
<g filter="url(#filter1_f_3_2547)">
<path
d="M399.134 -169.756C421.497 -123.603 361.783 -47.742 265.758 -0.315356C169.734 47.1113 73.7629 48.1437 51.4003 1.99062C29.0377 -44.1624 88.7521 -120.024 184.776 -167.45C280.8 -214.877 376.772 -215.909 399.134 -169.756Z"
fill="gray"
/>
</g>
</g>
<defs>
<filter
id="filter0_f_3_2547"
x="43.2629"
y="-225.286"
width="468.777"
height="351.306"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feBlend
mode="normal"
in="SourceGraphic"
in2="BackgroundImageFix"
result="shape"
/>
<feGaussianBlur
stdDeviation="27.9144"
result="effect1_foregroundBlur_3_2547"
/>
</filter>
<filter
id="filter1_f_3_2547"
x="-9.12087"
y="-259.536"
width="468.777"
height="351.306"
filterUnits="userSpaceOnUse"
color-interpolation-filters="sRGB"
>
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feBlend
mode="normal"
in="SourceGraphic"
in2="BackgroundImageFix"
result="shape"
/>
<feGaussianBlur
stdDeviation="27.9144"
result="effect1_foregroundBlur_3_2547"
/>
</filter>
</defs>
</svg>
</div>
<div class="cc-logo">
<span><img src="/cc-icon.svg" alt="ícone padrão de cartão" /></span>
<span
><img
src="/cc-default.svg"
alt="ícone do cartão de crédito selecionado"
/></span>
</div>
<div class="cc-info">
<div class="cc-number">1234 5678 9012 3456</div>
<div class="cc-holder">
<div class="label">Nome do titular</div>
<div class="value">FULANO DA SILVA</div>
</div>
<div class="cc-extra">
<div class="cc-expiration">
<div class="label">Expiração</div>
<div class="value">02/32</div>
</div>
<div class="cc-security">
<div class="label">CVC</div>
<div class="value">123</div>
</div>
<img src="/cc-chip.svg" alt="ícone de chip de cartão de crédito" />
</div>
</div>
</section>
<form action="">
<div class="input-wrapper">
<label for="card-number">Número do cartão</label>
<input id="card-number" />
</div>
<div class="input-wrapper">
<label for="card-holder">Nome do titular</label>
<input id="card-holder" />
</div>
<div class="flex">
<div class="input-wrapper">
<label for="expiration-date">Expiração</label>
<input id="expiration-date" />
</div>
<div class="input-wrapper">
<label for="security-code">CVC</label>
<input id="security-code" />
</div>
</div>
<button id="add-card">ADICIONAR CARTÃO</button>
</form>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>