From 9b1c00977c1cff764c4b3049f040960c00779844 Mon Sep 17 00:00:00 2001 From: KeenAaron <79446818+KeenAaron@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:14:13 +0200 Subject: [PATCH 1/5] Introduction of the LangX token --- css/style.css | 169 +++++++++++++++++++++++++++++++++++++++++ index.html | 76 +++++++++++++++++- js/accordion-effect.js | 28 +++++++ 3 files changed, 269 insertions(+), 4 deletions(-) create mode 100644 js/accordion-effect.js diff --git a/css/style.css b/css/style.css index 60afe0e..c84be31 100644 --- a/css/style.css +++ b/css/style.css @@ -269,6 +269,150 @@ footer { transform: scale(0.7); } +/* LangX Token Introduction */ + +.langx-token-introduction-section { + background-color: #ffc409; + padding: 64px 24px; +} + +.langx-token-introduction-section > main { + max-width: 900px; +} + + +.langx-token-introduction-section p { + font-size: 1.2rem; + line-height: 1.6; +} + +.langx-token-introduction-section > main { + display: flow-root; + margin: auto; +} + +.langx-token-introduction-section > main > section + section { + margin-top: 72px; +} + +.langx-token-introduction-section > main > section + section::before { + content: ''; + display: block; + position: relative; + background-color: #ff571a; + height: 4px; + width: 95%; + margin: auto; + top: -40px; +} + +.langx-token-introduction-section h1 { + font-size: 5.5rem; + text-shadow: 0px 8px 0px #130900; +} + +.bigger-fs { + font-size: 6.5rem; + text-shadow: 0px 10px 0px #130900; +} + +.langx-token-introduction-section a[href]{ + color: #d41c16; + text-decoration: #d41c16 2px solid underline; + font-weight: 600; + text-underline-offset: 3px; +} + +.langx-token-introduction-section a[href]:hover{ + cursor: alias; +} + +.langx-token-introduction-section h2 { + font-size: 5.3rem; + text-shadow: 0px 6px 0px #130900; +} + +.langx-token-introduction-section :is(h2, h3) { + margin: 0px; +} + +.list-token-distribution-criteria { + font-size: 1.1em; + border: #d44916 5px; + border-style: dashed; + border-radius: 12px; + max-width: fit-content; + margin: 24px auto 0px; + padding: 16px 40px; + -webkit-border-radius: 12px; + -moz-border-radius: 12px; + -ms-border-radius: 12px; + -o-border-radius: 12px; +} + +.list-token-distribution-criteria :is(ul) { + margin:0 0 0 16px; + padding: 0; + text-indent: 0; +} + +.list-token-distribution-criteria ::marker{ + color: #d44916; + font-size: 1.6em; +} + +.list-token-distribution-criteria li + li { + margin-top: 0.5em; +} + +.accordion{ + margin: 16px auto 0; +} + +.accordion-panel { + display: grid; + padding: 16px 24px; + grid-template-rows: auto 0fr; + transition: grid-template-rows 500ms ease-out; + -webkit-transition: grid-template-rows 500ms ease-out; + -moz-transition: grid-template-rows 500ms ease-out; + -ms-transition: grid-template-rows 500ms ease-out; + -o-transition: grid-template-rows 500ms ease-out; + cursor: pointer; +} + +.accordion-panel + .accordion-panel { + border-top: #000 1px solid; +} + +.accordion-panel-title{ + font-size: 1.2rem; + display: flex; + align-items: center; + gap: 16px; +} + +.accordion-panel-title > a { + transition: transform 500ms; + font-size: 2em; +} + +.is-open { + transform: rotate(45deg); +} + +.accordion-content { + overflow: hidden; +} + +p:first-child { + margin-top: 16px; +} + +.accordion-panel[aria-expanded="true"] { + grid-template-rows: auto 1fr; +} + /*Footer*/ footer { width: 100%; @@ -372,6 +516,15 @@ footer p, .buttons { margin: 12px; } + + /* LangX Token Introduction */ + .langx-token-introduction-section p, .accordion-panel-title { + font-size: 1.1rem; + } + + .list-token-distribution-criteria { + font-size: 1rem; + } } @media screen and (max-width: 539px) { @@ -438,4 +591,20 @@ footer p, .footer-content { padding-bottom: 80px; } + + /* LangX Token Introduction */ + .langx-token-introduction-section h1 { + font-size: 3.2rem; + text-shadow: 0px 4px 0px #130900; + } + + .bigger-fs { + font-size: 5rem; + text-shadow: 0px 6px 0px #130900; + } + + .langx-token-introduction-section h2 { + font-size: 3.4rem; + text-shadow: 0px 4px 0px #130900; + } } diff --git a/index.html b/index.html index b98617a..f740818 100644 --- a/index.html +++ b/index.html @@ -182,9 +182,76 @@

Stay Tuned

👨‍🍳 Cooking

-
-

LangX

-

+

+
+

Introducing LangX Token

+
+
+
+

Why LangX Token?

+

LangX Token is our way of thanking you for being part of our community. It’s also our way of encourage you to keep improving your language skills and connecting with others from diverse cultures.

+

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.

+
+
+

Learn to Earn

+

How to earn tokens? Just do what you’re already doing! Be active and chat! Your consistency will pay off.

+

To be eligible for daily token distribution, members' activities are assessed using the following criteria:

+
+
    +
  • Number of text, voice, and image messages sent
  • +
  • Daily active time on the platform
  • +
  • Day streaks, consecutive days of activity
  • +
  • Badges earned
  • +
+
+
+
+

Using LangX Tokens

+
+ + + + +
+
+
+

Start to earn tokens and seamlessly transfer them to your wallets for trading! Our mission is to restore faith in cryptocurrencies by providing a transparent and unrestricted token ecosystem. Currently, we are the only language exchange platform that utilizes an actual token system.

+

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!

+
+
+
-
+
-

Introducing LangX Token

+

+ Introducing LangX Token +

Why LangX Token?

-

LangX Token is our way of thanking you for being part of our community. It’s also our way of encourage you to keep improving your language skills and connecting with others from diverse cultures.

-

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.

+

+ LangX Token is our way of thanking you for being part of our + community. It’s also our way of encourage you to keep improving your + language skills and connecting with others from diverse cultures. +

+

+ 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. +

Learn to Earn

-

How to earn tokens? Just do what you’re already doing! Be active and chat! Your consistency will pay off.

-

To be eligible for daily token distribution, members' activities are assessed using the following criteria:

+

+ How to earn tokens? Just do what you’re already + doing! Be active and chat! Your consistency will pay off. +

+

+ To be eligible for daily token distribution, members' activities are + assessed + using the following criteria: +

    -
  • Number of text, voice, and image messages sent
  • +
  • + Number of text, voice, and image messages sent +
  • Daily active time on the platform
  • -
  • Day streaks, consecutive days of activity
  • +
  • + Day streaks, consecutive days of activity +
  • Badges earned
@@ -211,47 +238,102 @@

Using LangX Tokens

+ + + -
-

Start to earn tokens and seamlessly transfer them to your wallets for trading! Our mission is to restore faith in cryptocurrencies by providing a transparent and unrestricted token ecosystem. Currently, we are the only language exchange platform that utilizes an actual token system.

-

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!

+

+ Start to earn tokens and seamlessly + transfer + them to your wallets for trading! Our mission is to restore faith in + cryptocurrencies by providing a transparent and unrestricted + token + ecosystem. Currently, we are the only language exchange platform + that utilizes an actual token system. +

+

+ 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! +

- - From b6f1846ab3abd14b502cdfc19e2c4a8ccfa8259c Mon Sep 17 00:00:00 2001 From: xue Date: Wed, 12 Jun 2024 21:48:45 +0300 Subject: [PATCH 4/5] fix: typo --- index.html | 52 ++++++++++++++++++---------------------------------- 1 file changed, 18 insertions(+), 34 deletions(-) diff --git a/index.html b/index.html index 5e5cd0d..5913070 100644 --- a/index.html +++ b/index.html @@ -99,9 +99,9 @@ class="button linkButton" href="https://docs.langx.io" target="_blank" - onclick="document.addEventListener('touchstart', function() {}, false)" - >Litepaper + Litepaper +
@@ -109,19 +109,16 @@

LangX

- The innovative 'Learn to Earn' Token Project by - LangX -

- Litepaper + + The innovative 'Learn to Earn' Token Project by + + LangX + +

+
+ + Litepaper +

@@ -153,7 +150,7 @@

LangX

- +

Stay Tuned

@@ -196,8 +193,9 @@

Why LangX Token?

LangX Token is our way of thanking you for being part of our - community. It’s also our way of encourage you to keep improving your - language skills and connecting with others from diverse cultures. + community. It’s also our way of encouraging you to keep improving + your language skills and connecting with others from diverse + cultures.

This is your reward! By using LangX you’re not just making this @@ -333,27 +331,13 @@

Staking and Trading

-