Spaces:
Running
Running
Update index.html
Browse files- index.html +229 -82
index.html
CHANGED
|
@@ -39,28 +39,46 @@
|
|
| 39 |
<span class="dd__chev"><svg viewBox="0 0 12 12" fill="none"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
|
| 40 |
</button>
|
| 41 |
<div class="dd__panel">
|
| 42 |
-
<div class="
|
| 43 |
-
<
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
<
|
| 51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
</div>
|
| 53 |
</div>
|
| 54 |
-
<a class="dd__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">
|
| 55 |
-
<span class="dd__link__name">LiarAI</span>
|
| 56 |
-
<span class="dd__link__desc">The ultimate liar of 2026. An April Fools' AI with a 15M token context window and 258 parameters.</span>
|
| 57 |
-
</a>
|
| 58 |
-
<a class="dd__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">
|
| 59 |
-
<span class="dd__link__name">YEN</span>
|
| 60 |
-
<span class="dd__link__desc">A 258-parameter model. It only says Yes or No.</span>
|
| 61 |
-
</a>
|
| 62 |
</div>
|
| 63 |
</div>
|
|
|
|
| 64 |
<div class="dd">
|
| 65 |
<button class="dd__btn" aria-haspopup="true" aria-expanded="false">
|
| 66 |
Connect
|
|
@@ -78,6 +96,8 @@
|
|
| 78 |
</a>
|
| 79 |
</div>
|
| 80 |
</div>
|
|
|
|
|
|
|
| 81 |
</nav>
|
| 82 |
</div>
|
| 83 |
</header>
|
|
@@ -102,10 +122,19 @@
|
|
| 102 |
<h2 class="news__title">Latest Project</h2>
|
| 103 |
</div>
|
| 104 |
<div class="news__grid">
|
| 105 |
-
<a class="news-card reveal" href="https://huggingface.co/faunix/
|
| 106 |
<div class="news-card__panel">
|
| 107 |
<span class="news-card__badge">LATEST</span>
|
| 108 |
-
<img class="news-card__img" id="newsImg" src="static/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
</div>
|
| 110 |
<div class="news-card__meta">MAY 3, 2026 · 2B</div>
|
| 111 |
<div class="news-card__name">QwenSeek-2B</div>
|
|
@@ -114,6 +143,8 @@
|
|
| 114 |
</div>
|
| 115 |
</section>
|
| 116 |
|
|
|
|
|
|
|
| 117 |
<section class="demo">
|
| 118 |
<div class="demo__head reveal">
|
| 119 |
<h2 class="demo__title">Examples of our models</h2>
|
|
@@ -146,17 +177,65 @@
|
|
| 146 |
</div>
|
| 147 |
</section>
|
| 148 |
|
|
|
|
|
|
|
| 149 |
<section class="about">
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
</section>
|
| 157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
|
| 159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
|
| 161 |
<footer class="footer">
|
| 162 |
<div class="footer__inner reveal">
|
|
@@ -170,6 +249,7 @@
|
|
| 170 |
<nav class="footer__cols">
|
| 171 |
<div class="footer__col">
|
| 172 |
<div class="footer__col__title">Products</div>
|
|
|
|
| 173 |
<a class="footer__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">QwenSeek-2B</a>
|
| 174 |
<a class="footer__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">LiarAI</a>
|
| 175 |
<a class="footer__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">YEN</a>
|
|
@@ -445,7 +525,7 @@
|
|
| 445 |
const sleep = (ms) => new Promise(r => setTimeout(r, REDUCED ? 0 : ms));
|
| 446 |
const scrollChat = () => chat.scrollTo({ top: chat.scrollHeight, behavior: REDUCED ? "auto" : "smooth" });
|
| 447 |
|
| 448 |
-
|
| 449 |
'import turtle, random, time',
|
| 450 |
'',
|
| 451 |
's = turtle.Screen()',
|
|
@@ -690,61 +770,128 @@
|
|
| 690 |
io.observe(win);
|
| 691 |
})();
|
| 692 |
|
| 693 |
-
|
| 694 |
-
|
| 695 |
-
|
| 696 |
-
|
| 697 |
-
|
| 698 |
-
|
| 699 |
-
|
| 700 |
-
|
| 701 |
-
|
| 702 |
-
|
| 703 |
-
|
| 704 |
-
|
| 705 |
-
|
| 706 |
-
|
| 707 |
-
|
| 708 |
-
|
| 709 |
-
|
| 710 |
-
})();
|
| 711 |
-
|
| 712 |
-
(function () {
|
| 713 |
-
|
| 714 |
-
|
| 715 |
-
|
| 716 |
-
|
| 717 |
-
|
| 718 |
-
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
|
| 724 |
-
|
| 725 |
-
|
| 726 |
-
|
| 727 |
-
|
| 728 |
-
|
| 729 |
-
})();
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
|
| 733 |
-
|
| 734 |
-
|
| 735 |
-
|
| 736 |
-
|
| 737 |
-
}
|
| 738 |
-
const io = new IntersectionObserver((ents) => {
|
| 739 |
-
ents.forEach(en => {
|
| 740 |
-
if (en.isIntersecting) {
|
| 741 |
-
io.disconnect();
|
| 742 |
-
setTimeout(() => footer.classList.add("is-lit"), 1000);
|
| 743 |
}
|
| 744 |
-
|
| 745 |
-
|
| 746 |
-
|
| 747 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 748 |
</script>
|
| 749 |
|
| 750 |
</body>
|
|
|
|
| 39 |
<span class="dd__chev"><svg viewBox="0 0 12 12" fill="none"><path d="M2 4l4 4 4-4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
|
| 40 |
</button>
|
| 41 |
<div class="dd__panel">
|
| 42 |
+
<div class="dd__tabs">
|
| 43 |
+
<span class="dd__pill" id="ddPill"></span>
|
| 44 |
+
<button type="button" class="dd__tab-btn is-active" data-tab="models">Models</button>
|
| 45 |
+
<button type="button" class="dd__tab-btn" data-tab="datasets">Datasets</button>
|
| 46 |
+
</div>
|
| 47 |
+
<div class="dd__slider">
|
| 48 |
+
<div class="dd__track" id="ddTrack">
|
| 49 |
+
<div class="dd__page">
|
| 50 |
+
<div class="dd__item dd__item--expand">
|
| 51 |
+
<a class="dd__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">
|
| 52 |
+
<span class="dd__link__name">QwenSeek-2B</span>
|
| 53 |
+
<span class="dd__link__desc">Distillation of thinking of DeepSeek V4 into Qwen3.5-2B.</span>
|
| 54 |
+
</a>
|
| 55 |
+
<div class="dd__sub">
|
| 56 |
+
<a class="dd__link dd__link--sub" href="https://huggingface.co/faunix/QwenSeek-2B-GGUF" target="_blank" rel="noopener">
|
| 57 |
+
<span class="dd__link__name">QwenSeek-2B-GGUF</span>
|
| 58 |
+
<span class="dd__link__desc">GGUF version of QwenSeek-2B.</span>
|
| 59 |
+
</a>
|
| 60 |
+
</div>
|
| 61 |
+
</div>
|
| 62 |
+
<a class="dd__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">
|
| 63 |
+
<span class="dd__link__name">LiarAI</span>
|
| 64 |
+
<span class="dd__link__desc">The ultimate liar of 2026. An April Fools' AI with 258 parameters.</span>
|
| 65 |
+
</a>
|
| 66 |
+
<a class="dd__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">
|
| 67 |
+
<span class="dd__link__name">YEN</span>
|
| 68 |
+
<span class="dd__link__desc">A 258-parameter model. It only says Yes or No.</span>
|
| 69 |
+
</a>
|
| 70 |
+
</div>
|
| 71 |
+
<div class="dd__page">
|
| 72 |
+
<a class="dd__link" href="https://huggingface.co/datasets/faunix/Qwen3.8-27B-Distillation-40K" target="_blank" rel="noopener">
|
| 73 |
+
<span class="dd__link__name">Qwen3.8 Distillation 40K</span>
|
| 74 |
+
<span class="dd__link__desc">40,000 reasoning distillation traces distilled from Qwen3.8-27B.</span>
|
| 75 |
+
</a>
|
| 76 |
+
</div>
|
| 77 |
</div>
|
| 78 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
</div>
|
| 80 |
</div>
|
| 81 |
+
|
| 82 |
<div class="dd">
|
| 83 |
<button class="dd__btn" aria-haspopup="true" aria-expanded="false">
|
| 84 |
Connect
|
|
|
|
| 96 |
</a>
|
| 97 |
</div>
|
| 98 |
</div>
|
| 99 |
+
|
| 100 |
+
<a class="navbar__support" id="navSupport" href="#support">Support</a>
|
| 101 |
</nav>
|
| 102 |
</div>
|
| 103 |
</header>
|
|
|
|
| 122 |
<h2 class="news__title">Latest Project</h2>
|
| 123 |
</div>
|
| 124 |
<div class="news__grid">
|
| 125 |
+
<a class="news-card reveal" href="https://huggingface.co/datasets/faunix/Qwen3.8-27B-Distillation-40K" target="_blank" rel="noopener" style="transition-delay: 0.1s;">
|
| 126 |
<div class="news-card__panel">
|
| 127 |
<span class="news-card__badge">LATEST</span>
|
| 128 |
+
<img class="news-card__img" id="newsImg" src="static/qwen3.8-27b-dist-40k.png" alt="Qwen3.8-27B-Distillation-40K">
|
| 129 |
+
</div>
|
| 130 |
+
<div class="news-card__meta">AUGUST 22, 2026 · 40K</div>
|
| 131 |
+
<div class="news-card__name">Qwen3.8-27B-Distillation-40K</div>
|
| 132 |
+
<div class="news-card__desc">Qwen3.8-27B-Distillation is a dataset containing 40,000 reasoning traces distilled from Qwen's latest model — Qwen3.8-27B.</div>
|
| 133 |
+
</a>
|
| 134 |
+
|
| 135 |
+
<a class="news-card reveal" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener" style="transition-delay: 0.2s;">
|
| 136 |
+
<div class="news-card__panel">
|
| 137 |
+
<img class="news-card__img" src="static/qwenseek2b.png" alt="QwenSeek-2B">
|
| 138 |
</div>
|
| 139 |
<div class="news-card__meta">MAY 3, 2026 · 2B</div>
|
| 140 |
<div class="news-card__name">QwenSeek-2B</div>
|
|
|
|
| 143 |
</div>
|
| 144 |
</section>
|
| 145 |
|
| 146 |
+
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
|
| 147 |
+
|
| 148 |
<section class="demo">
|
| 149 |
<div class="demo__head reveal">
|
| 150 |
<h2 class="demo__title">Examples of our models</h2>
|
|
|
|
| 177 |
</div>
|
| 178 |
</section>
|
| 179 |
|
| 180 |
+
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
|
| 181 |
+
|
| 182 |
<section class="about">
|
| 183 |
+
<div class="about__inner reveal">
|
| 184 |
+
<h2 class="about__title">About Faunix</h2>
|
| 185 |
+
<p class="about__text">
|
| 186 |
+
Faunix is a small team building open AI. At its core — just two schoolkids, 12 and 13 years old: <a class="about__link" href="https://huggingface.co/Didiblud" target="_blank" rel="noopener">阿时时</a> and <a class="about__link" href="https://huggingface.co/Limen4ik" target="_blank" rel="noopener">L1men4ik</a>. Our mission is to create small but efficient AI models for the whole world. We make AI open and accessible for everyone, so people can run their favorite models in a smaller size, locally, on their own hardware.
|
| 187 |
+
</p>
|
| 188 |
+
</div>
|
| 189 |
</section>
|
| 190 |
|
| 191 |
+
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
|
| 192 |
+
|
| 193 |
+
<section class="support" id="support">
|
| 194 |
+
<div class="support__inner reveal">
|
| 195 |
+
<h2 class="support__title">Support Faunix :)</h2>
|
| 196 |
+
<p class="support__text">
|
| 197 |
+
Your support is very important to us — just like everyone else, we want to eat, so we are leaving our donation links below!
|
| 198 |
+
</p>
|
| 199 |
+
|
| 200 |
+
<div class="support__grid">
|
| 201 |
+
<a class="support__btn" href="https://app.lava.top/faunix_ai" target="_blank" rel="noopener">
|
| 202 |
+
<svg class="support__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
| 203 |
+
<rect x="2" y="5" width="20" height="14" rx="3"/>
|
| 204 |
+
<line x1="2" y1="10" x2="22" y2="10"/>
|
| 205 |
+
</svg>
|
| 206 |
+
<span>Card / Apple Pay / PayPal</span>
|
| 207 |
+
</a>
|
| 208 |
|
| 209 |
+
<div class="support__item" data-copy="UQArgd4zYOA0I5QSK7ylSlvgyaE5Md8pm-O-RyvSnTTk8Me0">
|
| 210 |
+
<button type="button" class="support__btn">
|
| 211 |
+
<svg class="support__icon" viewBox="0 0 24 24" fill="currentColor">
|
| 212 |
+
<path d="M12 2L3 8.5L12 22L21 8.5L12 4.4ZM5.2 10.6H10.7V17.7L5.2 10.6ZM13.3 17.7V10.6H18.8L13.3 17.7Z"/>
|
| 213 |
+
</svg>
|
| 214 |
+
<span>TON</span>
|
| 215 |
+
</button>
|
| 216 |
+
<div class="support__pop">
|
| 217 |
+
<div class="support__pop-head">TON Address <span class="support__copy-badge">(Click to copy)</span></div>
|
| 218 |
+
<div class="support__pop-val">UQArgd4zYOA0I5QSK7ylSlvgyaE5Md8pm-O-RyvSnTTk8Me0</div>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
|
| 222 |
+
<div class="support__item" data-copy="TVCgvfbrUQC1nKD6cHcSP7JGirEEx5f4Te">
|
| 223 |
+
<button type="button" class="support__btn">
|
| 224 |
+
<svg class="support__icon" viewBox="0 0 24 24" fill="currentColor">
|
| 225 |
+
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1.18 6.47v1.12c2.72.16 4.75.76 4.75 1.48 0 .73-2.03 1.33-4.75 1.49v4.29h-2.36v-4.29c-2.72-.16-4.75-.76-4.75-1.49 0-.72 2.03-1.32 4.75-1.48V8.47H6.5V6.8h11v1.67h-4.32z"/>
|
| 226 |
+
</svg>
|
| 227 |
+
<span>USDT (TRC-20)</span>
|
| 228 |
+
</button>
|
| 229 |
+
<div class="support__pop">
|
| 230 |
+
<div class="support__pop-head">TRC-20 Address <span class="support__copy-badge">(Click to copy)</span></div>
|
| 231 |
+
<div class="support__pop-val">TVCgvfbrUQC1nKD6cHcSP7JGirEEx5f4Te</div>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</section>
|
| 237 |
+
|
| 238 |
+
<div class="footer__line" style="margin-bottom: clamp(30px, 5vh, 60px);" aria-hidden="true"></div>
|
| 239 |
|
| 240 |
<footer class="footer">
|
| 241 |
<div class="footer__inner reveal">
|
|
|
|
| 249 |
<nav class="footer__cols">
|
| 250 |
<div class="footer__col">
|
| 251 |
<div class="footer__col__title">Products</div>
|
| 252 |
+
<a class="footer__link" href="https://huggingface.co/datasets/faunix/Qwen3.8-27B-Distillation-40K" target="_blank" rel="noopener">Qwen3.8 Distillation 40K</a>
|
| 253 |
<a class="footer__link" href="https://huggingface.co/faunix/QwenSeek-2B" target="_blank" rel="noopener">QwenSeek-2B</a>
|
| 254 |
<a class="footer__link" href="https://huggingface.co/faunix/LiarAI" target="_blank" rel="noopener">LiarAI</a>
|
| 255 |
<a class="footer__link" href="https://huggingface.co/faunix/YEN" target="_blank" rel="noopener">YEN</a>
|
|
|
|
| 525 |
const sleep = (ms) => new Promise(r => setTimeout(r, REDUCED ? 0 : ms));
|
| 526 |
const scrollChat = () => chat.scrollTo({ top: chat.scrollHeight, behavior: REDUCED ? "auto" : "smooth" });
|
| 527 |
|
| 528 |
+
const CODE = [
|
| 529 |
'import turtle, random, time',
|
| 530 |
'',
|
| 531 |
's = turtle.Screen()',
|
|
|
|
| 770 |
io.observe(win);
|
| 771 |
})();
|
| 772 |
|
| 773 |
+
(function () {
|
| 774 |
+
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
|
| 775 |
+
if (!FINE) return;
|
| 776 |
+
const spot = document.getElementById("spot");
|
| 777 |
+
if (!spot) return;
|
| 778 |
+
|
| 779 |
+
let tx = window.innerWidth / 2, ty = window.innerHeight / 3, x = tx, y = ty;
|
| 780 |
+
|
| 781 |
+
window.addEventListener("mousemove", (e) => { tx = e.clientX; ty = e.clientY; });
|
| 782 |
+
|
| 783 |
+
(function loop() {
|
| 784 |
+
x += (tx - x) * 0.12;
|
| 785 |
+
y += (ty - y) * 0.12;
|
| 786 |
+
spot.style.setProperty("--sx", x + "px");
|
| 787 |
+
spot.style.setProperty("--sy", y + "px");
|
| 788 |
+
requestAnimationFrame(loop);
|
| 789 |
+
})();
|
| 790 |
+
})();
|
| 791 |
+
|
| 792 |
+
(function () {
|
| 793 |
+
const FINE = window.matchMedia("(hover: hover) and (pointer: fine)").matches;
|
| 794 |
+
const REDUCED_M = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
| 795 |
+
if (!FINE || REDUCED_M) return;
|
| 796 |
+
|
| 797 |
+
const bg = document.querySelector(".bg");
|
| 798 |
+
if (!bg) return;
|
| 799 |
+
|
| 800 |
+
window.addEventListener("mousedown", (e) => {
|
| 801 |
+
const w = document.createElement("div");
|
| 802 |
+
w.className = "warp";
|
| 803 |
+
w.style.left = e.clientX + "px";
|
| 804 |
+
w.style.top = e.clientY + "px";
|
| 805 |
+
w.style.backgroundPosition = (190 - e.clientX) + "px " + (190 - e.clientY) + "px";
|
| 806 |
+
bg.appendChild(w);
|
| 807 |
+
setTimeout(() => w.remove(), 950);
|
| 808 |
+
});
|
| 809 |
+
})();
|
| 810 |
+
|
| 811 |
+
(function () {
|
| 812 |
+
const footer = document.querySelector(".footer");
|
| 813 |
+
if (!footer) return;
|
| 814 |
+
if (!("IntersectionObserver" in window)) {
|
| 815 |
+
footer.classList.add("is-lit");
|
| 816 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 817 |
}
|
| 818 |
+
const io = new IntersectionObserver((ents) => {
|
| 819 |
+
ents.forEach(en => {
|
| 820 |
+
if (en.isIntersecting) {
|
| 821 |
+
io.disconnect();
|
| 822 |
+
setTimeout(() => footer.classList.add("is-lit"), 1000);
|
| 823 |
+
}
|
| 824 |
+
});
|
| 825 |
+
}, { threshold: 0.2 });
|
| 826 |
+
io.observe(footer);
|
| 827 |
+
})();
|
| 828 |
+
|
| 829 |
+
(function () {
|
| 830 |
+
const tabs = document.querySelectorAll('.dd__tab-btn');
|
| 831 |
+
const pill = document.getElementById('ddPill');
|
| 832 |
+
const track = document.getElementById('ddTrack');
|
| 833 |
+
if (!tabs.length || !pill || !track) return;
|
| 834 |
+
|
| 835 |
+
tabs.forEach(btn => {
|
| 836 |
+
btn.addEventListener('click', (e) => {
|
| 837 |
+
e.stopPropagation();
|
| 838 |
+
tabs.forEach(t => t.classList.remove('is-active'));
|
| 839 |
+
btn.classList.add('is-active');
|
| 840 |
+
|
| 841 |
+
if (btn.dataset.tab === 'datasets') {
|
| 842 |
+
pill.style.transform = 'translateX(100%)';
|
| 843 |
+
track.style.transform = 'translateX(-50%)';
|
| 844 |
+
} else {
|
| 845 |
+
pill.style.transform = 'translateX(0)';
|
| 846 |
+
track.style.transform = 'translateX(0)';
|
| 847 |
+
}
|
| 848 |
+
});
|
| 849 |
+
});
|
| 850 |
+
})();
|
| 851 |
+
|
| 852 |
+
(function () {
|
| 853 |
+
document.querySelectorAll('.support__item').forEach(item => {
|
| 854 |
+
const addr = item.dataset.copy;
|
| 855 |
+
const badge = item.querySelector('.support__copy-badge');
|
| 856 |
+
if (!badge || !addr) return;
|
| 857 |
+
|
| 858 |
+
let isRunning = false;
|
| 859 |
+
|
| 860 |
+
item.addEventListener('click', () => {
|
| 861 |
+
if (isRunning) return;
|
| 862 |
+
isRunning = true;
|
| 863 |
+
|
| 864 |
+
navigator.clipboard.writeText(addr).then(() => {
|
| 865 |
+
badge.classList.add('is-animating');
|
| 866 |
+
|
| 867 |
+
setTimeout(() => {
|
| 868 |
+
badge.textContent = '(Copied! ✓)';
|
| 869 |
+
badge.classList.remove('is-animating');
|
| 870 |
+
|
| 871 |
+
setTimeout(() => {
|
| 872 |
+
badge.classList.add('is-animating');
|
| 873 |
+
|
| 874 |
+
setTimeout(() => {
|
| 875 |
+
badge.textContent = '(Click to copy)';
|
| 876 |
+
badge.classList.remove('is-animating');
|
| 877 |
+
isRunning = false;
|
| 878 |
+
}, 220);
|
| 879 |
+
}, 1800);
|
| 880 |
+
}, 220);
|
| 881 |
+
});
|
| 882 |
+
});
|
| 883 |
+
});
|
| 884 |
+
})();
|
| 885 |
+
|
| 886 |
+
document.getElementById('navSupport').onclick = function (e) {
|
| 887 |
+
e.preventDefault();
|
| 888 |
+
const target = document.getElementById('support');
|
| 889 |
+
if (!target) return;
|
| 890 |
+
const wrap = document.getElementById('scrollWrap');
|
| 891 |
+
const wrapTop = wrap ? wrap.getBoundingClientRect().top : 0;
|
| 892 |
+
const targetY = Math.max(0, target.getBoundingClientRect().top - wrapTop - 80);
|
| 893 |
+
window.scrollTo({ top: targetY, behavior: 'smooth' });
|
| 894 |
+
};
|
| 895 |
</script>
|
| 896 |
|
| 897 |
</body>
|