-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (99 loc) · 4.39 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
<!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="./public/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="./public/logo.svg" alt="rocketpay icon" />
</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="gray" />
</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="black" />
</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="./public/cc-icon.svg" alt="default credit card icon" /></span>
<span><img src="./public/cc-default.svg" alt="selected credit card icon" /></span>
</div>
<div class="cc-info">
<div class="cc-number">1234 5678 9012 3456</div>
<div class="cc-holder">
<div class="label">Owner Name</div>
<div class="value">John Doe</div>
</div>
<div class="cc-extra">
<div class="cc-expiration">
<div class="label">Expiration</div>
<div class="value">MM/YY</div>
</div>
<div class="cc-security">
<div class="label">CVC</div>
<div class="value">123</div>
</div>
<img src="./public/cc-chip.svg" alt="selected credit card chip" />
</div>
</div>
</section>
<form class="form" action="">
<div class="input-wrapper">
<label for="card-number">Card Number</label>
<input id="card-number" placeholder="1234 5678 9012 3456" />
</div>
<div class="input-wrapper">
<label for="card-holder">Owner Name</label>
<input id="card-holder" placeholder="JOHN DOE" />
</div>
<div class="flex">
<div class="input-wrapper">
<label for="expiration-date">Expire</label>
<input id="expiration-date" placeholder="MM/YY" />
</div>
<div class="input-wrapper">
<label for="security-code">CVC</label>
<input id="security-code" placeholder="123" />
</div>
</div>
<button id="addCard">Add Card</button>
</form>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>