-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
350 lines (323 loc) · 11.9 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
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T18D0LN5LL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-T18D0LN5LL');
</script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<meta charset="UTF-8" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- Title -->
<title>10101 - Decentralized finance built on Bitcoin</title>
<!-- Favicon -->
<link rel="icon" href="./img/logo/logo.png" />
<!-- ***** All CSS Files ***** -->
<!-- Style css -->
<link rel="stylesheet" href="css/style.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
<style>
.material-icons.md-48 {
font-size: 48px;
}
.material-icons.md-72 {
font-size: 72px;
}
</style>
</head>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none">
<symbol id="check-circle-fill" fill="currentColor" viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"
/>
</symbol>
<symbol id="info-fill" fill="currentColor" viewBox="0 0 16 16">
<path
d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"
/>
</symbol>
<symbol
id="exclamation-triangle-fill"
fill="currentColor"
viewBox="0 0 16 16"
>
<path
d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"
/>
</symbol>
</svg>
<body class="homepage-2">
<!--====== Scroll To Top Area Start ======-->
<div id="scrollUp" title="Scroll To Top">
<i class="fas fa-arrow-up"></i>
</div>
<!--====== Scroll To Top Area End ======-->
<div class="main">
<!-- ***** Header Start ***** -->
<header class="navbar navbar-sticky navbar-expand-lg navbar-dark">
<div class="container position-relative">
<a class="navbar-brand" href="index.html">
<img
class="navbar-brand-regular"
src="./img/logo/logo.png"
width="48"
alt="brand-logo"
/>
<img
class="navbar-brand-sticky"
src="./img/logo/logo.png"
width="48"
alt="sticky brand-logo"
/>
</a>
<button
class="navbar-toggler d-lg-none"
type="button"
data-toggle="navbarToggler"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-inner">
<!-- Mobile Menu Toggler -->
<button
class="navbar-toggler d-lg-none"
type="button"
data-toggle="navbarToggler"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<nav>
<ul class="navbar-nav" id="navbar-nav">
<li class="nav-item">
<a
class="nav-link scroll"
href="https://10101.finance"
target="_blank"
>Home</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://10101.finance/docs/Docs"
target="_blank"
>Docs</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://10101.finance/blog"
target="_blank"
>Blog</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://10101.finance/docs/faq"
target="_blank"
>FAQ</a
>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://twitter.com/get10101"
target="_blank"
><i class="fab fa-twitter fa-1x"></i
></a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://t.me/get10101"
target="_blank"
><i class="fab fa-telegram fa-1x"></i
></a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://github.com/get10101/10101/"
target="_blank"
><i class="fab fa-github fa-1x"></i
></a>
</li>
</ul>
</nav>
</div>
</div>
</header>
<!-- ***** Header End ***** -->
<!-- ***** Welcome Area Start ***** -->
<section
id="home"
class="section welcome-area bg-inherit h-100vh overflow-hidden"
>
<div class="shapes-container">
<div class="bg-shape"></div>
</div>
<div class="container h-100">
<div class="row align-items-center h-100">
<!-- Welcome Intro Start -->
<div class="col-12 col-md-7">
<div class="welcome-intro">
<h1>10101</h1>
<br />
<h2>Referral Program</h2>
<br />
<div id="referral-text">
<h3>
Use the referral code
<span
id="queryParamValue"
class="badge bg-primary text-light"
></span>
to get a fee discount on trading fees for the first
month.<sup>*</sup>
</h3>
</div>
</div>
<div class="row mt-5">
<div class="col-4">
<a
href="https://play.google.com/store/apps/details?id=finance.get10101.app"
><img src="img/icon/play-store.svg" alt="Play-store link"
/></a>
</div>
<div class="col-4">
<a href="https://testflight.apple.com/join/WhwnPUh8"
><img src="./img/icon/app-store.svg" alt="App-store link"
/></a>
</div>
<div class="col-4">
<a href="https://github.com/get10101/10101/releases/latest"
><img src="./img/icon/get-apk.svg" alt="APK link"
/></a>
</div>
<br />
<br />
<br />
<div class="col-12 mt-2" id="referral-note">
<p class="small font-italic">
(<sup>*</sup> only valid for new users.)
</p>
</div>
</div>
</div>
<div class="col-12 col-md-5">
<!-- Welcome Thumb -->
<div
class="welcome-thumb"
data-aos="fade-right"
data-aos-delay="500"
data-aos-duration="1000"
>
<img
src="./img/features/thumb-1.png"
alt="10101-logo-on-iphone-14-pro"
/>
</div>
</div>
</div>
</div>
</section>
<!--====== Footer Area Start ======-->
<footer class="footer-area footer-fixed">
<!-- Footer Bottom -->
<div class="footer-bottom">
<div class="container">
<div class="row">
<div class="col-12">
<!-- Copyright Area -->
<div
class="copyright-area d-flex flex-wrap justify-content-center justify-content-sm-between text-center py-4"
>
<!-- Copyright Left -->
<div class="copyright-left">
© Copyrights
<script>
document.write(/\d{4}/.exec(Date())[0]);
</script>
10101 All rights reserved.
</div>
<!-- Copyright Right -->
<div class="copyright-right">
Made with <i class="fas fa-heart"></i> by
<a href="#">10101</a>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<!--====== Footer Area End ======-->
</div>
<!-- ***** All jQuery Plugins ***** -->
<!-- jQuery(necessary for all JavaScript plugins) -->
<script src="js/jquery/jquery.min.js"></script>
<!-- Bootstrap js -->
<script src="js/bootstrap/popper.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- Plugins js -->
<script src="js/plugins/plugins.min.js"></script>
<!-- Active js -->
<script src="js/active.js"></script>
<script>
// Function to extract query parameter from URL
function getQueryParam(param) {
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
return urlParams.get(param);
}
// Get the value of the 'referral' query parameter
const queryParamValue = getQueryParam("referral");
// Filter out unwanted characters (accept only characters and numbers)
const filteredQueryParamValue = queryParamValue
? queryParamValue.replace(/[^a-zA-Z0-9]/g, "")
: "";
// Limit the query parameter value to a maximum of 6 characters
const truncatedQueryParamValue = filteredQueryParamValue
? filteredQueryParamValue.slice(0, 6)
: "";
// Display the value on the page with XSS protection
if (queryParamValue) {
const queryParamElement = document.getElementById("queryParamValue");
queryParamElement.textContent = truncatedQueryParamValue;
} else {
const referralNote = document.getElementById("referral-note");
referralNote.innerText = "";
const queryParamElement = document.getElementById("referral-text");
queryParamElement.innerHTML = `<div class="alert alert-danger d-flex align-items-center" role="alert">
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Danger: "><use xlink:href="#exclamation-triangle-fill"/></svg>
<div>
Sorry, no valid referral code found. You can still download the app and get started.
</div>
</div>`;
}
</script>
</body>
</html>