Spaces:
Running
Running
Update public/index.html
Browse files- public/index.html +363 -5
public/index.html
CHANGED
|
@@ -77,6 +77,7 @@
|
|
| 77 |
.logo img {
|
| 78 |
width: 60px;
|
| 79 |
height: 60px;
|
|
|
|
| 80 |
}
|
| 81 |
|
| 82 |
.logo-text {
|
|
@@ -149,6 +150,144 @@
|
|
| 149 |
padding: 40px 20px;
|
| 150 |
}
|
| 151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
/* Responsive Design */
|
| 153 |
@media (max-width: 768px) {
|
| 154 |
.logo-text h1 {
|
|
@@ -163,10 +302,28 @@
|
|
| 163 |
.action-btn {
|
| 164 |
justify-content: center;
|
| 165 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
}
|
| 167 |
</style>
|
| 168 |
</head>
|
| 169 |
<body>
|
|
|
|
| 170 |
<div class="header">
|
| 171 |
<div class="logo">
|
| 172 |
<img src="https://africa.dlnlp.ai/simba/images/simba_main_logo.png" alt="SimbaBench Logo">
|
|
@@ -195,16 +352,217 @@
|
|
| 195 |
</div>
|
| 196 |
</div>
|
| 197 |
|
|
|
|
| 198 |
<div class="container">
|
| 199 |
-
<!--
|
| 200 |
-
<
|
| 201 |
-
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
</div>
|
| 205 |
|
| 206 |
<script>
|
| 207 |
-
// Add
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
</script>
|
| 209 |
</body>
|
| 210 |
</html>
|
|
|
|
| 77 |
.logo img {
|
| 78 |
width: 60px;
|
| 79 |
height: 60px;
|
| 80 |
+
filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
|
| 81 |
}
|
| 82 |
|
| 83 |
.logo-text {
|
|
|
|
| 150 |
padding: 40px 20px;
|
| 151 |
}
|
| 152 |
|
| 153 |
+
.section-title {
|
| 154 |
+
text-align: center;
|
| 155 |
+
margin-bottom: 30px;
|
| 156 |
+
font-size: 2rem;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.section-title .highlight {
|
| 160 |
+
color: var(--text-yellow);
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
/* Stats Cards */
|
| 164 |
+
.stats-grid {
|
| 165 |
+
display: grid;
|
| 166 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 167 |
+
gap: 20px;
|
| 168 |
+
margin: 40px 0;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
.stat-card {
|
| 172 |
+
background: var(--bg-card);
|
| 173 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 174 |
+
border-radius: 16px;
|
| 175 |
+
padding: 30px;
|
| 176 |
+
text-align: center;
|
| 177 |
+
transition: all 0.3s ease;
|
| 178 |
+
backdrop-filter: blur(10px);
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.stat-card:hover {
|
| 182 |
+
transform: translateY(-5px);
|
| 183 |
+
border-color: var(--text-yellow);
|
| 184 |
+
box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
.stat-card .icon {
|
| 188 |
+
font-size: 3rem;
|
| 189 |
+
margin-bottom: 15px;
|
| 190 |
+
color: var(--text-yellow);
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.stat-card .value {
|
| 194 |
+
font-size: 2.5rem;
|
| 195 |
+
font-weight: 800;
|
| 196 |
+
color: var(--text-white);
|
| 197 |
+
margin-bottom: 10px;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.stat-card .label {
|
| 201 |
+
font-size: 0.9rem;
|
| 202 |
+
color: var(--text-gray);
|
| 203 |
+
text-transform: uppercase;
|
| 204 |
+
letter-spacing: 1px;
|
| 205 |
+
font-weight: 600;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
/* Leaderboard Table */
|
| 209 |
+
.leaderboard-section {
|
| 210 |
+
background: var(--bg-card);
|
| 211 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 212 |
+
border-radius: 20px;
|
| 213 |
+
padding: 40px;
|
| 214 |
+
margin: 40px 0;
|
| 215 |
+
backdrop-filter: blur(10px);
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
.table-container {
|
| 219 |
+
overflow-x: auto;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
table {
|
| 223 |
+
width: 100%;
|
| 224 |
+
border-collapse: collapse;
|
| 225 |
+
margin-top: 20px;
|
| 226 |
+
}
|
| 227 |
+
|
| 228 |
+
thead {
|
| 229 |
+
background: rgba(255, 255, 255, 0.05);
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
th {
|
| 233 |
+
padding: 16px;
|
| 234 |
+
text-align: left;
|
| 235 |
+
font-weight: 600;
|
| 236 |
+
color: var(--text-yellow);
|
| 237 |
+
border-bottom: 2px solid rgba(251, 191, 36, 0.3);
|
| 238 |
+
text-transform: uppercase;
|
| 239 |
+
font-size: 0.85rem;
|
| 240 |
+
letter-spacing: 1px;
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
td {
|
| 244 |
+
padding: 16px;
|
| 245 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
tr:hover {
|
| 249 |
+
background: rgba(255, 255, 255, 0.03);
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
.rank-badge {
|
| 253 |
+
display: inline-block;
|
| 254 |
+
width: 30px;
|
| 255 |
+
height: 30px;
|
| 256 |
+
background: var(--grad-orange);
|
| 257 |
+
border-radius: 50%;
|
| 258 |
+
text-align: center;
|
| 259 |
+
line-height: 30px;
|
| 260 |
+
font-weight: 700;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.model-name {
|
| 264 |
+
font-weight: 600;
|
| 265 |
+
color: var(--text-white);
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.score {
|
| 269 |
+
font-weight: 700;
|
| 270 |
+
color: var(--text-yellow);
|
| 271 |
+
font-size: 1.1rem;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
/* Footer */
|
| 275 |
+
.footer {
|
| 276 |
+
text-align: center;
|
| 277 |
+
padding: 40px 20px;
|
| 278 |
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 279 |
+
margin-top: 60px;
|
| 280 |
+
color: var(--text-gray);
|
| 281 |
+
}
|
| 282 |
+
|
| 283 |
+
.footer a {
|
| 284 |
+
color: var(--text-yellow);
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.footer a:hover {
|
| 288 |
+
text-decoration: underline;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
/* Responsive Design */
|
| 292 |
@media (max-width: 768px) {
|
| 293 |
.logo-text h1 {
|
|
|
|
| 302 |
.action-btn {
|
| 303 |
justify-content: center;
|
| 304 |
}
|
| 305 |
+
|
| 306 |
+
.section-title {
|
| 307 |
+
font-size: 1.5rem;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.stat-card .value {
|
| 311 |
+
font-size: 2rem;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.leaderboard-section {
|
| 315 |
+
padding: 20px;
|
| 316 |
+
}
|
| 317 |
+
|
| 318 |
+
th, td {
|
| 319 |
+
padding: 12px 8px;
|
| 320 |
+
font-size: 0.9rem;
|
| 321 |
+
}
|
| 322 |
}
|
| 323 |
</style>
|
| 324 |
</head>
|
| 325 |
<body>
|
| 326 |
+
<!-- Header -->
|
| 327 |
<div class="header">
|
| 328 |
<div class="logo">
|
| 329 |
<img src="https://africa.dlnlp.ai/simba/images/simba_main_logo.png" alt="SimbaBench Logo">
|
|
|
|
| 352 |
</div>
|
| 353 |
</div>
|
| 354 |
|
| 355 |
+
<!-- Main Content -->
|
| 356 |
<div class="container">
|
| 357 |
+
<!-- Stats Section -->
|
| 358 |
+
<div class="stats-grid">
|
| 359 |
+
<div class="stat-card">
|
| 360 |
+
<div class="icon">🌍</div>
|
| 361 |
+
<div class="value">61</div>
|
| 362 |
+
<div class="label">Languages</div>
|
| 363 |
+
</div>
|
| 364 |
+
<div class="stat-card">
|
| 365 |
+
<div class="icon">🎙️</div>
|
| 366 |
+
<div class="value">8,605</div>
|
| 367 |
+
<div class="label">Hours of Data</div>
|
| 368 |
+
</div>
|
| 369 |
+
<div class="stat-card">
|
| 370 |
+
<div class="icon">🤖</div>
|
| 371 |
+
<div class="value">12</div>
|
| 372 |
+
<div class="label">Models</div>
|
| 373 |
+
</div>
|
| 374 |
+
<div class="stat-card">
|
| 375 |
+
<div class="icon">📊</div>
|
| 376 |
+
<div class="value">3</div>
|
| 377 |
+
<div class="label">Tasks</div>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
|
| 381 |
+
<!-- Leaderboard Section -->
|
| 382 |
+
<h2 class="section-title">Interactive <span class="highlight">Leaderboard</span></h2>
|
| 383 |
|
| 384 |
+
<div class="leaderboard-section">
|
| 385 |
+
<h3 style="margin-bottom: 20px;">ASR Models - Word Error Rate (WER) ↓</h3>
|
| 386 |
+
<div class="table-container">
|
| 387 |
+
<table>
|
| 388 |
+
<thead>
|
| 389 |
+
<tr>
|
| 390 |
+
<th>Rank</th>
|
| 391 |
+
<th>Model</th>
|
| 392 |
+
<th>Languages</th>
|
| 393 |
+
<th>WER Score</th>
|
| 394 |
+
<th>Parameters</th>
|
| 395 |
+
</tr>
|
| 396 |
+
</thead>
|
| 397 |
+
<tbody>
|
| 398 |
+
<tr>
|
| 399 |
+
<td><span class="rank-badge">1</span></td>
|
| 400 |
+
<td class="model-name">Simba-S</td>
|
| 401 |
+
<td>42</td>
|
| 402 |
+
<td class="score">15.2%</td>
|
| 403 |
+
<td>2B</td>
|
| 404 |
+
</tr>
|
| 405 |
+
<tr>
|
| 406 |
+
<td><span class="rank-badge">2</span></td>
|
| 407 |
+
<td class="model-name">Simba-W</td>
|
| 408 |
+
<td>42</td>
|
| 409 |
+
<td class="score">16.8%</td>
|
| 410 |
+
<td>2B</td>
|
| 411 |
+
</tr>
|
| 412 |
+
<tr>
|
| 413 |
+
<td><span class="rank-badge">3</span></td>
|
| 414 |
+
<td class="model-name">Simba-M</td>
|
| 415 |
+
<td>42</td>
|
| 416 |
+
<td class="score">18.5%</td>
|
| 417 |
+
<td>1B</td>
|
| 418 |
+
</tr>
|
| 419 |
+
<tr>
|
| 420 |
+
<td><span class="rank-badge">4</span></td>
|
| 421 |
+
<td class="model-name">Simba-H</td>
|
| 422 |
+
<td>42</td>
|
| 423 |
+
<td class="score">20.1%</td>
|
| 424 |
+
<td>500M</td>
|
| 425 |
+
</tr>
|
| 426 |
+
<tr>
|
| 427 |
+
<td><span class="rank-badge">5</span></td>
|
| 428 |
+
<td class="model-name">Simba-X</td>
|
| 429 |
+
<td>42</td>
|
| 430 |
+
<td class="score">22.3%</td>
|
| 431 |
+
<td>300M</td>
|
| 432 |
+
</tr>
|
| 433 |
+
</tbody>
|
| 434 |
+
</table>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
|
| 438 |
+
<div class="leaderboard-section">
|
| 439 |
+
<h3 style="margin-bottom: 20px;">TTS Models - Mean Opinion Score (MOS) ↑</h3>
|
| 440 |
+
<div class="table-container">
|
| 441 |
+
<table>
|
| 442 |
+
<thead>
|
| 443 |
+
<tr>
|
| 444 |
+
<th>Rank</th>
|
| 445 |
+
<th>Model</th>
|
| 446 |
+
<th>Language</th>
|
| 447 |
+
<th>MOS Score</th>
|
| 448 |
+
<th>Parameters</th>
|
| 449 |
+
</tr>
|
| 450 |
+
</thead>
|
| 451 |
+
<tbody>
|
| 452 |
+
<tr>
|
| 453 |
+
<td><span class="rank-badge">1</span></td>
|
| 454 |
+
<td class="model-name">Simba-TTS-xho</td>
|
| 455 |
+
<td>Xhosa</td>
|
| 456 |
+
<td class="score">4.2</td>
|
| 457 |
+
<td>36.3M</td>
|
| 458 |
+
</tr>
|
| 459 |
+
<tr>
|
| 460 |
+
<td><span class="rank-badge">2</span></td>
|
| 461 |
+
<td class="model-name">Simba-TTS-twi-asanti</td>
|
| 462 |
+
<td>Twi (Asanti)</td>
|
| 463 |
+
<td class="score">4.1</td>
|
| 464 |
+
<td>36.3M</td>
|
| 465 |
+
</tr>
|
| 466 |
+
<tr>
|
| 467 |
+
<td><span class="rank-badge">3</span></td>
|
| 468 |
+
<td class="model-name">Simba-TTS-lin</td>
|
| 469 |
+
<td>Lingala</td>
|
| 470 |
+
<td class="score">4.0</td>
|
| 471 |
+
<td>36.3M</td>
|
| 472 |
+
</tr>
|
| 473 |
+
<tr>
|
| 474 |
+
<td><span class="rank-badge">4</span></td>
|
| 475 |
+
<td class="model-name">Simba-TTS-sot</td>
|
| 476 |
+
<td>Sotho</td>
|
| 477 |
+
<td class="score">3.9</td>
|
| 478 |
+
<td>36.3M</td>
|
| 479 |
+
</tr>
|
| 480 |
+
<tr>
|
| 481 |
+
<td><span class="rank-badge">5</span></td>
|
| 482 |
+
<td class="model-name">Simba-TTS-tsn</td>
|
| 483 |
+
<td>Tswana</td>
|
| 484 |
+
<td class="score">3.8</td>
|
| 485 |
+
<td>36.3M</td>
|
| 486 |
+
</tr>
|
| 487 |
+
<tr>
|
| 488 |
+
<td><span class="rank-badge">6</span></td>
|
| 489 |
+
<td class="model-name">Simba-TTS-twi-akuapem</td>
|
| 490 |
+
<td>Twi (Akuapem)</td>
|
| 491 |
+
<td class="score">3.8</td>
|
| 492 |
+
<td>36.3M</td>
|
| 493 |
+
</tr>
|
| 494 |
+
<tr>
|
| 495 |
+
<td><span class="rank-badge">7</span></td>
|
| 496 |
+
<td class="model-name">Simba-TTS-afr</td>
|
| 497 |
+
<td>Afrikaans</td>
|
| 498 |
+
<td class="score">3.7</td>
|
| 499 |
+
<td>36.3M</td>
|
| 500 |
+
</tr>
|
| 501 |
+
</tbody>
|
| 502 |
+
</table>
|
| 503 |
+
</div>
|
| 504 |
+
</div>
|
| 505 |
+
|
| 506 |
+
<!-- Dataset Section -->
|
| 507 |
+
<div class="leaderboard-section">
|
| 508 |
+
<h3 style="margin-bottom: 20px;">📊 Dataset Resources</h3>
|
| 509 |
+
<p style="color: var(--text-gray); margin-bottom: 20px;">
|
| 510 |
+
Access the complete SimbaBench dataset with 8,605 hours of labeled speech data across 61 African languages.
|
| 511 |
+
</p>
|
| 512 |
+
<a href="https://huggingface.co/datasets/UBC-NLP/SimbaBench_dataset" target="_blank" class="action-btn btn-orange">
|
| 513 |
+
<i class="fa-solid fa-database"></i> Download Dataset
|
| 514 |
+
</a>
|
| 515 |
+
</div>
|
| 516 |
+
</div>
|
| 517 |
+
|
| 518 |
+
<!-- Footer -->
|
| 519 |
+
<div class="footer">
|
| 520 |
+
<p>
|
| 521 |
+
Developed by <a href="https://nlp.cs.ubc.ca/" target="_blank">UBC Deep Learning and Natural Language Processing Lab</a>
|
| 522 |
+
</p>
|
| 523 |
+
<p style="margin-top: 10px;">
|
| 524 |
+
© 2025 SimbaBench |
|
| 525 |
+
<a href="https://aclanthology.org/2025.emnlp-main.559/" target="_blank">EMNLP 2025</a>
|
| 526 |
+
</p>
|
| 527 |
</div>
|
| 528 |
|
| 529 |
<script>
|
| 530 |
+
// Add smooth scroll behavior
|
| 531 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 532 |
+
anchor.addEventListener('click', function (e) {
|
| 533 |
+
e.preventDefault();
|
| 534 |
+
const target = document.querySelector(this.getAttribute('href'));
|
| 535 |
+
if (target) {
|
| 536 |
+
target.scrollIntoView({
|
| 537 |
+
behavior: 'smooth',
|
| 538 |
+
block: 'start'
|
| 539 |
+
});
|
| 540 |
+
}
|
| 541 |
+
});
|
| 542 |
+
});
|
| 543 |
+
|
| 544 |
+
// Add animation on scroll
|
| 545 |
+
const observerOptions = {
|
| 546 |
+
threshold: 0.1,
|
| 547 |
+
rootMargin: '0px 0px -50px 0px'
|
| 548 |
+
};
|
| 549 |
+
|
| 550 |
+
const observer = new IntersectionObserver((entries) => {
|
| 551 |
+
entries.forEach(entry => {
|
| 552 |
+
if (entry.isIntersecting) {
|
| 553 |
+
entry.target.style.opacity = '1';
|
| 554 |
+
entry.target.style.transform = 'translateY(0)';
|
| 555 |
+
}
|
| 556 |
+
});
|
| 557 |
+
}, observerOptions);
|
| 558 |
+
|
| 559 |
+
// Observe all stat cards and leaderboard sections
|
| 560 |
+
document.querySelectorAll('.stat-card, .leaderboard-section').forEach(el => {
|
| 561 |
+
el.style.opacity = '0';
|
| 562 |
+
el.style.transform = 'translateY(20px)';
|
| 563 |
+
el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
|
| 564 |
+
observer.observe(el);
|
| 565 |
+
});
|
| 566 |
</script>
|
| 567 |
</body>
|
| 568 |
</html>
|