File size: 63,000 Bytes
3ec38b0 | 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 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quantum Nexus - Advanced Web Platform</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>
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.gradient-bg {
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
.floating {
animation: float 6s ease-in-out infinite;
}
.card-hover-effect:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.glow {
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.parallax {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.5);
}
.typewriter {
overflow: hidden;
border-right: .15em solid #3b82f6;
white-space: nowrap;
margin: 0 auto;
letter-spacing: .15em;
animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #3b82f6; }
}
</style>
</head>
<body class="font-sans bg-gray-900 text-white">
<!-- Loading Screen -->
<div id="loading" class="fixed inset-0 z-50 flex items-center justify-center gradient-bg">
<div class="text-center">
<div class="w-20 h-20 border-4 border-white border-t-transparent rounded-full animate-spin mb-4"></div>
<h1 class="text-4xl font-bold mb-2">Quantum Nexus</h1>
<p class="text-xl">Initializing quantum systems...</p>
</div>
</div>
<!-- Navigation -->
<nav class="glass-effect fixed w-full z-40">
<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">
<span class="text-2xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-600">QN</span>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#home" class="px-3 py-2 rounded-md text-sm font-medium text-white bg-blue-600">Home</a>
<a href="#features" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">Features</a>
<a href="#dashboard" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">Dashboard</a>
<a href="#analytics" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">Analytics</a>
<a href="#contact" class="px-3 py-2 rounded-md text-sm font-medium text-gray-300 hover:text-white hover:bg-gray-700">Contact</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="p-1 rounded-full text-gray-400 hover:text-white focus:outline-none">
<span class="sr-only">View notifications</span>
<i class="fas fa-bell h-6 w-6"></i>
</button>
<div class="ml-3 relative">
<div>
<button id="user-menu" class="max-w-xs flex items-center text-sm rounded-full focus:outline-none">
<img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</button>
</div>
<div id="user-dropdown" class="hidden origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button id="mobile-menu-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">Open main menu</span>
<i class="fas fa-bars h-6 w-6"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
<a href="#home" class="block px-3 py-2 rounded-md text-base font-medium text-white bg-gray-900">Home</a>
<a href="#features" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700">Features</a>
<a href="#dashboard" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700">Dashboard</a>
<a href="#analytics" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700">Analytics</a>
<a href="#contact" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700">Contact</a>
</div>
<div class="pt-4 pb-3 border-t border-gray-700">
<div class="flex items-center px-5">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="">
</div>
<div class="ml-3">
<div class="text-base font-medium text-white">Tom Cook</div>
<div class="text-sm font-medium text-gray-400">tom@example.com</div>
</div>
<button class="ml-auto flex-shrink-0 p-1 rounded-full text-gray-400 hover:text-white focus:outline-none">
<span class="sr-only">View notifications</span>
<i class="fas fa-bell h-6 w-6"></i>
</button>
</div>
<div class="mt-3 px-2 space-y-1">
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">Your Profile</a>
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">Settings</a>
<a href="#" class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">Sign out</a>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="min-h-screen flex items-center justify-center gradient-bg pt-16">
<div class="container mx-auto px-6 text-center">
<div class="floating mb-8">
<img src="https://cdn-icons-png.flaticon.com/512/2103/2103633.png" alt="Quantum Nexus Logo" class="w-32 h-32 mx-auto">
</div>
<h1 class="text-5xl md:text-7xl font-bold mb-6">
<span class="typewriter">Quantum Nexus Platform</span>
</h1>
<p class="text-xl md:text-2xl mb-12 max-w-3xl mx-auto glass-effect p-6 rounded-xl">
The most advanced quantum computing interface with real-time data visualization, AI integration, and multi-dimensional analytics.
</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="px-8 py-4 bg-white text-gray-900 font-bold rounded-full hover:bg-gray-200 transition duration-300 transform hover:scale-105">
<i class="fas fa-rocket mr-2"></i> Launch Dashboard
</button>
<button class="px-8 py-4 border-2 border-white text-white font-bold rounded-full hover:bg-white hover:text-gray-900 transition duration-300 transform hover:scale-105">
<i class="fas fa-book mr-2"></i> Documentation
</button>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 bg-gray-800">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-20">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-600">Advanced Features</span>
</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10">
<!-- Feature 1 -->
<div class="glass-effect p-8 rounded-xl transition duration-500 card-hover-effect">
<div class="text-blue-400 mb-4">
<i class="fas fa-atom text-5xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Quantum Processing</h3>
<p class="text-gray-300 mb-6">Harness the power of quantum computing with our proprietary algorithms that solve complex problems in seconds.</p>
<div class="flex items-center text-blue-400">
<span>Learn more</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 2 -->
<div class="glass-effect p-8 rounded-xl transition duration-500 card-hover-effect">
<div class="text-purple-400 mb-4">
<i class="fas fa-brain text-5xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">AI Integration</h3>
<p class="text-gray-300 mb-6">Our neural networks learn and adapt to your workflow, providing intelligent suggestions and automation.</p>
<div class="flex items-center text-purple-400">
<span>Learn more</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 3 -->
<div class="glass-effect p-8 rounded-xl transition duration-500 card-hover-effect">
<div class="text-green-400 mb-4">
<i class="fas fa-chart-network text-5xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Multi-Dimensional Analytics</h3>
<p class="text-gray-300 mb-6">Visualize data across multiple dimensions with our interactive 3D graphing tools and real-time rendering.</p>
<div class="flex items-center text-green-400">
<span>Learn more</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 4 -->
<div class="glass-effect p-8 rounded-xl transition duration-500 card-hover-effect">
<div class="text-yellow-400 mb-4">
<i class="fas fa-shield-alt text-5xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Quantum Encryption</h3>
<p class="text-gray-300 mb-6">Unbreakable security protocols powered by quantum key distribution and post-quantum cryptography.</p>
<div class="flex items-center text-yellow-400">
<span>Learn more</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 5 -->
<div class="glass-effect p-8 rounded-xl transition duration-500 card-hover-effect">
<div class="text-red-400 mb-4">
<i class="fas fa-project-diagram text-5xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Distributed Computing</h3>
<p class="text-gray-300 mb-6">Leverage our global network of quantum processors for unparalleled computational power.</p>
<div class="flex items-center text-red-400">
<span>Learn more</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 6 -->
<div class="glass-effect p-8 rounded-xl transition duration-500 card-hover-effect">
<div class="text-pink-400 mb-4">
<i class="fas fa-vr-cardboard text-5xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Immersive Visualization</h3>
<p class="text-gray-300 mb-6">Explore your data in virtual and augmented reality environments for unprecedented insights.</p>
<div class="flex items-center text-pink-400">
<span>Learn more</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Dashboard Preview -->
<section id="dashboard" class="py-20 bg-gray-900">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-20">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-600">Interactive Dashboard</span>
</h2>
<div class="glass-effect rounded-xl overflow-hidden">
<!-- Dashboard Tabs -->
<div class="flex border-b border-gray-700">
<button class="tab-button active px-6 py-4 text-white border-b-2 border-blue-500 font-medium" data-tab="quantum">
<i class="fas fa-atom mr-2"></i> Quantum Console
</button>
<button class="tab-button px-6 py-4 text-gray-400 hover:text-white font-medium" data-tab="analytics">
<i class="fas fa-chart-bar mr-2"></i> Analytics
</button>
<button class="tab-button px-6 py-4 text-gray-400 hover:text-white font-medium" data-tab="visualization">
<i class="fas fa-vr-cardboard mr-2"></i> 3D Visualization
</button>
<button class="tab-button px-6 py-4 text-gray-400 hover:text-white font-medium" data-tab="settings">
<i class="fas fa-cog mr-2"></i> Settings
</button>
</div>
<!-- Tab Content -->
<div class="p-6">
<!-- Quantum Console Tab -->
<div id="quantum-tab" class="tab-content active">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<div class="bg-gray-800 rounded-lg p-4 h-full">
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-bold">Quantum Circuit Builder</h3>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-blue-600 rounded text-sm">New</button>
<button class="px-3 py-1 bg-gray-700 rounded text-sm">Save</button>
<button class="px-3 py-1 bg-gray-700 rounded text-sm">Run</button>
</div>
</div>
<div class="bg-black rounded p-4 h-64 mb-4 overflow-auto custom-scrollbar">
<pre class="text-green-400 font-mono text-sm">
# Quantum Fourier Transform Circuit
qc = QuantumCircuit(4)
for qubit in range(4):
qc.h(qubit)
for qubit in range(4):
for other_qubit in range(qubit+1, 4):
qc.cp(np.pi/2**(other_qubit-qubit), qubit, other_qubit)
for qubit in range(4//2):
qc.swap(qubit, 4-qubit-1)
qc.measure_all()
</pre>
</div>
<div class="flex justify-between text-sm text-gray-400">
<span>Qubits: 4</span>
<span>Gates: 12</span>
<span>Depth: 6</span>
</div>
</div>
</div>
<div>
<div class="bg-gray-800 rounded-lg p-4 h-full">
<h3 class="text-xl font-bold mb-4">Execution Results</h3>
<div class="bg-black rounded p-4 h-48 mb-4 overflow-auto custom-scrollbar">
<pre class="text-purple-400 font-mono text-sm">
{
"status": "COMPLETED",
"execution_time": "0.045s",
"qubit_count": 4,
"shots": 1024,
"results": {
"0000": 256,
"0001": 256,
"0010": 256,
"0011": 256
},
"fidelity": 0.9987
}
</pre>
</div>
<div class="h-32">
<canvas id="quantumResultsChart"></canvas>
</div>
</div>
</div>
</div>
</div>
<!-- Analytics Tab -->
<div id="analytics-tab" class="tab-content hidden">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<div class="bg-gray-800 rounded-lg p-4">
<h3 class="text-xl font-bold mb-4">Performance Metrics</h3>
<div class="h-64">
<canvas id="performanceChart"></canvas>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-4">
<h3 class="text-xl font-bold mb-4">Resource Utilization</h3>
<div class="h-64">
<canvas id="resourceChart"></canvas>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-4 lg:col-span-2">
<h3 class="text-xl font-bold mb-4">Recent Activity</h3>
<div class="overflow-auto custom-scrollbar max-h-64">
<table class="min-w-full divide-y divide-gray-700">
<thead>
<tr>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Time</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">User</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Action</th>
<th class="px-4 py-3 text-left text-xs font-medium text-gray-400 uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-700">
<tr>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">2 mins ago</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-white">admin@quantumnexus.com</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">Ran QFT circuit</td>
<td class="px-4 py-3 whitespace-nowrap">
<span class="px-2 py-1 text-xs rounded-full bg-green-900 text-green-300">Success</span>
</td>
</tr>
<tr>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">15 mins ago</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-white">research@quantumnexus.com</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">Optimized Grover's algorithm</td>
<td class="px-4 py-3 whitespace-nowrap">
<span class="px-2 py-1 text-xs rounded-full bg-green-900 text-green-300">Success</span>
</td>
</tr>
<tr>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">32 mins ago</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-white">dev@quantumnexus.com</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">Deployed new quantum gate</td>
<td class="px-4 py-3 whitespace-nowrap">
<span class="px-2 py-1 text-xs rounded-full bg-yellow-900 text-yellow-300">Pending</span>
</td>
</tr>
<tr>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">1 hour ago</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-white">admin@quantumnexus.com</td>
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-300">System maintenance</td>
<td class="px-4 py-3 whitespace-nowrap">
<span class="px-2 py-1 text-xs rounded-full bg-blue-900 text-blue-300">In Progress</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- 3D Visualization Tab -->
<div id="visualization-tab" class="tab-content hidden">
<div class="bg-gray-800 rounded-lg p-4 h-96 flex items-center justify-center">
<div class="text-center">
<i class="fas fa-vr-cardboard text-6xl text-purple-400 mb-4"></i>
<h3 class="text-2xl font-bold mb-2">3D Quantum State Visualization</h3>
<p class="text-gray-400 mb-6">Connect your VR headset or use mouse to rotate the 3D model</p>
<button class="px-6 py-3 bg-purple-600 rounded-lg hover:bg-purple-700 transition">
<i class="fas fa-play mr-2"></i> Launch Visualizer
</button>
</div>
</div>
</div>
<!-- Settings Tab -->
<div id="settings-tab" class="tab-content hidden">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<div class="bg-gray-800 rounded-lg p-6">
<h3 class="text-xl font-bold mb-6">Account Settings</h3>
<div class="space-y-6">
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">Username</label>
<input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500" value="quantum_researcher">
</div>
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">Email</label>
<input type="email" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500" value="researcher@quantumnexus.com">
</div>
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">API Key</label>
<div class="flex">
<input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-l-lg px-4 py-2 focus:outline-none" value="qk_5f8d3e2c1a9b7" readonly>
<button class="bg-blue-600 px-4 rounded-r-lg hover:bg-blue-700">
<i class="fas fa-copy"></i>
</button>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">Theme</label>
<div class="flex space-x-4">
<button class="w-10 h-10 rounded-full bg-gray-900 border-2 border-blue-500"></button>
<button class="w-10 h-10 rounded-full bg-gray-800 border border-gray-600"></button>
<button class="w-10 h-10 rounded-full bg-gray-700 border border-gray-600"></button>
<button class="w-10 h-10 rounded-full bg-blue-900 border border-gray-600"></button>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="bg-gray-800 rounded-lg p-6 h-full">
<h3 class="text-xl font-bold mb-6">Security</h3>
<div class="space-y-6">
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">Two-Factor Authentication</label>
<div class="flex items-center justify-between">
<span class="text-sm">Enabled</span>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-gray-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-600"></div>
</label>
</div>
</div>
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">Password</label>
<button class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 text-left hover:bg-gray-600 transition">
Change Password
</button>
</div>
<div>
<label class="block text-sm font-medium text-gray-400 mb-2">Active Sessions</label>
<div class="bg-gray-700 rounded-lg p-3">
<div class="flex items-center justify-between mb-2">
<div class="flex items-center">
<i class="fas fa-desktop mr-2 text-blue-400"></i>
<span>Chrome • Windows</span>
</div>
<span class="text-xs text-gray-400">Now</span>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<i class="fas fa-mobile-alt mr-2 text-purple-400"></i>
<span>Safari • iOS</span>
</div>
<span class="text-xs text-gray-400">2 hours ago</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Analytics Section -->
<section id="analytics" class="py-20 bg-gray-800">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-20">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-600">Quantum Analytics</span>
</h2>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Real-time Stats -->
<div class="glass-effect p-6 rounded-xl">
<h3 class="text-2xl font-bold mb-6">System Status</h3>
<div class="space-y-4">
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Quantum Processor</span>
<span class="text-sm font-medium">78%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-blue-500 h-2.5 rounded-full" style="width: 78%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Memory</span>
<span class="text-sm font-medium">64%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-purple-500 h-2.5 rounded-full" style="width: 64%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-1">
<span class="text-sm font-medium">Network</span>
<span class="text-sm font-medium">92%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div class="bg-green-500 h-2.5 rounded-full" style="width: 92%"></div>
</div>
</div>
</div>
</div>
<!-- Performance Metrics -->
<div class="glass-effect p-6 rounded-xl">
<h3 class="text-2xl font-bold mb-6">Performance Metrics</h3>
<div class="grid grid-cols-2 gap-4">
<div class="bg-gray-700 p-4 rounded-lg text-center">
<div class="text-3xl font-bold text-blue-400 mb-1">4.7</div>
<div class="text-xs text-gray-400">Qubit Coherence (ms)</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg text-center">
<div class="text-3xl font-bold text-purple-400 mb-1">99.8%</div>
<div class="text-xs text-gray-400">Gate Fidelity</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg text-center">
<div class="text-3xl font-bold text-green-400 mb-1">1.2M</div>
<div class="text-xs text-gray-400">Operations/sec</div>
</div>
<div class="bg-gray-700 p-4 rounded-lg text-center">
<div class="text-3xl font-bold text-yellow-400 mb-1">0.05</div>
<div class="text-xs text-gray-400">Error Rate</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="glass-effect p-6 rounded-xl">
<h3 class="text-2xl font-bold mb-6">Recent Activity</h3>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-blue-500 rounded-full p-2 mr-3">
<i class="fas fa-bolt text-white text-sm"></i>
</div>
<div>
<p class="font-medium">Quantum circuit optimized</p>
<p class="text-sm text-gray-400">Reduced gate count by 42%</p>
<p class="text-xs text-gray-500 mt-1">2 minutes ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-500 rounded-full p-2 mr-3">
<i class="fas fa-cloud-upload-alt text-white text-sm"></i>
</div>
<div>
<p class="font-medium">New dataset uploaded</p>
<p class="text-sm text-gray-400">Chemical compounds (1.2GB)</p>
<p class="text-xs text-gray-500 mt-1">15 minutes ago</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-500 rounded-full p-2 mr-3">
<i class="fas fa-check-circle text-white text-sm"></i>
</div>
<div>
<p class="font-medium">Job completed</p>
<p class="text-sm text-gray-400">Protein folding simulation</p>
<p class="text-xs text-gray-500 mt-1">1 hour ago</p>
</div>
</div>
</div>
</div>
</div>
<!-- Advanced Analytics -->
<div class="mt-12 glass-effect p-6 rounded-xl">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold">Advanced Quantum Analytics</h3>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-blue-600 rounded text-sm">1D</button>
<button class="px-3 py-1 bg-gray-700 rounded text-sm">2D</button>
<button class="px-3 py-1 bg-gray-700 rounded text-sm">3D</button>
</div>
</div>
<div class="h-96">
<canvas id="advancedAnalyticsChart"></canvas>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20 bg-gray-900">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-20">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-600">Contact Our Quantum Team</span>
</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
<div>
<h3 class="text-2xl font-bold mb-6">Get in Touch</h3>
<p class="text-gray-400 mb-8">Our quantum computing experts are ready to help you with any questions about our platform, integration, or potential applications for your business.</p>
<div class="space-y-6">
<div class="flex items-start">
<div class="bg-blue-500 rounded-full p-3 mr-4">
<i class="fas fa-map-marker-alt text-white"></i>
</div>
<div>
<h4 class="font-bold mb-1">Headquarters</h4>
<p class="text-gray-400">Quantum Nexus Tower<br>42 Quantum Drive<br>San Francisco, CA 94107</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-purple-500 rounded-full p-3 mr-4">
<i class="fas fa-phone-alt text-white"></i>
</div>
<div>
<h4 class="font-bold mb-1">Contact</h4>
<p class="text-gray-400">+1 (555) QUB-IT42<br>support@quantumnexus.com</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-green-500 rounded-full p-3 mr-4">
<i class="fas fa-clock text-white"></i>
</div>
<div>
<h4 class="font-bold mb-1">Hours</h4>
<p class="text-gray-400">Monday - Friday: 9am - 9pm EST<br>Weekends: 10am - 6pm EST</p>
</div>
</div>
</div>
<div class="mt-8 flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-blue-600 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-purple-600 transition">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-pink-600 transition">
<i class="fab fa-github"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-red-600 transition">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div class="glass-effect p-8 rounded-xl">
<h3 class="text-2xl font-bold mb-6">Send Us a Message</h3>
<form id="contactForm">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label for="name" class="block text-sm font-medium text-gray-400 mb-2">Name</label>
<input type="text" id="name" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-400 mb-2">Email</label>
<input type="email" id="email" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
</div>
</div>
<div class="mb-6">
<label for="subject" class="block text-sm font-medium text-gray-400 mb-2">Subject</label>
<input type="text" id="subject" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500" required>
</div>
<div class="mb-6">
<label for="message" class="block text-sm font-medium text-gray-400 mb-2">Message</label>
<textarea id="message" rows="5" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-blue-500" required></textarea>
</div>
<div class="flex items-center mb-6">
<input id="agree" type="checkbox" class="w-4 h-4 bg-gray-700 border-gray-600 rounded focus:ring-blue-500" required>
<label for="agree" class="ml-2 text-sm text-gray-400">I agree to the <a href="#" class="text-blue-400 hover:underline">privacy policy</a></label>
</div>
<button type="submit" class="w-full py-3 px-6 bg-gradient-to-r from-blue-500 to-purple-600 rounded-lg font-bold hover:opacity-90 transition">
Send Quantum Message
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 border-t border-gray-800">
<div class="container mx-auto px-6 py-12">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">Quantum Nexus</h3>
<p class="text-gray-400">The most advanced quantum computing platform for research, development, and production applications.</p>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Platform</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">API Reference</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Case Studies</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Research Papers</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Press</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 Quantum Nexus. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">Terms</a>
<a href="#" class="text-gray-400 hover:text-white transition">Privacy</a>
<a href="#" class="text-gray-400 hover:text-white transition">Cookies</a>
</div>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button id="backToTop" class="fixed bottom-8 right-8 w-12 h-12 bg-blue-600 rounded-full flex items-center justify-center text-white shadow-lg hover:bg-blue-700 transition opacity-0 invisible">
<i class="fas fa-arrow-up"></i>
</button>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
// Loading screen
window.addEventListener('load', function() {
setTimeout(function() {
document.getElementById('loading').classList.add('opacity-0', 'invisible');
setTimeout(function() {
document.getElementById('loading').style.display = 'none';
}, 500);
}, 1500);
});
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// User dropdown
document.getElementById('user-menu').addEventListener('click', function() {
const dropdown = document.getElementById('user-dropdown');
dropdown.classList.toggle('hidden');
});
// Tab functionality
const tabButtons = document.querySelectorAll('.tab-button');
const tabContents = document.querySelectorAll('.tab-content');
tabButtons.forEach(button => {
button.addEventListener('click', () => {
// Remove active class from all buttons and contents
tabButtons.forEach(btn => btn.classList.remove('active', 'text-white', 'border-blue-500'));
tabButtons.forEach(btn => btn.classList.add('text-gray-400'));
tabContents.forEach(content => content.classList.add('hidden'));
tabContents.forEach(content => content.classList.remove('active'));
// Add active class to clicked button
button.classList.add('active', 'text-white', 'border-blue-500');
button.classList.remove('text-gray-400');
// Show corresponding content
const tabId = button.getAttribute('data-tab') + '-tab';
document.getElementById(tabId).classList.remove('hidden');
document.getElementById(tabId).classList.add('active');
});
});
// Contact form submission
document.getElementById('contactForm').addEventListener('submit', function(e) {
e.preventDefault();
alert('Thank you for your message! Our quantum team will get back to you soon.');
this.reset();
});
// Back to top button
const backToTopButton = document.getElementById('backToTop');
window.addEventListener('scroll', function() {
if (window.pageYOffset > 300) {
backToTopButton.classList.remove('opacity-0', 'invisible');
} else {
backToTopButton.classList.add('opacity-0', 'invisible');
}
});
backToTopButton.addEventListener('click', function() {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
// Smooth scrolling for navigation
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Charts
// Quantum Results Chart
const quantumResultsCtx = document.getElementById('quantumResultsChart').getContext('2d');
const quantumResultsChart = new Chart(quantumResultsCtx, {
type: 'bar',
data: {
labels: ['0000', '0001', '0010', '0011'],
datasets: [{
label: 'Measurement Results',
data: [256, 256, 256, 256],
backgroundColor: [
'rgba(59, 130, 246, 0.7)',
'rgba(124, 58, 237, 0.7)',
'rgba(16, 185, 129, 0.7)',
'rgba(245, 158, 11, 0.7)'
],
borderColor: [
'rgba(59, 130, 246, 1)',
'rgba(124, 58, 237, 1)',
'rgba(16, 185, 129, 1)',
'rgba(245, 158, 11, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
display: false
}
},
scales: {
y: {
beginAtZero: true,
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
},
x: {
grid: {
display: false
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
}
}
});
// Performance Chart
const performanceCtx = document.getElementById('performanceChart').getContext('2d');
const performanceChart = new Chart(performanceCtx, {
type: 'line',
data: {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
datasets: [
{
label: 'Gate Fidelity',
data: [98.5, 98.7, 99.1, 99.3, 99.5, 99.6, 99.8],
borderColor: 'rgba(59, 130, 246, 1)',
backgroundColor: 'rgba(59, 130, 246, 0.1)',
tension: 0.4,
fill: true
},
{
label: 'Error Rate',
data: [1.8, 1.6, 1.2, 1.0, 0.8, 0.6, 0.4],
borderColor: 'rgba(239, 68, 68, 1)',
backgroundColor: 'rgba(239, 68, 68, 0.1)',
tension: 0.4,
fill: true
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'top',
labels: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
},
scales: {
y: {
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
},
x: {
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
}
}
});
// Resource Chart
const resourceCtx = document.getElementById('resourceChart').getContext('2d');
const resourceChart = new Chart(resourceCtx, {
type: 'doughnut',
data: {
labels: ['Quantum Processor', 'Memory', 'Network', 'Storage'],
datasets: [{
data: [45, 25, 15, 15],
backgroundColor: [
'rgba(59, 130, 246, 0.7)',
'rgba(124, 58, 237, 0.7)',
'rgba(16, 185, 129, 0.7)',
'rgba(245, 158, 11, 0.7)'
],
borderColor: [
'rgba(59, 130, 246, 1)',
'rgba(124, 58, 237, 1)',
'rgba(16, 185, 129, 1)',
'rgba(245, 158, 11, 1)'
],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'right',
labels: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
}
}
});
// Advanced Analytics Chart
const advancedCtx = document.getElementById('advancedAnalyticsChart').getContext('2d');
const advancedChart = new Chart(advancedCtx, {
type: 'scatter',
data: {
datasets: [
{
label: 'Quantum State 1',
data: Array.from({length: 50}, () => ({
x: Math.random() * 10 - 5,
y: Math.random() * 10 - 5,
r: Math.random() * 10 + 5
})),
backgroundColor: 'rgba(59, 130, 246, 0.7)'
},
{
label: 'Quantum State 2',
data: Array.from({length: 50}, () => ({
x: Math.random() * 10 - 5,
y: Math.random() * 10 - 5,
r: Math.random() * 10 + 5
})),
backgroundColor: 'rgba(124, 58, 237, 0.7)'
},
{
label: 'Quantum State 3',
data: Array.from({length: 50}, () => ({
x: Math.random() * 10 - 5,
y: Math.random() * 10 - 5,
r: Math.random() * 10 + 5
})),
backgroundColor: 'rgba(16, 185, 129, 0.7)'
}
]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'top',
labels: {
color: 'rgba(255, 255, 255, 0.7)'
}
},
title: {
display: true,
text: 'Quantum State Distribution',
color: 'rgba(255, 255, 255, 0.9)'
}
},
scales: {
y: {
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
},
x: {
grid: {
color: 'rgba(255, 255, 255, 0.1)'
},
ticks: {
color: 'rgba(255, 255, 255, 0.7)'
}
}
}
}
});
// Animate elements when they come into view
const animateOnScroll = function() {
const elements = document.querySelectorAll('.card-hover-effect, .floating');
elements.forEach(element => {
const elementPosition = element.getBoundingClientRect().top;
const screenPosition = window.innerHeight / 1.3;
if (elementPosition < screenPosition) {
element.style.opacity = '1';
element.style.transform = 'translateY(0)';
}
});
};
// Set initial state for animation
document.querySelectorAll('.card-hover-effect, .floating').forEach(element => {
element.style.opacity = '0';
element.style.transform = 'translateY(20px)';
element.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
});
window.addEventListener('scroll', animateOnScroll);
window.addEventListener('load', animateOnScroll);
</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=TJuato/teste" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |