File size: 39,346 Bytes
04d01bf | 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 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 | <!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Soundito - Statistik</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #0f172a;
color: #f8fafc;
}
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #7e22ce 100%);
}
.stats-card {
transition: all 0.3s ease;
}
.stats-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1e293b;
}
::-webkit-scrollbar-thumb {
background: #7e22ce;
border-radius: 4px;
}
/* Chart placeholders */
.chart-placeholder {
height: 300px;
background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
border-radius: 0.5rem;
}
/* Progress bars */
.progress-container {
height: 6px;
background-color: #1e293b;
border-radius: 3px;
}
.progress-fill {
height: 100%;
border-radius: 3px;
}
/* Time period selector */
.time-period-btn.active {
background-color: #7e22ce;
color: white;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="bg-gray-900/80 backdrop-blur-md fixed w-full z-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-music text-purple-500 text-2xl mr-2"></i>
<span class="text-white font-bold text-xl">Soundito</span>
</div>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
<a href="#" class="text-white px-3 py-2 rounded-md text-sm font-medium">Statistik</a>
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Discover</a>
<a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Tävlingar</a>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="relative p-1 rounded-full text-gray-400 hover:text-white focus:outline-none">
<i class="fas fa-bell text-xl"></i>
<span class="absolute top-0 right-0 block h-2 w-2 rounded-full bg-purple-500"></span>
</button>
<div class="ml-3 relative">
<div class="flex items-center cursor-pointer">
<img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User profile">
<span class="ml-2 text-white text-sm font-medium">Emma S</span>
<i class="fas fa-chevron-down ml-1 text-gray-400 text-xs"></i>
</div>
</div>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none">
<span class="sr-only">Öppna meny</span>
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Statistics Main Content -->
<div class="pt-16 pb-10 min-h-screen">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<!-- Header -->
<div class="md:flex md:items-center md:justify-between mb-8">
<div>
<h1 class="text-2xl font-bold">Din statistik</h1>
<p class="text-gray-400">Översikt över din prestanda och tillväxt</p>
</div>
<div class="mt-4 md:mt-0">
<button class="gradient-bg hover:opacity-90 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">
<i class="fas fa-download mr-2"></i> Exportera data
</button>
</div>
</div>
<!-- Time Period Selector -->
<div class="bg-gray-800 rounded-xl p-4 mb-8">
<div class="flex overflow-x-auto space-x-2">
<button class="time-period-btn px-4 py-2 rounded-md text-sm font-medium active">7 dagar</button>
<button class="time-period-btn px-4 py-2 rounded-md text-sm font-medium bg-gray-700 hover:bg-gray-600">30 dagar</button>
<button class="time-period-btn px-4 py-2 rounded-md text-sm font-medium bg-gray-700 hover:bg-gray-600">90 dagar</button>
<button class="time-period-btn px-4 py-2 rounded-md text-sm font-medium bg-gray-700 hover:bg-gray-600">12 månader</button>
<button class="time-period-btn px-4 py-2 rounded-md text-sm font-medium bg-gray-700 hover:bg-gray-600">Anpassad</button>
</div>
</div>
<!-- Quick Stats -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-gray-800 rounded-xl p-6 stats-card">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Totalt intäkter</p>
<h3 class="text-2xl font-bold">2,458 kr</h3>
<p class="text-green-400 text-sm"><i class="fas fa-arrow-up mr-1"></i> 12% från förra perioden</p>
</div>
<div class="bg-purple-600/20 p-3 rounded-lg">
<i class="fas fa-wallet text-purple-400 text-xl"></i>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 stats-card">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Totalt lyssningar</p>
<h3 class="text-2xl font-bold">24,589</h3>
<p class="text-green-400 text-sm"><i class="fas fa-arrow-up mr-1"></i> 8% från förra perioden</p>
</div>
<div class="bg-blue-600/20 p-3 rounded-lg">
<i class="fas fa-headphones text-blue-400 text-xl"></i>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 stats-card">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Nya följare</p>
<h3 class="text-2xl font-bold">143</h3>
<p class="text-green-400 text-sm"><i class="fas fa-arrow-up mr-1"></i> 5% från förra perioden</p>
</div>
<div class="bg-green-600/20 p-3 rounded-lg">
<i class="fas fa-users text-green-400 text-xl"></i>
</div>
</div>
</div>
<div class="bg-gray-800 rounded-xl p-6 stats-card">
<div class="flex items-center justify-between">
<div>
<p class="text-gray-400 text-sm">Engagemang</p>
<h3 class="text-2xl font-bold">8.7%</h3>
<p class="text-green-400 text-sm"><i class="fas fa-arrow-up mr-1"></i> 1.2% från förra perioden</p>
</div>
<div class="bg-yellow-600/20 p-3 rounded-lg">
<i class="fas fa-chart-line text-yellow-400 text-xl"></i>
</div>
</div>
</div>
</div>
<!-- Main Content Grid -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Left Column -->
<div class="lg:col-span-2 space-y-6">
<!-- Performance Chart -->
<div class="bg-gray-800 rounded-xl p-6">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold">Lyssningsstatistik</h2>
<div class="flex items-center space-x-2">
<select class="bg-gray-700 border border-gray-600 text-white text-sm rounded-lg px-3 py-1">
<option>Alla spellistor</option>
<option>Min Sommar 2023</option>
<option>Workout Energy</option>
<option>Chill Vibes</option>
</select>
</div>
</div>
<!-- Chart Placeholder -->
<div class="chart-placeholder flex items-center justify-center mb-4">
<p class="text-gray-400">Visningsdiagram skulle visas här</p>
</div>
<div class="grid grid-cols-2 gap-4">
<div class="bg-gray-700/50 rounded-lg p-4">
<h3 class="text-sm font-medium mb-2">Toppländer</h3>
<div class="space-y-3">
<div>
<div class="flex justify-between text-sm mb-1">
<span>Sverige</span>
<span class="font-medium">58%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-blue-500" style="width: 58%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Norge</span>
<span class="font-medium">22%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-blue-400" style="width: 22%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Danmark</span>
<span class="font-medium">12%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-blue-300" style="width: 12%"></div>
</div>
</div>
</div>
</div>
<div class="bg-gray-700/50 rounded-lg p-4">
<h3 class="text-sm font-medium mb-2">Åldersgrupper</h3>
<div class="space-y-3">
<div>
<div class="flex justify-between text-sm mb-1">
<span>18-24</span>
<span class="font-medium">62%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-purple-500" style="width: 62%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>25-34</span>
<span class="font-medium">28%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-purple-400" style="width: 28%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>35-44</span>
<span class="font-medium">10%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-purple-300" style="width: 10%"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Playlist Performance -->
<div class="bg-gray-800 rounded-xl p-6">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold">Spellisteprestanda</h2>
<button class="text-purple-400 hover:text-purple-300 text-sm font-medium">
<i class="fas fa-sort mr-1"></i> Sortera
</button>
</div>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-700">
<thead>
<tr>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Spellista</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Lyssningar</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Intäkter</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Engagemang</th>
<th scope="col" class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Tillväxt</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-700">
<tr class="hover:bg-gray-700/50">
<td class="px-4 py-4 whitespace-nowrap">
<div class="flex items-center">
<img class="w-10 h-10 rounded-md object-cover" src="https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=100&q=80" alt="Playlist cover">
<div class="ml-4">
<div class="text-sm font-medium">Min Sommar 2023</div>
<div class="text-xs text-gray-400">Publicerad: 12 maj</div>
</div>
</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">12,458</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">1,245 kr</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">9.2%</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-900 text-green-100">
+15%
</span>
</td>
</tr>
<tr class="hover:bg-gray-700/50">
<td class="px-4 py-4 whitespace-nowrap">
<div class="flex items-center">
<img class="w-10 h-10 rounded-md object-cover" src="https://images.unsplash.com/photo-1496293455970-f8581aae0e3b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=100&q=80" alt="Playlist cover">
<div class="ml-4">
<div class="text-sm font-medium">Workout Energy</div>
<div class="text-xs text-gray-400">Publicerad: 3 april</div>
</div>
</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">8,742</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">874 kr</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">7.8%</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-900 text-green-100">
+8%
</span>
</td>
</tr>
<tr class="hover:bg-gray-700/50">
<td class="px-4 py-4 whitespace-nowrap">
<div class="flex items-center">
<img class="w-10 h-10 rounded-md object-cover" src="https://images.unsplash.com/photo-1508700115892-45ecd05ae2ad?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=100&q=80" alt="Playlist cover">
<div class="ml-4">
<div class="text-sm font-medium">Chill Vibes</div>
<div class="text-xs text-gray-400">Publicerad: 15 mars</div>
</div>
</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">3,458</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">346 kr</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<div class="text-sm">6.5%</div>
</td>
<td class="px-4 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-900 text-yellow-100">
+2%
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Audience Insights -->
<div class="bg-gray-800 rounded-xl p-6">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold">Målgruppsinsikter</h2>
<button class="text-purple-400 hover:text-purple-300 text-sm font-medium">
<i class="fas fa-sync-alt mr-1"></i> Uppdatera
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h3 class="text-sm font-medium mb-4">Kön</h3>
<div class="flex items-center justify-between mb-2">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-pink-500 mr-2"></div>
<span class="text-sm">Kvinnor</span>
</div>
<span class="text-sm font-medium">68%</span>
</div>
<div class="progress-container mb-4">
<div class="progress-fill bg-pink-500" style="width: 68%"></div>
</div>
<div class="flex items-center justify-between mb-2">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div>
<span class="text-sm">Män</span>
</div>
<span class="text-sm font-medium">32%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-blue-500" style="width: 32%"></div>
</div>
</div>
<div>
<h3 class="text-sm font-medium mb-4">Enhetstyp</h3>
<div class="flex items-center justify-between mb-2">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-purple-500 mr-2"></div>
<span class="text-sm">Mobil</span>
</div>
<span class="text-sm font-medium">72%</span>
</div>
<div class="progress-container mb-4">
<div class="progress-fill bg-purple-500" style="width: 72%"></div>
</div>
<div class="flex items-center justify-between mb-2">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
<span class="text-sm">Dator</span>
</div>
<span class="text-sm font-medium">28%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-green-500" style="width: 28%"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Column -->
<div class="space-y-6">
<!-- Top Tracks -->
<div class="bg-gray-800 rounded-xl p-6">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold">Topplåtar</h2>
<button class="text-purple-400 hover:text-purple-300 text-sm font-medium">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<div class="space-y-4">
<div class="flex items-center">
<div class="w-8 h-8 rounded-md bg-purple-600/20 flex items-center justify-center text-purple-400 mr-3">
1
</div>
<img class="w-10 h-10 rounded-md mr-3" src="https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228" alt="Track cover">
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">Blinding Lights</p>
<p class="text-xs text-gray-400 truncate">The Weeknd</p>
</div>
<div class="text-sm text-gray-400 ml-4">12,458</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-md bg-blue-600/20 flex items-center justify-center text-blue-400 mr-3">
2
</div>
<img class="w-10 h-10 rounded-md mr-3" src="https://i.scdn.co/image/ab67616d00001e02663cc11a4c91a1e0a30c01ab" alt="Track cover">
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">Save Your Tears</p>
<p class="text-xs text-gray-400 truncate">The Weeknd</p>
</div>
<div class="text-sm text-gray-400 ml-4">9,874</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-md bg-green-600/20 flex items-center justify-center text-green-400 mr-3">
3
</div>
<img class="w-10 h-10 rounded-md mr-3" src="https://i.scdn.co/image/ab67616d00001e02e2d156fdc691f57900134342" alt="Track cover">
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">Stay</p>
<p class="text-xs text-gray-400 truncate">The Kid LAROI, Justin Bieber</p>
</div>
<div class="text-sm text-gray-400 ml-4">8,326</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-md bg-yellow-600/20 flex items-center justify-center text-yellow-400 mr-3">
4
</div>
<img class="w-10 h-10 rounded-md mr-3" src="https://i.scdn.co/image/ab67616d00001e02c6a6d5a9e42a8599c0c9b788" alt="Track cover">
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">good 4 u</p>
<p class="text-xs text-gray-400 truncate">Olivia Rodrigo</p>
</div>
<div class="text-sm text-gray-400 ml-4">7,542</div>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-md bg-pink-600/20 flex items-center justify-center text-pink-400 mr-3">
5
</div>
<img class="w-10 h-10 rounded-md mr-3" src="https://i.scdn.co/image/ab67616d00001e02d5f7b2974e9d8064f3e5e0ec" alt="Track cover">
<div class="flex-1 min-w-0">
<p class="text-sm font-medium truncate">Levitating</p>
<p class="text-xs text-gray-400 truncate">Dua Lipa</p>
</div>
<div class="text-sm text-gray-400 ml-4">6,985</div>
</div>
</div>
</div>
<!-- Peak Times -->
<div class="bg-gray-800 rounded-xl p-6">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold">Topptider</h2>
<button class="text-purple-400 hover:text-purple-300 text-sm font-medium">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<div class="chart-placeholder flex items-center justify-center mb-4">
<p class="text-gray-400">Tidsdiagram skulle visas här</p>
</div>
<div class="grid grid-cols-3 gap-4 text-center">
<div>
<p class="text-sm text-gray-400">Toppdag</p>
<p class="font-medium">Fredag</p>
</div>
<div>
<p class="text-sm text-gray-400">Topptimme</p>
<p class="font-medium">18:00</p>
</div>
<div>
<p class="text-sm text-gray-400">Lyssnadast</p>
<p class="font-medium">Kväll</p>
</div>
</div>
</div>
<!-- Comparison -->
<div class="bg-gray-800 rounded-xl p-6">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold">Jämförelse</h2>
<select class="bg-gray-700 border border-gray-600 text-white text-sm rounded-lg px-3 py-1">
<option>Med liknande skapare</option>
<option>Med genomsnitt</option>
<option>Med toppskapare</option>
</select>
</div>
<div class="space-y-4">
<div>
<div class="flex justify-between text-sm mb-1">
<span>Dina lyssningar</span>
<span class="font-medium">24,589</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-purple-500" style="width: 75%"></div>
</div>
<p class="text-xs text-gray-400 mt-1">32% högre än genomsnittet</p>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Ditt engagemang</span>
<span class="font-medium">8.7%</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-blue-500" style="width: 58%"></div>
</div>
<p class="text-xs text-gray-400 mt-1">12% högre än genomsnittet</p>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Dina följare</span>
<span class="font-medium">1,245</span>
</div>
<div class="progress-container">
<div class="progress-fill bg-green-500" style="width: 42%"></div>
</div>
<p class="text-xs text-gray-400 mt-1">5% lägre än genomsnittet</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bottom Navigation (Mobile) -->
<div class="md:hidden fixed bottom-0 left-0 right-0 bg-gray-900/80 backdrop-blur-md border-t border-gray-800 z-40">
<div class="flex justify-around">
<a href="#" class="flex flex-col items-center justify-center py-3 px-4 text-gray-400 hover:text-white">
<i class="fas fa-home text-xl"></i>
<span class="text-xs mt-1">Hem</span>
</a>
<a href="#" class="flex flex-col items-center justify-center py-3 px-4 text-white">
<i class="fas fa-chart-line text-xl"></i>
<span class="text-xs mt-1">Statistik</span>
</a>
<a href="#" class="flex flex-col items-center justify-center py-3 px-4 text-gray-400 hover:text-white">
<i class="fas fa-plus-circle text-xl"></i>
<span class="text-xs mt-1">Skapa</span>
</a>
<a href="#" class="flex flex-col items-center justify-center py-3 px-4 text-gray-400 hover:text-white">
<i class="fas fa-bell text-xl"></i>
<span class="text-xs mt-1">Notiser</span>
</a>
<a href="#" class="flex flex-col items-center justify-center py-3 px-4 text-gray-400 hover:text-white">
<img class="w-6 h-6 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile">
<span class="text-xs mt-1">Profil</span>
</a>
</div>
</div>
<script>
// Time period selector
document.querySelectorAll('.time-period-btn').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelectorAll('.time-period-btn').forEach(b => {
b.classList.remove('active');
if(!b.classList.contains('bg-gray-700')) {
b.classList.add('bg-gray-700');
}
});
this.classList.add('active');
this.classList.remove('bg-gray-700');
});
});
// Table row click functionality
document.querySelectorAll('tbody tr').forEach(row => {
row.addEventListener('click', function() {
// In a real app, this would navigate to the playlist detail page
console.log('Navigating to playlist details');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Knuger/stats" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |