-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
606 lines (580 loc) · 20 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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
<!DOCTYPE html>
<html>
<head>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta charset="UTF-8" />
<title>LangX Token - The 'Learn to Earn' Token Project by LangX</title>
<!-- 1. load the webfont and style -->
<link rel="stylesheet" type="text/css" href="css/font.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="images/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="images/favicon-16x16.png"
/>
<link rel="manifest" href="assets/favicon/site.webmanifest" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<script src="js/lottie-player.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Varela+Round:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<meta
name="description"
content="LangX Token - The 'Learn to Earn' Token Project by LangX"
/>
<meta
property="og:description"
content="LangX Token - The 'Learn to Earn' Token Project by LangX"
/>
<meta
name="twitter:description"
content="LangX Token - The 'Learn to Earn' Token Project by LangX"
/>
<meta
property="og:title"
content="LangX Token - The 'Learn to Earn' Token"
/>
<meta
name="twitter:title"
content="LangX Token - The 'Learn to Earn' Token"
/>
<meta
property="og:image"
content="https://token.langx.io/images/site-preview.png"
/>
<meta
name="twitter:image"
content="https://token.langx.io/images/site-preview.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<script type="text/javascript" src="js/gsap.min.js"></script>
<script type="text/javascript" src="js/lottie.min.js"></script>
<script type="text/javascript" src="js/SplitText.min.js"></script>
<script type="text/javascript" src="js/TextPlugin.min.js"></script>
<script type="text/javascript" src="js/ScrollTrigger.min.js"></script>
<script type="text/javascript" src="js/Chart.min.js"></script>
<script src="js/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
</head>
<body ontouchstart="">
<section id="header">
<div class="buttons left">
<a class="social" href="https://discord.langx.io" target="_blank">
<img width="24" src="images/socials/discord.svg" />
</a>
<a
class="social"
href="https://www.twitter.com/langx_io"
target="_blank"
>
<img width="24" src="images/socials/x.svg" />
</a>
<a class="social" href="https://t.me/langxapp" target="_blank">
<img width="24" src="images/socials/telegram.svg" />
</a>
<a class="social" href="https://github.com/langx" target="_blank">
<img width="24" src="images/socials/github.svg" />
</a>
</div>
<div class="buttons right">
<a
class="button linkButton"
href="https://docs.langx.io"
target="_blank"
>
Litepaper
</a>
</div>
</section>
<section id="hero">
<div class="header"></div>
<h1>LangX<br /></h1>
<p>
<u>
The innovative 'Learn to Earn' Token Project by
<a href="http://langx.io" target="_blank" rel="noopener noreferrer">
LangX
</a>
<br /><br />
</u>
<a class="button mobile linkButton" href="https://docs.langx.io">
Litepaper
</a>
</p>
<!-- SVG Filter used for the text effect -->
<svg
xmlns="http://www.w3.org/2000/svg"
width="200"
height="0"
viewBox="0 0 220 0"
>
<filter id="displacementFilter">
<feTurbulence
type="turbulence"
baseFrequency="5"
numOctaves="1"
result="turbulence"
></feTurbulence>
<feDisplacementMap
in2="turbulence"
in="SourceGraphic"
scale="3"
xChannelSelector="R"
yChannelSelector="G"
></feDisplacementMap>
</filter>
</svg>
<section aria-labelledby="app-link-buttons">
<h2 id="app-link-buttons">Start earning Test Tokens now!</h2>
<div class="app-link-buttons">
<a
href="https://apps.apple.com/app/languagexchange/id6474187141"
target="_blank"
rel="noopener noreferrer"
title="Download the app from App Store"
>
<img
src="images/ios.png"
alt="Apple App Store"
loading="lazy"
decoding="async"
/>
</a>
<a
href="https://play.google.com/store/apps/details?id=tech.newchapter.languageXchange"
target="_blank"
rel="noopener noreferrer"
title="Download the app from Google Play Store"
>
<img
src="images/android.png"
alt="Google Play Store"
loading="lazy"
decoding="async"
/>
</a>
<a
href="https://app.langx.io"
target="_blank"
rel="noopener noreferrer"
title="Open Web App"
>
<img
src="images/pwa.png"
alt="Progressive Web App"
loading="lazy"
decoding="async"
/>
</a>
</div>
</section>
<div class="button" id="downArrow">
<img src="images/arrow.png" />
</div>
</section>
<!-- <section id="dataBadge">
<div class="button" id="marketData">
<img width="54" src="images/Solana-logo.svg" />
<div id="marketDataValues">
<div id="marketDataValuesTopRow">
<p id="assetName"></p>
<p id="assetPrice"></p>
</div>
<div>
<p id="assetPercentLabel">24h%</p>
<div id="assetChangeContainer">
<img
id="assetChangeChevron"
width="16"
height="16"
src="images/chevron.png"
/>
<p id="assetChange"></p>
</div>
</div>
</div>
</div>
</section> -->
<section aria-labelledby="token-leaderboard" class="token-leaderboard">
<header>
<h1 id="token-leaderboard">Token Leaderboard</h1>
</header>
<main>
<div aria-expanded="false" class="table-container">
<div aria-expanded="false" class="token-leaderboard-table">
<div class="always-show"></div>
<div aria-hidden="true" class="can-hide tbody"></div>
</div>
</div>
<div class="table-show">
<p>Show more ↓</p>
</div>
</main>
</section>
<section
aria-labelledby="langx-token-introduction"
class="langx-token-introduction-section"
>
<header>
<h1 id="langx-token-introduction">
Introducing <span class="bigger-fs">LangX Token</span>
</h1>
</header>
<main>
<section aria-labelledby="why-langx-token">
<h2 id="why-langx-token">Why LangX Token?</h2>
<p>
LangX Token is our way of thanking you for being part of our
community. It’s also our way of encouraging you to keep improving
your language skills and connecting with others from diverse
cultures.
</p>
<p>
This is your reward! By using LangX, you’re not just making this
community vibrant—you’re helping it grow with each message you send.
</p>
</section>
<section aria-labelledby="learn-to-earn">
<h2 id="learn-to-earn">Learn to Earn</h2>
<p>
<strong>How to earn tokens?</strong> Just do what you’re already
doing! Be active and chat! Your consistency will pay off.
</p>
<p>
To be eligible for daily token distribution, members' activities are
<a
href="https://docs.langx.io/litepaper/token/distibution"
target="_blank"
>assessed</a
>
using the following criteria:
</p>
<div class="list-token-distribution-criteria">
<ul>
<li>
<strong>Number of text, voice, and image messages sent</strong>
</li>
<li><strong>Daily active time on the platform</strong></li>
<li>
<strong>Day streaks, consecutive days of activity</strong>
</li>
<li><strong>Badges earned</strong></li>
</ul>
</div>
</section>
<section aria-labelledby="using-langx-tokens">
<h2 id="using-langx-tokens">Using LangX Tokens</h2>
<div class="accordion">
<div aria-expanded="false" class="accordion-panel">
<div class="accordion-panel-title">
<a aria-hidden="true">+</a>
<h3>Enhance Your Learning</h3>
</div>
<div aria-hidden="true" class="accordion-content">
<p>
The primary use of LangX tokens is to enhance your learning
experience with our AI support tool, Copilot. This tool allows
you to interact not only with real people but also with an AI
that responds in real-time, ensuring continuous learning
opportunities regardless of other users’ availability.
</p>
</div>
</div>
<div aria-expanded="false" class="accordion-panel">
<div class="accordion-panel-title">
<a aria-hidden="true">+</a>
<h3>Reward System</h3>
</div>
<div aria-hidden="true" class="accordion-content">
<p>
LangX tokens also function as a reward system, enabling you
and your chatting partners to send tokens to each other as a
form of appreciation for help and services provided during
practice sessions.
</p>
</div>
</div>
<div aria-expanded="false" class="accordion-panel">
<div class="accordion-panel-title">
<a aria-hidden="true">+</a>
<h3>Future Marketplace</h3>
</div>
<div aria-hidden="true" class="accordion-content">
<p>
In the future, we plan to implement a marketplace for
platform-exclusive emoticons and expressions, where LangX
tokens will be the only accepted currency.
</p>
</div>
</div>
<div aria-expanded="false" class="accordion-panel">
<div class="accordion-panel-title">
<a aria-hidden="true">+</a>
<h3>Staking and Trading</h3>
</div>
<div aria-hidden="true" class="accordion-content">
<p>
LangX tokens can be
<a
href="https://docs.langx.io/litepaper/token/staking"
target="_blank"
>staked</a
>, similar to traditional savings accounts, allowing users to
earn more over time. Additionally, users can withdraw their
LangX tokens to their personal
<a
href="https://docs.langx.io/litepaper/learn-2-earn/connect-wallet"
target="_blank"
>wallet</a
>, purchase more tokens, or sell them on the market while
<a
href="https://docs.langx.io/litepaper/token/trading"
target="_blank"
>trading</a
>.
</p>
</div>
</div>
</div>
</section>
<section>
<p>
Start to earn tokens and seamlessly
<a
href="https://docs.langx.io/litepaper/learn-2-earn/claim-your-tokens"
target="_blank"
>transfer</a
>
them to your wallets for trading! Our mission is to restore faith in
cryptocurrencies by providing a transparent and unrestricted
<a
href="https://docs.langx.io/litepaper/token/token"
target="_blank"
>token</a
>
ecosystem. Currently, we are the only language exchange platform
that utilizes an actual token system.
</p>
<p>
Join us on LangX and be part of a revolutionary way to learn
languages, while earning and utilizing tokens in a vibrant,
supportive community. Your journey to fluency is now more rewarding
than ever!
</p>
</section>
</main>
</section>
<footer>
<div class="footer-content">
<div class="copy left">
<p class="copyright">
<b>© 2024 LangX | Practice, Learn, Succeed!</b>
</p>
<p class="disclaimer">
*LangX tokens are designed as a learn-to-earn initiative and do not
provide financial advice or services.
</p>
</div>
<div class="buttons right">
<a class="social" href="https://discord.langx.io" target="_blank">
<img width="24" src="images/socials/discord.svg" />
</a>
<a class="social" href="https://t.me/languageXapp" target="_blank">
<img width="24" src="images/socials/telegram.svg" />
</a>
<a
class="social"
href="https://www.twitter.com/langx_io"
target="_blank"
>
<img width="24" src="images/socials/x.svg" />
</a>
<a class="social" href="https://tiktok.com/@langxapp" target="_blank">
<img width="24" src="images/socials/tiktok.svg" />
</a>
<a
class="social"
href="https://www.facebook.com/langxapp"
target="_blank"
>
<img width="24" src="images/socials/facebook.svg" />
</a>
<a
class="social"
href="https://www.youtube.com/@langxapp"
target="_blank"
>
<img width="24" src="images/socials/youtube.svg" />
</a>
<a
class="social"
href="https://bsky.app/profile/langx.io"
target="_blank"
>
<img width="24" src="images/socials/bluesky.svg" />
</a>
<a class="social" href="https://github.com/langx" target="_blank">
<img width="24" src="images/socials/github.svg" />
</a>
</div>
</div>
</footer>
<div id="coins">
<img width="152" src="images/coin-1.png" />
<img width="148" src="images/coin-2.png" />
<img width="150" src="images/coin-3.png" />
<img width="152" src="images/coin-4.png" />
<img width="130" src="images/coin-5.png" />
<img width="76" src="images/coin-6.png" />
<img width="154" src="images/coin-7.png" />
<img width="130" src="images/coin-5.png" />
<img width="76" src="images/coin-6.png" />
<img width="154" src="images/coin-7.png" />
</div>
<script type="text/javascript">
// scroll down on arrow button click
document
.querySelector("#downArrow")
.addEventListener("click", function () {
window.scrollBy(0, window.innerHeight);
});
if (window.innerWidth > 540) {
gsap.to("#dataBadge", {
scrollTrigger: {
trigger: "body",
scrub: 0.2,
start: $(document).height() * 0.45,
end: $(document).height() * 0.5,
},
alpha: 0,
});
}
//text intro animation
var tl = gsap.timeline(),
mySplitText = new SplitText("#hero h1", {
type: "words,chars",
}),
chars = mySplitText.chars; //an array of all the divs that wrap each character
gsap.set("#hero h1,#hero p", { perspective: 400 });
// tl.from(chars, {duration: 0.8, opacity:0, rotationX:20, y:400, ease:"back", stagger: 0.05}, "+=0");
tl.from(
chars,
{
delay: 0.5,
duration: 0.2,
textShadow: "0px 5px 0px #130900",
y: 50,
opacity: 0,
ease: "expo",
stagger: 0.05,
},
"+=0"
);
tl.to(
chars,
{
duration: 0.8,
textShadow: "0px 14px 0px #130900",
y: 10,
ease: "back",
stagger: 0.05,
},
"-=0"
);
tl.from(
"#hero p",
{ duration: 2, ease: "expo", y: 30, opacity: 0 },
"-=1"
);
gsap.set("#coins img", {
x: "random(50, " + (window.innerWidth - 50) + ", 5)",
y: "random(50, " + window.innerHeight * 1.5 + ", 3)",
ease: "none",
repeat: -1,
repeatRefresh: true, // gets a new random x and y value on each repeat
});
gsap.to("#coins img", {
x: "+=random(-40, 40, 5)", //chooses a random number between -20 and 20 for each target, rounding to the closest 5!
y: "+=random(-40, 40, 3)",
ease: "none",
duration: 2,
repeat: -1,
repeatRefresh: true, // gets a new random x and y value on each repeat
});
</script>
<!-- <script type="text/javascript">
function roundPrice(value) {
return (
Math.round(Number(value) * 100 + Number.EPSILON) / 100
).toFixed();
}
function roundPercent(value) {
return (Math.round(Number(value) * 100 + Number.EPSILON) / 100).toFixed(
1
);
}
function numberWithCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
$(function () {
$.ajax({
url: "https://api.coincap.io/v2/assets/solana",
settings: { error: () => console.log(error) },
}).done(function (result) {
if (result.data) {
const { data } = result;
const percentChangeColor =
data.changePercent24Hr >= 0 ? "#00A79E" : "#FF2B00";
const chevronColor =
data.changePercent24Hr >= 0
? "none"
: "brightness(0) saturate(100%) invert(31%) sepia(97%) saturate(4109%) hue-rotate(359deg) brightness(97%) contrast(115%)";
const chevronDirection =
data.changePercent24Hr >= 0 ? "none" : "rotate(180deg)";
// update data on badge and display badge with fade in/up
$("#marketData").css("display", "flex");
tl.from(
"#marketData",
{ duration: 2, ease: "expo", y: 30, opacity: 0 },
"-=1"
);
$("#assetLogo").text(data.logo);
$("#assetName").text(data.name);
$("#assetPrice").text(
"$ " + numberWithCommas(roundPrice(data.priceUsd))
);
$("#assetChangeChevron")
.css("filter", chevronColor)
.css("transform", chevronDirection);
$("#assetChange")
.text(roundPercent(data.changePercent24Hr))
.css("color", percentChangeColor);
}
});
});
</script> -->
<script src="js/leaderboard-token.js"></script>
<script src="js/accordion-effect.js"></script>
<!-- Insight Tag (script.js) -->
<script
defer
data-domain="token.langx.io,langx.io"
src="https://insight.langx.io/js/script.js"
></script>
</body>
</html>