File size: 61,799 Bytes
d8ee33b |
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 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Implementation Tasks - PosterCraft Studio</title>
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎨</text></svg>">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.iife.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
body { font-family: 'Inter', sans-serif; }
.task-item {
transition: all 0.2s ease;
}
.task-item:hover {
background-color: rgba(99, 102, 241, 0.05);
}
.phase-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.phase-card:hover {
transform: translateY(-4px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.checkbox-custom {
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #e5e7eb;
border-radius: 4px;
position: relative;
cursor: pointer;
transition: all 0.2s;
}
.checkbox-custom:checked {
background: linear-gradient(135deg, #667eea, #764ba2);
border-color: #667eea;
}
.checkbox-custom:checked::after {
content: '✓';
position: absolute;
color: white;
font-size: 14px;
top: -2px;
left: 2px;
}
.progress-ring {
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
.collapsible-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.collapsible-content.active {
max-height: 1000px;
}
</style>
</head>
<body class="bg-gray-50 dark:bg-gray-900 transition-colors duration-300">
<!-- Header -->
<header class="bg-white dark:bg-gray-800 shadow-sm border-b border-gray-200 dark:border-gray-700 sticky top-0 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 space-x-4">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 gradient-bg rounded-lg flex items-center justify-center" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
<i data-feather="check-square" class="w-6 h-6 text-white"></i>
</div>
<h1 class="text-xl font-bold text-gray-900 dark:text-white">PosterCraft Studio</h1>
</div>
<span class="px-3 py-1 bg-purple-100 dark:bg-purple-900 text-purple-700 dark:text-purple-300 text-xs font-medium rounded-full">
Implementation Tasks
</span>
</div>
<div class="flex items-center space-x-4">
<button onclick="toggleTheme()" class="p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors">
<i data-feather="sun" class="w-5 h-5 text-gray-600 dark:text-gray-400 dark:hidden"></i>
<i data-feather="moon" class="w-5 h-5 text-gray-600 dark:text-gray-400 hidden dark:block"></i>
</button>
<nav class="hidden md:flex space-x-4">
<a href="index.html" class="px-3 py-2 text-sm font-medium text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white rounded-md">
Dashboard
</a>
<a href="tasks.html" class="px-3 py-2 text-sm font-medium text-purple-600 dark:text-purple-400 bg-purple-50 dark:bg-purple-900/50 rounded-md">
Tasks
</a>
</nav>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="mb-8">
<h1 class="text-3xl font-bold text-gray-900 dark:text-white mb-2">Implementation Tasks</h1>
<p class="text-gray-600 dark:text-gray-400">Detailed breakdown of all development tasks for PosterCraft Studio</p>
</div>
<!-- Stats Summary -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6 border border-gray-200 dark:border-gray-700">
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-gray-600 dark:text-gray-400">Total Tasks</span>
<i data-feather="list" class="w-5 h-5 text-purple-500"></i>
</div>
<div class="text-2xl font-bold text-gray-900 dark:text-white">42</div>
<div class="mt-2 flex items-center space-x-1">
<div class="w-full bg-gray-200 dark:bg-gray-700 rounded-full h-2">
<div class="bg-gradient-to-r from-purple-500 to-pink-500 h-2 rounded-full" style="width: 65%"></div>
</div>
<span class="text-xs text-gray-600 dark:text-gray-400">65%</span>
</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6 border border-gray-200 dark:border-gray-700">
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-gray-600 dark:text-gray-400">Completed</span>
<i data-feather="check-circle" class="w-5 h-5 text-green-500"></i>
</div>
<div class="text-2xl font-bold text-gray-900 dark:text-white">27</div>
<div class="mt-2 text-xs text-green-600 dark:text-green-400 font-medium">+5 today</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6 border border-gray-200 dark:border-gray-700">
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-gray-600 dark:text-gray-400">In Progress</span>
<i data-feather="clock" class="w-5 h-5 text-blue-500"></i>
</div>
<div class="text-2xl font-bold text-gray-900 dark:text-white">8</div>
<div class="mt-2 text-xs text-blue-600 dark:text-blue-400 font-medium">3 critical</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6 border border-gray-200 dark:border-gray-700">
<div class="flex items-center justify-between mb-2">
<span class="text-sm font-medium text-gray-600 dark:text-gray-400">Pending</span>
<i data-feather="alert-circle" class="w-5 h-5 text-yellow-500"></i>
</div>
<div class="text-2xl font-bold text-gray-900 dark:text-white">7</div>
<div class="mt-2 text-xs text-yellow-600 dark:text-yellow-400 font-medium">Ready to start</div>
</div>
</div>
<!-- Task List -->
<div class="space-y-6">
<!-- Phase 1: Project Setup -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-blue-100 dark:bg-blue-900 rounded-lg">
<i data-feather="settings" class="w-5 h-5 text-blue-600 dark:text-blue-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">1. Project Setup</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Foundation and tooling configuration</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">75%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">6/8 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient1)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="31.5" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient1" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#3b82f6;stop-opacity:1" />
<stop offset="100%" style="stop-color:#6366f1;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">1.1 Initialize TypeScript project with proper tsconfig.json</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Configured strict mode, module resolution, and path aliases</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">1.2 Set up Vite + React frontend structure</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Created component architecture with routing</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">1.3 Set up Express backend with TypeScript</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">REST API foundation with middleware support</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">1.4 Configure Prettier, ESLint, and Git hooks</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Code quality standards and formatting automation</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">1.5 Set up Docker containerization</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Multi-stage builds for frontend and backend</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">1.6 Configure GitHub Actions CI/CD pipeline</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Automated testing, building, and deployment</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg bg-yellow-50 dark:bg-yellow-900/20">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">1.7 Initialize Jest + React Testing Library setup</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Test environment configuration and sample tests</p>
<div class="mt-2 flex items-center space-x-2">
<span class="px-2 py-1 bg-yellow-100 dark:bg-yellow-800 text-yellow-800 dark:text-yellow-200 text-xs rounded-full">In Progress</span>
<span class="px-2 py-1 bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-200 text-xs rounded-full">Testing</span>
</div>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">1.8 Document development workflow</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Contribution guidelines and best practices</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 2: Jellyfin Integration -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-green-50 to-teal-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-green-100 dark:bg-green-900 rounded-lg">
<i data-feather="server" class="w-5 h-5 text-green-600 dark:text-green-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">2. Jellyfin Integration</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Media server connectivity and asset management</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">40%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">2/5 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient2)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="75.6" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient2" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#10b981;stop-opacity:1" />
<stop offset="100%" style="stop-color:#0d9488;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">2.1 Create Jellyfin API client with authentication</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Token-based auth with refresh token handling</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1" checked>
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white line-through">2.2 Implement library and media item fetching</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Paginated requests with filtering capabilities</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg bg-yellow-50 dark:bg-yellow-900/20">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">2.3 Add poster/image retrieval functionality</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Image caching and fallback handling</p>
<div class="mt-2 flex items-center space-x-2">
<span class="px-2 py-1 bg-yellow-100 dark:bg-yellow-800 text-yellow-800 dark:text-yellow-200 text-xs rounded-full">In Progress</span>
<span class="px-2 py-1 bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-200 text-xs rounded-full">Backend</span>
</div>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">2.4 Create poster upload/save back to Jellyfin</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Binary upload with progress tracking</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">2.5 Add error handling and rate limiting</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Retry mechanisms and circuit breaker pattern</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 3: TMDb Integration -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-red-50 to-orange-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-red-100 dark:bg-red-900 rounded-lg">
<i data-feather="film" class="w-5 h-5 text-red-600 dark:text-red-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">3. TMDb Integration</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Movie/TV database connectivity</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">0%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">0/4 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient3)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="126" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient3" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#ef4444;stop-opacity:1" />
<stop offset="100%" style="stop-color:#f97316;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">3.1 Set up TMDb API client</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">API key management and request throttling</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">3.2 Implement alternative poster fetching</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Multiple image sizes and aspect ratios</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">3.3 Add metadata enrichment (genres, year, overview)</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Structured data parsing and normalization</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">3.4 Create poster options selection interface</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Thumbnail gallery with preview functionality</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 4: Template System -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-purple-100 dark:bg-purple-900 rounded-lg">
<i data-feather="layout" class="w-5 h-5 text-purple-600 dark:text-purple-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">4. Template System</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Design template engine and management</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">0%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">0/5 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient4)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="126" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient4" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#8b5cf6;stop-opacity:1" />
<stop offset="100%" style="stop-color:#ec4899;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">4.1 Design JSON template schema</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Versioned specification with validation rules</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">4.2 Create predefined card types (poster, banner, anime, comic)</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Sample templates for common use cases</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">4.3 Implement template loader and validator</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Schema validation and error reporting</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">4.4 Add template selection UI component</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Gallery view with filtering and search</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">4.5 Create custom template creation interface</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">WYSIWYG editor for template design</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 5: Rendering Engine -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-cyan-50 to-blue-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-cyan-100 dark:bg-cyan-900 rounded-lg">
<i data-feather="cpu" class="w-5 h-5 text-cyan-600 dark:text-cyan-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">5. Rendering Engine</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">High-performance graphics rendering</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">0%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">0/8 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient5)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="126" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient5" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#06b6d4;stop-opacity:1" />
<stop offset="100%" style="stop-color:#3b82f6;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.1 Set up HTML5 Canvas with WebGL context</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Context initialization and fallback handling</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.2 Implement layered compositing pipeline</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Z-index management and blending modes</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.3 Add background image loading and scaling</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Aspect ratio preservation and tiling options</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.4 Create mask application system</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Shape clipping and alpha channel manipulation</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.5 Implement text layer rendering with font metrics</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Kerning, leading, and baseline alignment</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.6 Add effects system (shadow, stroke, glow, blur)</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Shader-based effects with parameter controls</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.7 Create real-time preview (<200ms target)</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Debounced rendering with progressive enhancement</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">5.8 Build high-quality export pipeline</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">PNG/JPEG/WebP export with resolution options</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 6: Font System -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-amber-50 to-yellow-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-amber-100 dark:bg-amber-900 rounded-lg">
<i data-feather="type" class="w-5 h-5 text-amber-600 dark:text-amber-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">6. Font System</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Typography management and rendering</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">0%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">0/6 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient6)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="126" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient6" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#f59e0b;stop-opacity:1" />
<stop offset="100%" style="stop-color:#eab308;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">6.1 Integrate fontkit for font loading and metrics</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">OpenType feature support and glyph extraction</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">6.2 Create font property controls (size, kerning, interline)</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Real-time adjustment with visual feedback</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">6.3 Implement character replacement system</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Ligatures and stylistic alternates support</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">6.4 Add case transformation features</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Title case, sentence case, small caps</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">6.5 Create font licensing validation</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Usage rights checking and attribution display</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">6.6 Build font upload and management interface</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Drag-and-drop upload with preview thumbnails</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 7: User Interface -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-emerald-50 to-teal-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-emerald-100 dark:bg-emerald-900 rounded-lg">
<i data-feather="monitor" class="w-5 h-5 text-emerald-600 dark:text-emerald-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">7. User Interface</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Application frontend and user experience</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">0%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">0/7 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient7)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="126" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient7" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#10b981;stop-opacity:1" />
<stop offset="100%" style="stop-color:#0d9488;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.1 Create main editor layout with canvas and controls</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Responsive design with docking panels</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.2 Build media selection interface (Jellyfin browser)</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Grid/list view with filtering and sorting</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.3 Add template picker component</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Categorized templates with live previews</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.4 Create font controls panel</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Advanced typography settings with live preview</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.5 Implement real-time preview synchronization</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Debounced updates with performance optimization</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.6 Add export options and progress tracking</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Batch processing with status indicators</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">7.7 Ensure WCAG AA accessibility compliance</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Keyboard navigation and screen reader support</p>
</div>
</div>
</div>
</div>
</div>
<!-- Phase 8: Testing & Validation -->
<div class="phase-card bg-white dark:bg-gray-800 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
<div class="p-6 border-b border-gray-200 dark:border-gray-700 bg-gradient-to-r from-violet-50 to-purple-50 dark:from-gray-700 dark:to-gray-800">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="p-2 bg-violet-100 dark:bg-violet-900 rounded-lg">
<i data-feather="shield" class="w-5 h-5 text-violet-600 dark:text-violet-400"></i>
</div>
<div>
<h2 class="text-xl font-bold text-gray-900 dark:text-white">8. Testing & Validation</h2>
<p class="text-sm text-gray-600 dark:text-gray-400">Quality assurance and validation procedures</p>
</div>
</div>
<div class="flex items-center space-x-4">
<div class="text-right">
<div class="text-sm font-medium text-gray-900 dark:text-white">0%</div>
<div class="text-xs text-gray-500 dark:text-gray-400">0/6 tasks</div>
</div>
<svg class="w-12 h-12 progress-ring">
<circle cx="24" cy="24" r="20" stroke="#e5e7eb" stroke-width="3" fill="none"></circle>
<circle cx="24" cy="24" r="20" stroke="url(#gradient8)" stroke-width="3" fill="none"
stroke-dasharray="126" stroke-dashoffset="126" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient8" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#8b5cf6;stop-opacity:1" />
<stop offset="100%" style="stop-color:#7c3aed;stop-opacity:1" />
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
<div class="p-6">
<div class="space-y-4">
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">8.1 Write unit tests for core utilities and rendering</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">80%+ coverage target for critical modules</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">8.2 Add component tests for key UI elements</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Interaction testing with React Testing Library</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">8.3 Create integration tests for API endpoints</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Contract testing with mock services</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">8.4 Set up E2E tests with Playwright</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Cross-browser testing scenarios</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">8.5 Add visual regression testing</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Screenshot comparison with threshold tolerance</p>
</div>
</div>
<div class="task-item flex items-start space-x-3 p-3 rounded-lg">
<input type="checkbox" class="checkbox-custom mt-1">
<div class="flex-1">
<p class="text-sm font-medium text-gray-900 dark:text-white">8.6 Implement performance benchmarks</p>
<p class="text-xs text-gray-500 dark:text-gray-400 mt-1">Rendering speed and memory usage metrics</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="mt-12 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<div class="flex items-center justify-between">
<p class="text-sm text-gray-600 dark:text-gray-400">
© 2024 PosterCraft Studio. Building the ultimate poster customization tool.
</p>
<div class="flex items-center space-x-4">
<a href="#" class="text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors">
<i data-feather="github" class="w-5 h-5"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors">
<i data-feather="external-link" class="w-5 h-5"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
// Initialize Feather Icons
feather.replace();
// Theme Toggle
function toggleTheme() {
document.documentElement.classList.toggle('dark');
localStorage.setItem('theme', document.documentElement.classList.contains('dark') ? 'dark' : 'light');
}
// Load saved theme
if (localStorage.getItem('theme') === 'dark' || (!localStorage.getItem('theme') && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
}
// Add hover effect to task items
document.querySelectorAll('.task-item').forEach(item => {
item.addEventListener('mouseenter', function() {
anime({
targets: this,
backgroundColor: [
{ value: 'rgba(99, 102, 241, 0.05)', duration: 200 }
],
easing: 'easeOutQuad'
});
});
item.addEventListener('mouseleave', function() {
anime({
targets: this,
backgroundColor: [
{ value: 'transparent', duration: 200 }
],
easing: 'easeOutQuad'
});
});
});
// Add animation to checkboxes
document.querySelectorAll('.checkbox-custom').forEach(checkbox => {
checkbox.addEventListener('change', function() {
if (this.checked) {
anime({
targets: this,
scale: [1, 1.2, 1],
duration: 300,
easing: 'easeInOutQuad'
});
// Animate the text line-through
const textContainer = this.parentElement.querySelector('p:first-child');
if (textContainer && !textContainer.classList.contains('line-through')) {
anime({
targets: textContainer,
opacity: [1, 0.5],
duration: 300
});
textContainer.classList.add('line-through');
}
} else {
// Remove line-through when unchecked
const textContainer = this.parentElement.querySelector('p:first-child');
if (textContainer && textContainer.classList.contains('line-through')) {
anime({
targets: textContainer,
opacity: [0.5, 1],
duration: 300
});
textContainer.classList.remove('line-through');
}
}
});
});
// Animate phase cards on load
anime({
targets: '.phase-card',
translateY: [50, 0],
opacity: [0, 1],
delay: anime.stagger(100),
duration: 800,
easing: 'easeOutExpo'
});
// Animate progress bars
setTimeout(() => {
anime({
targets: '[stroke-dashoffset]',
strokeDashoffset: [function(el) {
return el.getAttribute('stroke-dasharray');
}, function(el) {
return el.getAttribute('stroke-dashoffset');
}],
duration: 1500,
delay: 500,
easing: 'easeOutExpo'
});
}, 100);
</script>
</body>
</html> |