-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
322 lines (278 loc) · 12.4 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bitplexo | Fiat & Crypto Swap</title>
<meta name="description" content="Bitplexo is a financial web app prototype showcasing fiat and crypto currency swapping capabilities. Its design can serve as the foundation for a real implementation.">
<meta name="keywords"
content="crypto, fiat, swap, swapping, bitplexo, buy & sell, buy, sell, login, contact, metamask, certificate">
<meta name="author" content="Frank Arellano">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/swap.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/media.css">
<!-- Vendor Scripts-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/web3.min.js"></script>
<script src="https://kit.fontawesome.com/b0f4c7b367.js" crossorigin="anonymous"></script>
<script src="https://www.cryptohopper.com/widgets/js/script"></script>
</head>
<body>
<!-- Start of Navbar section-->
<header>
<nav class="off-item">
<a aria-label="Clickable logo to index" id="logo" href="index.html">
<img src="assets/img/192x192.png" alt="Logo of Bitplexo">
</a>
<ul id="menu-bar">
<li><a href="contact.html">Contact</a></li>
<li><a class="to-crypto" href="#">Crypto</a></li>
<li><a class="to-fiat" href="#">Fiat</a></li>
</ul>
</nav>
</header>
<!-- End of Navbar section-->
<!-- First Page / WELCOME -->
<div class="welcome">
<!-- Logo -->
<div>
<a aria-label="Clickable logo to Index" href="index.html">
<div class="bitlogo"></div>
</a>
</div>
<!-- Description and Enter Button-->
<section class="media-small">
<div>
<h2>Welcome to Bitplexo</h2>
</div>
<div>
<h2 class="center-title">Start
<span class="blue-text">Swapping</span>
<br>
<span class="blue-text">Fiat</span> &
<span class="blue-text">Crypto</span>
<br>Today
</h2>
</div>
<button id="enter-page" class="cta-submit">SWAP</button>
</section>
</div>
<!-- End of First Page / WELCOME -->
<!-- Second Page / LOGIN-->
<div class="off-item">
<!-- Description and Login options-->
<section id="h2-login">
<h2>Start trading easily by logging in either <a class="to-fiat" href="#"><span>Fiat</span></a>
or <a class="to-crypto" href="#"><span>Crypto</span></a>!</h2>
</section>
<!--Traditional secure Login-->
<div aria-label="Traditional Login Section" class='inline-block'>
<section id="login-form">
<h2><a href="index.html"><span>Login</span></a></h2>
<div class="faq">
<a href="contact.html"><i class="fa-regular fa-circle-question"></i></a>
</div>
<form id="my-login" action="https://formdump.codeinstitute.net/" method="POST">
<!-- Certificate Upload-->
<div id="to-left">
<label for="certificate">Upload Certificate</label>
<input id="certificate" type="file" name="certificate">
</div>
<div id="username">
<label for="username-input">Username</label>
<input id="username-input" type="text" name="username" required>
</div>
<div id="password">
<label for="password-input"> Password</label>
<input id="password-input" type="password" name="password" required>
</div>
<div id="text-center">
<div id="confirm-input"></div>
<label for="submit-login"></label>
<input id="submit-login" type="submit" class="cta-login" value="Login">
</div>
</form>
</section>
</div>
<!-- CTA Create account OR other Login Option-->
<div>
<a href="contact.html" class="login-text">Don't you have an account yet?</a>
<p class="login-text"><b>OR</b></p>
</div>
</div>
<!-- Metamask Login-->
<a aria-label="Web3 Login section" id="metamask-login" href="#" class="on-item">
<div>
<h4>Metamask</h4>
<!-- Vendor logo from https://codepen.io/shivammathur/pen/ZVJaEy -->
<div id="logo-container"></div>
</div>
</a>
<div id="elevate"> <a href="https://www.youtube.com/watch?v=-HTubEJ61zU" class="login-text on-item" target="_blank"
rel="noopener noreferrer nofollow">Don't you know how to use Metamask?</a></div>
<!-- End of Second Page / LOGIN-->
<!-- Start of Third Page / Fiat Swap-->
<section id="fiat-swap">
<h2><span class="to-fiat" title="Try to reconnect">Fiat Swap</span></h2>
<!-- BALANCES-->
<section id="balance-fiat">
<h4>Balances</h4>
<ul>
</ul>
</section>
<!-- TITLE and FAQ-->
<section>
<h4 class="left-balance">Switch to <span class="switch-crypto" title="Switch to Crypto Swap">Crypto</span>
</h4>
<div class="faq">
<a href="contact.html"><i class="fa-regular fa-circle-question" title="Go to Contact Page"></i></a>
</div>
<!-- Swap FORM-->
<form class="form" action="https://formdump.codeinstitute.net/" method="post">
<!-- Swap FROM-->
<div class="block">
<div class="float-left">
<label for="fiat-from">Fiat</label>
<select name="fiat-from" id="fiat-from" required>
<option value="">Select</option>
<option value="USD">USD</option>
</select>
</div>
<!-- CIRCLE Swap LOGO-->
<div>
<i id="circle-fiat" class="circle-swap fa-solid fa-right-left" title="Clear Inputs"></i>
</div>
<!-- Swap TO -->
<div class="float-right">
<label for="fiat-to">Fiat</label>
<select name="fiat-to" id="fiat-to" required>
<option value="">Select</option>
<option value="EUR">EUR</option>
</select>
</div>
</div>
<div class="block">
<!-- Amount SEND -->
<div class="float-left">
<label for="fiat-enter">Before</label>
<input id="fiat-enter" type="text" required>
</div>
<!-- Amount RECEIVE -->
<div class="float-right">
<label for="fiat-receive">After</label>
<input id="fiat-receive" name="fiat-receive" type="text" readonly>
</div>
</div>
<!-- Swap BUTTON -->
<div>
<input id="get-fiat" type="submit" class="swap" value="Swap">
</div>
</form>
</section>
<!-- LIMITS -->
<section id="limit-fiat">
<h4>Limits</h4>
<ul>
</ul>
</section>
</section>
<!-- End of Third Page / Fiat Swap-->
<!-- Start of Forth Page / Crypto Swap-->
<section id="crypto-swap">
<h2><span class="to-crypto" title="Try to reconnect">Crypto Swap</span></h2>
<!-- BALANCES-->
<section id="balance-crypto">
<h4>Balances</h4>
<ul>
</ul>
</section>
<!-- TITLE and FAQ-->
<section>
<h4 class="left-balance">Switch to <span class="switch-fiat" title="Switch to Fiat Swap">Fiat</span></h4>
<div class="faq">
<a href="contact.html"><i class="fa-regular fa-circle-question" title="Go to Contact Page"></i></a>
</div>
<!-- Swap FORM-->
<form class="form" action="https://formdump.codeinstitute.net/" method="post">
<!-- Swap FROM-->
<div class="block">
<div class="float-left">
<label for="crypto-from">Crypto</label>
<select name="crypto-from" id="crypto-from" required>
<option value="">Select</option>
<option value="BTC">BTC</option>
</select>
</div>
<!-- CIRCLE Swap LOGO-->
<div>
<i id="circle-crypto" class="circle-swap fa-solid fa-right-left" title="Clear Inputs"></i>
</div>
<!-- Swap TO -->
<div class="float-right">
<label for="crypto-to">Crypto</label>
<select name="crypto-to" id="crypto-to" required>
<option value="">Select</option>
<option value="ETH">ETH</option>
</select>
</div>
</div>
<div class="block">
<!-- Amount SEND -->
<div class="float-left">
<label for="crypto-enter">Before</label>
<input id="crypto-enter" type="text" required>
</div>
<!-- Amount RECEIVE -->
<div class="float-right">
<label for="crypto-receive">After</label>
<input id="crypto-receive" type="text" readonly>
</div>
</div>
<!-- Swap BUTTON -->
<div>
<input id="get-crypto" type="submit" class="swap" value="Swap">
</div>
</form>
</section>
<!-- LIMITS -->
<section id="limit-crypto">
<h4>Limits</h4>
<ul>
</ul>
</section>
</section>
<!-- End of Forth Page / Crypto Swap-->
<!-- Footer section-->
<footer class="footer">
<!-- Social Media buttons-->
<div id="social-media">
<a href="https://facebook.com" target="_blank" rel="noopener noreferrer nofollow"><i
class="fa-brands fa-square-facebook"></i></a>
<a href="https://twitter.com" target="_blank" rel="noopener noreferrer nofollow"><i
class="fa-brands fa-square-twitter"></i></a>
<a href="https://instagram.com" target="_blank" rel="noopener noreferrer nofollow"><i
class="fa-brands fa-square-instagram"></i></a>
<a href="https://linkedin.com" target="_blank" rel="noopener noreferrer nofollow"><i
class="fa-brands fa-linkedin"></i></a>
</div>
<!-- Vendor Script for crypto prices-->
<div id="crypto-widget" class="cryptohopper-web-widget" data-id="2" data-price_format="2"
data-coins="bitcoin,ethereum,bnb,cardano,solana" data-numcoins="5" data-realtime="on"
data-ticker_speed="80"></div>
<!-- Copyright section-->
<div id="copyright"><a href="https://github.com/plexoio/bitplexo" target="_blank" aria-label="link to author"
rel="author noopener noreferrer"><b>© Bitplexo, Inc. 2023</b></a></div>
</footer>
<!-- End of Footer section-->
<!-- Author's scripts-->
<script src="assets/js/welcome.js"></script>
<script src="assets/js/login.js"></script>
<script src="assets/js/switch.js"></script>
<script src="assets/js/swap-fiat.js"></script>
<script src="assets/js/swap-crypto.js"></script>
<script src="assets/js/users.js"></script>
<!-- Vendor Scripts-->
<script src="vendor/js/minimetamask.js" async defer></script>
<script src="vendor/js/metamask-login.js"></script>
</body>
</html>