Spaces:
Running
Running
File size: 35,364 Bytes
bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 e73799b bbae932 |
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 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 |
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AdGenie | Asistent pro reklamy s AI</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=Inter:wght@300;400;500;600;700&display=swap');
:root {
--coral: #FF7F6E;
--mint: #8EFFC1;
--sand: #FFF5E0;
--ink: #1A1A2E;
}
body {
font-family: 'Inter', sans-serif;
background-color: #f9f9f9;
color: var(--ink);
}
.gradient-bg {
background: linear-gradient(135deg, #FF9A8B 0%, #FF6B95 50%, #FF8E53 100%);
}
.genie-smoke {
position: relative;
}
.genie-smoke::after {
content: "";
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 20px;
background: rgba(255,255,255,0.3);
border-radius: 50%;
filter: blur(8px);
animation: smoke 3s infinite ease-out;
}
@keyframes smoke {
0% { transform: translateX(-50%) scale(1); opacity: 0.7; }
50% { transform: translateX(-50%) scale(1.2); opacity: 0.4; }
100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}
.confetti-check {
position: relative;
}
.confetti-check::after {
content: "✓";
position: absolute;
top: -5px;
right: -5px;
width: 20px;
height: 20px;
background: var(--mint);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
transform: scale(0);
transition: all 0.3s ease;
}
.confetti-check.active::after {
transform: scale(1);
animation: confetti 0.5s ease-out;
}
@keyframes confetti {
0% { transform: scale(0); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
.chat-bubble {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: var(--coral);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
box-shadow: 0 4px 15px rgba(255, 127, 110, 0.3);
cursor: pointer;
z-index: 100;
transition: all 0.3s ease;
}
.chat-bubble:hover {
transform: scale(1.1);
}
.chat-window {
position: fixed;
bottom: 90px;
right: 20px;
width: 350px;
height: 500px;
background: white;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transform: translateY(20px);
opacity: 0;
pointer-events: none;
transition: all 0.3s ease;
z-index: 100;
display: flex;
flex-direction: column;
overflow: hidden;
}
.chat-window.active {
transform: translateY(0);
opacity: 1;
pointer-events: all;
}
.chat-header {
padding: 15px;
background: var(--coral);
color: white;
display: flex;
align-items: center;
}
.chat-messages {
flex: 1;
padding: 15px;
overflow-y: auto;
background: #f9f9f9;
}
.message {
margin-bottom: 15px;
max-width: 80%;
padding: 10px 15px;
border-radius: 15px;
font-size: 14px;
line-height: 1.4;
}
.message.ai {
background: white;
border-bottom-left-radius: 5px;
align-self: flex-start;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.message.user {
background: var(--coral);
color: white;
border-bottom-right-radius: 5px;
align-self: flex-end;
}
.chat-input {
padding: 15px;
background: white;
border-top: 1px solid #eee;
display: flex;
}
.chat-input input {
flex: 1;
padding: 10px 15px;
border: 1px solid #eee;
border-radius: 30px;
outline: none;
font-size: 14px;
}
.chat-input button {
margin-left: 10px;
background: var(--coral);
color: white;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.progress-step.active {
background: var(--coral);
color: white;
}
.progress-step.completed {
background: var(--mint);
color: white;
}
.glow {
box-shadow: 0 0 15px rgba(255, 127, 110, 0.3);
}
.tab-button.active {
color: var(--coral);
border-bottom: 2px solid var(--coral);
}
.health-indicator {
width: 12px;
height: 12px;
border-radius: 50%;
display: inline-block;
margin-right: 5px;
}
.health-good {
background: #4CAF50;
}
.health-warning {
background: #FFC107;
}
.health-critical {
background: #F44336;
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.slide-up {
animation: slideUp 0.5s ease-out;
}
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
</style>
</head>
<body class="min-h-screen">
<!-- Úvodní obrazovka -->
<div id="onboarding" class="fixed inset-0 bg-white z-50 flex items-center justify-center p-4 transition-opacity duration-500">
<div class="max-w-md w-full bg-white rounded-xl shadow-lg overflow-hidden slide-up">
<div class="gradient-bg p-6 text-white text-center">
<div class="genie-smoke w-20 h-20 bg-white rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-magic text-3xl text-pink-500"></i>
</div>
<h1 class="text-2xl font-bold mb-2">Vítejte v AdGenie</h1>
<p class="opacity-90">Vytvořte svou první vysoce konverzní reklamu během pár minut</p>
</div>
<div class="p-6">
<div class="flex justify-between mb-6">
<div class="progress-step w-8 h-8 rounded-full flex items-center justify-center bg-gray-200 text-gray-600 font-medium active">1</div>
<div class="progress-step w-8 h-8 rounded-full flex items-center justify-center bg-gray-200 text-gray-600 font-medium">2</div>
<div class="progress-step w-8 h-8 rounded-full flex items-center justify-center bg-gray-200 text-gray-600 font-medium">3</div>
<div class="progress-step w-8 h-8 rounded-full flex items-center justify-center bg-gray-200 text-gray-600 font-medium">4</div>
</div>
<div class="mb-6">
<h2 class="text-lg font-semibold mb-3">Jaký je váš hlavní cíl?</h2>
<div class="space-y-3">
<div class="confetti-check p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-pink-300 transition relative">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full border-2 border-gray-300 mr-3"></div>
<span>Prodat více produktů</span>
</div>
</div>
<div class="confetti-check p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-pink-300 transition relative">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full border-2 border-gray-300 mr-3"></div>
<span>Získat více návštěvníků na web</span>
</div>
</div>
<div class="confetti-check p-4 border border-gray-200 rounded-lg cursor-pointer hover:border-pink-300 transition relative">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full border-2 border-gray-300 mr-3"></div>
<span>Budovat povědomí o značce</span>
</div>
</div>
</div>
<p class="text-sm text-gray-500 mt-2">✅ Vyberte 1. Později můžete změnit.</p>
</div>
<button class="w-full bg-pink-500 hover:bg-pink-600 text-white py-3 px-4 rounded-lg font-medium transition flex items-center justify-center">
Další otázka <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
<!-- Hlavní dashboard (zpočátku skrytý) -->
<div id="dashboard" class="hidden">
<!-- Horní navigace -->
<nav class="bg-white shadow-sm py-4 px-6 flex justify-between items-center">
<div class="flex items-center">
<div class="genie-smoke w-10 h-10 bg-gradient-to-r from-pink-400 to-pink-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-magic text-white text-lg"></i>
</div>
<h1 class="text-xl font-bold text-gray-800">AdGenie</h1>
</div>
<div class="flex space-x-6">
<a href="#" class="tab-button active py-2 font-medium">Domů</a>
<a href="#" class="tab-button py-2 font-medium text-gray-500 hover:text-gray-700">Reporty</a>
<a href="#" class="tab-button py-2 font-medium text-gray-500 hover:text-gray-700">Nastavení</a>
</div>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center mr-3">
<i class="fas fa-bell text-gray-500"></i>
</div>
<div class="w-8 h-8 rounded-full bg-gradient-to-r from-pink-400 to-pink-600 flex items-center justify-center text-white font-medium">
B
</div>
</div>
</nav>
<!-- Hlavní obsah -->
<main class="p-6">
<!-- Uvítací banner -->
<div class="bg-gradient-to-r from-pink-50 to-pink-100 border border-pink-200 rounded-xl p-6 mb-6">
<div class="flex items-center justify-between">
<div>
<h2 class="text-xl font-bold text-gray-800 mb-1">Vítejte zpět, Blaze!</h2>
<p class="text-gray-600">Vaše letní výprodejová kampaň si vede dobře. Pojďme se podívat na čísla.</p>
</div>
<button class="bg-pink-500 hover:bg-pink-600 text-white py-2 px-4 rounded-lg font-medium transition flex items-center">
<i class="fas fa-plus mr-2"></i> Nová kampaň
</button>
</div>
</div>
<!-- Karty kampaní -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8">
<!-- Karta zdraví kampaně -->
<div class="bg-white rounded-xl shadow-sm p-6 border border-gray-100 fade-in">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-gray-800">Stav kampaně</h3>
<span class="health-indicator health-good"></span>
</div>
<div class="space-y-4">
<div>
<div class="flex justify-between mb-1">
<span class="text-sm text-gray-600">Prodeje</span>
<span class="text-sm font-medium">6</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full" style="width: 60%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm text-gray-600">Kliknutí</span>
<span class="text-sm font-medium">178</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-blue-500 h-2 rounded-full" style="width: 45%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm text-gray-600">Zobrazení</span>
<span class="text-sm font-medium">2,110</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-purple-500 h-2 rounded-full" style="width: 85%"></div>
</div>
</div>
</div>
<div class="mt-6 pt-4 border-t border-gray-100">
<div class="flex items-center justify-between">
<span class="text-sm text-gray-600">Postup k cíli</span>
<span class="text-sm font-medium">60%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2 mt-1">
<div class="bg-pink-500 h-2 rounded-full" style="width: 60%"></div>
</div>
</div>
</div>
<!-- Karta souhrnu výkonu -->
<div class="bg-white rounded-xl shadow-sm p-6 border border-gray-100 fade-in" style="animation-delay: 0.1s">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-gray-800">Přehled výkonu</h3>
<i class="fas fa-chart-line text-blue-500"></i>
</div>
<div class="flex items-center justify-between mb-6">
<div>
<p class="text-sm text-gray-500">ROAS</p>
<p class="text-2xl font-bold">3.2x</p>
<p class="text-sm text-green-500 flex items-center">
<i class="fas fa-arrow-up mr-1"></i> o 12% více než minulý týden
</p>
</div>
<div>
<p class="text-sm text-gray-500">CTR</p>
<p class="text-2xl font-bold">8.4%</p>
<p class="text-sm text-green-500 flex items-center">
<i class="fas fa-arrow-up mr-1"></i> o 3% více než minulý týden
</p>
</div>
</div>
<div class="h-32 bg-gray-50 rounded-lg p-2">
<!-- Placeholder pro graf -->
<div class="w-full h-full flex items-end space-x-1">
<div class="w-4 bg-blue-200 rounded-t-sm" style="height: 30%"></div>
<div class="w-4 bg-blue-300 rounded-t-sm" style="height: 50%"></div>
<div class="w-4 bg-blue-400 rounded-t-sm" style="height: 70%"></div>
<div class="w-4 bg-blue-500 rounded-t-sm" style="height: 90%"></div>
<div class="w-4 bg-blue-400 rounded-t-sm" style="height: 75%"></div>
<div class="w-4 bg-blue-300 rounded-t-sm" style="height: 60%"></div>
<div class="w-4 bg-blue-200 rounded-t-sm" style="height: 40%"></div>
</div>
</div>
<div class="mt-4 flex justify-between text-xs text-gray-500">
<span>Po</span>
<span>Út</span>
<span>St</span>
<span>Čt</span>
<span>Pá</span>
<span>So</span>
<span>Ne</span>
</div>
</div>
<!-- Karta návrhů od Genie -->
<div class="bg-white rounded-xl shadow-sm p-6 border border-gray-100 fade-in" style="animation-delay: 0.2s">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-gray-800">Návrhy od Genie</h3>
<i class="fas fa-lightbulb text-yellow-500"></i>
</div>
<div class="bg-yellow-50 border border-yellow-100 rounded-lg p-4 mb-4">
<div class="flex items-start">
<div class="mr-3 text-yellow-500">
<i class="fas fa-bolt"></i>
</div>
<div>
<p class="font-medium text-gray-800 mb-1">Zvýšit rozpočet na neděli?</p>
<p class="text-sm text-gray-600">Vaše reklamy v neděli fungují o 23% lépe. Zvažte zvýšení rozpočtu o 20$.</p>
<div class="flex space-x-2 mt-3">
<button class="text-xs bg-yellow-500 hover:bg-yellow-600 text-white py-1 px-3 rounded-full font-medium transition">
Přijmout
</button>
<button class="text-xs bg-white hover:bg-gray-50 text-gray-600 py-1 px-3 rounded-full font-medium transition border border-gray-200">
Odmítnout
</button>
</div>
</div>
</div>
</div>
<div class="bg-blue-50 border border-blue-100 rounded-lg p-4">
<div class="flex items-start">
<div class="mr-3 text-blue-500">
<i class="fas fa-mobile-alt"></i>
</div>
<div>
<p class="font-medium text-gray-800 mb-1">Varianta optimalizovaná pro mobily</p>
<p class="text-sm text-gray-600">72% vašich konverzí pochází z mobilů. Vytvořit mobilní verzi?</p>
<div class="flex space-x-2 mt-3">
<button class="text-xs bg-blue-500 hover:bg-blue-600 text-white py-1 px-3 rounded-full font-medium transition">
Vytvořit
</button>
<button class="text-xs bg-white hover:bg-gray-50 text-gray-600 py-1 px-3 rounded-full font-medium transition border border-gray-200">
Později
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Sekce týdenního reportu -->
<div class="bg-white rounded-xl shadow-sm p-6 border border-gray-100 mb-8">
<div class="flex items-center justify-between mb-6">
<h2 class="text-lg font-bold text-gray-800">Týdenní report výkonu</h2>
<button class="text-sm bg-pink-500 hover:bg-pink-600 text-white py-2 px-4 rounded-lg font-medium transition flex items-center">
<i class="fas fa-download mr-2"></i> Exportovat PDF
</button>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<!-- Souhrnná karta -->
<div class="bg-pink-50 border border-pink-100 rounded-lg p-5">
<div class="flex items-center justify-between mb-3">
<h3 class="font-medium text-gray-800">Souhrn</h3>
<div class="w-8 h-8 rounded-full bg-pink-100 flex items-center justify-center">
<i class="fas fa-chart-pie text-pink-500"></i>
</div>
</div>
<div class="space-y-3">
<div>
<p class="text-sm text-gray-600">Prodeje</p>
<p class="text-xl font-bold">6 <span class="text-sm font-normal text-green-500">(+2 oproti minulému týdnu)</span></p>
</div>
<div>
<p class="text-sm text-gray-600">Kliknutí</p>
<p class="text-xl font-bold">178 <span class="text-sm font-normal text-green-500">(+32 oproti minulému týdnu)</span></p>
</div>
<div>
<p class="text-sm text-gray-600">Náklady</p>
<p class="text-xl font-bold">$87.50 <span class="text-sm font-normal text-gray-500">(+$12.50 oproti minulému týdnu)</span></p>
</div>
</div>
</div>
<!-- Karta zdrojů konverzí -->
<div class="bg-blue-50 border border-blue-100 rounded-lg p-5">
<div class="flex items-center justify-between mb-3">
<h3 class="font-medium text-gray-800">Zdroje konverzí</h3>
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center">
<i class="fas fa-map-marked-alt text-blue-500"></i>
</div>
</div>
<div class="flex items-center justify-center h-32 mb-2">
<!-- Placeholder pro koláčový graf -->
<div class="relative w-24 h-24 rounded-full bg-conic-gradient">
<div class="absolute inset-0 rounded-full" style="background: conic-gradient(#4CAF50 0% 60%, #2196F3 60% 85%, #FFC107 85% 100%);"></div>
<div class="absolute inset-4 rounded-full bg-blue-50 flex items-center justify-center">
<span class="text-lg font-bold">6</span>
</div>
</div>
</div>
<div class="space-y-1">
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div>
<span class="text-sm">Instagram (60%)</span>
</div>
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-blue-500 mr-2"></div>
<span class="text-sm">Facebook (25%)</span>
</div>
<div class="flex items-center">
<div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
<span class="text-sm">Google Ads (15%)</span>
</div>
</div>
</div>
<!-- Karta poznatků -->
<div class="bg-purple-50 border border-purple-100 rounded-lg p-5">
<div class="flex items-center justify-between mb-3">
<h3 class="font-medium text-gray-800">Co jsme zjistili</h3>
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center">
<i class="fas fa-brain text-purple-500"></i>
</div>
</div>
<div class="space-y-4">
<div class="flex items-start">
<div class="mr-3 text-purple-500">
<i class="fas fa-clock"></i>
</div>
<div>
<p class="font-medium text-sm text-gray-800">Špičkové hodiny</p>
<p class="text-xs text-gray-600">Nejvíce konverzí bylo mezi 18-21 hodinou</p>
</div>
</div>
<div class="flex items-start">
<div class="mr-3 text-purple-500">
<i class="fas fa-mobile-alt"></i>
</div>
<div>
<p class="font-medium text-sm text-gray-800">Preference zařízení</p>
<p class="text-xs text-gray-600">72% kupujících použilo mobilní zařízení</p>
</div>
</div>
<div class="flex items-start">
<div class="mr-3 text-purple-500">
<i class="fas fa-map-marker-alt"></i>
</div>
<div>
<p class="font-medium text-sm text-gray-800">Nejlepší lokace</p>
<p class="text-xs text-gray-600">Kalifornie generovala 38% všech prodejů</p>
</div>
</div>
</div>
</div>
</div>
<div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-3">
<button class="flex-1 bg-pink-500 hover:bg-pink-600 text-white py-3 px-4 rounded-lg font-medium transition flex items-center justify-center">
<i class="fas fa-magic mr-2"></i> Vytvořit novou variantu
</button>
<button class="flex-1 bg-white hover:bg-gray-50 text-gray-700 py-3 px-4 rounded-lg font-medium transition flex items-center justify-center border border-gray-200">
<i class="fas fa-question-circle mr-2"></i> Zeptat se Genie
</button>
</div>
</div>
</main>
</div>
<!-- Chat bublina Genie -->
<div class="chat-bubble" id="chatBubble">
<i class="fas fa-magic"></i>
</div>
<!-- Chat okno Genie -->
<div class="chat-window" id="chatWindow">
<div class="chat-header">
<div class="genie-smoke w-8 h-8 bg-gradient-to-r from-pink-400 to-pink-600 rounded-full flex items-center justify-center mr-3">
<i class="fas fa-magic text-white text-sm"></i>
</div>
<h3 class="font-medium">Asistent AdGenie</h3>
</div>
<div class="chat-messages" id="chatMessages">
<div class="message ai">
Ahoj! Jsem AdGenie, váš asistent pro reklamy. Jak vám mohu pomoci?
</div>
<div class="message ai">
Všiml jsem si, že váš ROAS tento týden klesl o 13%. Chcete, abych to prozkoumal?
</div>
</div>
<div class="chat-input">
<input type="text" placeholder="Zeptejte se mě na cokoliv ohledně reklam..." id="chatInput">
<button id="sendMessage">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
<script>
// Interakce s úvodní obrazovkou
document.addEventListener('DOMContentLoaded', function() {
// Simulace dokončení úvodu po 3 sekundách
setTimeout(function() {
document.getElementById('onboarding').classList.add('opacity-0');
setTimeout(function() {
document.getElementById('onboarding').classList.add('hidden');
document.getElementById('dashboard').classList.remove('hidden');
}, 500);
}, 3000);
// Přidání efektu konfety k možnostem v úvodu
const options = document.querySelectorAll('.confetti-check');
options.forEach(option => {
option.addEventListener('click', function() {
// Odebrání aktivní třídy ze všech možností
options.forEach(opt => opt.classList.remove('active'));
// Přidání aktivní třídy k vybrané možnosti
this.classList.add('active');
});
});
// Přepínání chat bubliny
const chatBubble = document.getElementById('chatBubble');
const chatWindow = document.getElementById('chatWindow');
chatBubble.addEventListener('click', function() {
chatWindow.classList.toggle('active');
});
// Funkce pro odeslání zprávy
const chatInput = document.getElementById('chatInput');
const sendMessage = document.getElementById('sendMessage');
const chatMessages = document.getElementById('chatMessages');
function sendUserMessage() {
const message = chatInput.value.trim();
if (message) {
// Přidání uživatelské zprávy
const userMsg = document.createElement('div');
userMsg.className = 'message user';
userMsg.textContent = message;
chatMessages.appendChild(userMsg);
// Vyčištění vstupu
chatInput.value = '';
// Scrollování dolů
chatMessages.scrollTop = chatMessages.scrollHeight;
// Simulace odpovědi AI po zpoždění
setTimeout(function() {
const aiResponses = [
"Skvělá otázka! Na základě dat vaší kampaně doporučuji...",
"Analyzoval jsem váš výkon a našel příležitost k...",
"Dovolte mi to zkontrolovat. Okamžik...",
"Zajímavé! Data ukazují následující...",
"S tím vám mohu pomoci. Nejprve se podívejme na..."
];
const randomResponse = aiResponses[Math.floor(Math.random() * aiResponses.length)];
const aiMsg = document.createElement('div');
aiMsg.className = 'message ai';
aiMsg.textContent = randomResponse;
chatMessages.appendChild(aiMsg);
// Scrollování dolů
chatMessages.scrollTop = chatMessages.scrollHeight;
}, 1000);
}
}
sendMessage.addEventListener('click', sendUserMessage);
chatInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
sendUserMessage();
}
});
// Navigace mezi záložkami
const tabButtons = document.querySelectorAll('.tab-button');
tabButtons.forEach(button => {
button.addEventListener('click', function(e) {
e.preventDefault();
// Odebrání aktivní třídy ze všech tlačítek
tabButtons.forEach(btn => btn.classList.remove('active'));
// Přidání aktivní třídy k kliknutému tlačítku
this.classList.add('active');
});
});
});
</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=LukasBe/adgenie-desktop" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |