Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Community - Quantum Music Synthesizer</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></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> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| :root { | |
| --quantum-purple: #6e45e2; | |
| --quantum-teal: #88d3ce; | |
| --quantum-pink: #ff2a6d; | |
| --quantum-blue: #05d9e8; | |
| --quantum-dark: #0c0f1f; | |
| --quantum-darker: #080a1a; | |
| } | |
| .quantum-bg { | |
| background: linear-gradient(135deg, var(--quantum-dark), var(--quantum-darker)); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .quantum-bg::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: | |
| radial-gradient(circle at 10% 20%, rgba(110, 69, 226, 0.1) 0%, transparent 20%), | |
| radial-gradient(circle at 90% 80%, rgba(136, 211, 206, 0.1) 0%, transparent 20%), | |
| radial-gradient(circle at 50% 50%, rgba(5, 217, 232, 0.05) 0%, transparent 30%); | |
| z-index: 0; | |
| } | |
| .quantum-card { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 16px; | |
| transition: all 0.3s ease; | |
| } | |
| .quantum-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 30px rgba(110, 69, 226, 0.2); | |
| border-color: rgba(110, 69, 226, 0.3); | |
| } | |
| .quantum-header { | |
| background: rgba(12, 15, 31, 0.8); | |
| backdrop-filter: blur(10px); | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); | |
| } | |
| .quantum-nav a { | |
| position: relative; | |
| padding: 8px 0; | |
| } | |
| .quantum-nav a::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| width: 0; | |
| height: 2px; | |
| background: var(--quantum-blue); | |
| transition: width 0.3s ease; | |
| } | |
| .quantum-nav a:hover::after { | |
| width: 100%; | |
| } | |
| .quantum-btn { | |
| background: linear-gradient(45deg, var(--quantum-purple), var(--quantum-teal)); | |
| border: none; | |
| border-radius: 30px; | |
| padding: 12px 20px; | |
| font-weight: 600; | |
| transition: all 0.3s ease; | |
| } | |
| .quantum-btn:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 5px 20px rgba(110, 69, 226, 0.4); | |
| } | |
| .community-post { | |
| border-left: 4px solid var(--quantum-purple); | |
| transition: all 0.3s ease; | |
| } | |
| .community-post:hover { | |
| transform: translateX(5px); | |
| box-shadow: 0 5px 15px rgba(110, 69, 226, 0.2); | |
| } | |
| .user-avatar { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background: linear-gradient(45deg, var(--quantum-purple), var(--quantum-teal)); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: bold; | |
| color: white; | |
| } | |
| .interaction-btn { | |
| transition: all 0.2s ease; | |
| } | |
| .interaction-btn:hover { | |
| transform: scale(1.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-white min-h-screen"> | |
| <div class="quantum-bg min-h-screen"> | |
| <!-- Header --> | |
| <header class="quantum-header container mx-auto py-4 px-4"> | |
| <div class="flex justify-between items-center"> | |
| <h1 class="text-3xl font-bold">Quantum Music Synthesizer</h1> | |
| <nav class="quantum-nav"> | |
| <ul class="flex space-x-8"> | |
| <li><a href="index.html" class="hover:text-purple-300 font-medium">Home</a></li> | |
| <li><a href="synthesizer.html" class="hover:text-purple-300 font-medium">Home</a></li> | |
| <li><a href="synthesizer.html" class="hover:text-purple-300 font-medium">Synthesizer</a></li> | |
| <li><a href="quantum.html" class="hover:text-purple-300 font-medium">Synthesizer</a></li> | |
| <li><a href="visualization.html" class="hover:text-purple-300 font-medium">Visualization</a></li> | |
| <li><a href="about.html" class="hover:text-purple-300 font-medium">Quantum</a></li> | |
| <li><a href="api.html" class="hover:text-purple-300 font-medium">Visualization</a></li> | |
| <li><a href="agent.html" class="hover:text-purple-300 font-medium">Agent</a></li> | |
| <li><a href="community.html" class="hover:text-purple-300 font-medium">Community</a></li> | |
| </ul> | |
| </nav> | |
| </div> | |
| </header> | |
| <!-- Community Section --> | |
| <section class="container mx-auto py-16 px-4"> | |
| <h2 class="text-4xl font-bold text-center mb-12">Quantum Music Community</h2> | |
| <div class="max-w-4xl mx-auto"> | |
| <!-- Community Stats --> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-12"> | |
| <div class="quantum-card p-6 text-center"> | |
| <div class="text-3xl font-bold text-purple-400">1,247</div> | |
| <div class="text-gray-300">Members</div> | |
| </div> | |
| <div class="quantum-card p-6 text-center"> | |
| <div class="text-3xl font-bold text-teal-400">342</div> | |
| <div class="text-gray-300">Active Today</div> | |
| <div class="quantum-card p-6 text-center"> | |
| <div class="text-3xl font-bold text-pink-400">89</div> | |
| <div class="text-gray-300">Compositions</div> | |
| <div class="quantum-card p-6 text-center"> | |
| <div class="text-3xl font-bold text-blue-400">24</div> | |
| <div class="text-gray-300">Discussions</div> | |
| </div> | |
| <!-- Community Posts --> | |
| <div class="quantum-card p-8"> | |
| <h3 class="text-2xl font-bold mb-6">Recent Discussions</h3> | |
| <div class="space-y-6"> | |
| <!-- Post 1 --> | |
| <div class="community-post quantum-card p-6"> | |
| <div class="flex items-start space-x-4"> | |
| <div class="user-avatar bg-purple-500">QM</div> | |
| <div class="flex-1"> | |
| <h4 class="text-lg font-bold mb-2">Quantum Harmony Patterns</h4> | |
| <p class="text-gray-300 mb-4">Has anyone else noticed the fractal-like patterns that emerge when using entangled qubits for chord progressions?</p> | |
| <div class="flex items-center space-x-6"> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| <span>24</span> | |
| </div> | |
| <div class="flex items-center space-x-2 text-sm"> | |
| <i data-feather="message-square" class="w-4 h-4"></i> | |
| <span>12</span> | |
| </button> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="share" class="w-4 h-4"></i> | |
| <span>5</span> | |
| </button> | |
| <span class="text-gray-400 text-sm">Posted 2 hours ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Post 2 --> | |
| <div class="community-post quantum-card p-6"> | |
| <div class="flex items-start space-x-4"> | |
| <div class="user-avatar bg-teal-500">JS</div> | |
| <div class="flex-1"> | |
| <h4 class="text-lg font-bold mb-2">Optimal Qubit Count for Melody</h4> | |
| <p class="text-gray-300 mb-4">I've been experimenting with different qubit counts and found that 6 qubits seems to produce the most harmonically rich sequences. What are your experiences?</p> | |
| <div class="flex items-center space-x-6"> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| <span>18</span> | |
| </button> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="message-square" class="w-4 h-4"></i> | |
| <span>8</span> | |
| </button> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="share" class="w-4 h-4"></i> | |
| <span>3</span> | |
| </button> | |
| <span class="text-gray-400 text-sm">Posted 5 hours ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Post 3 --> | |
| <div class="community-post quantum-card p-6"> | |
| <div class="flex items-start space-x-4"> | |
| <div class="user-avatar bg-blue-500">AR</div> | |
| <div class="flex-1"> | |
| <h4 class="text-lg font-bold mb-2">Quantum Circuit Optimization Techniques</h4> | |
| <p class="text-gray-300 mb-4">Sharing some advanced techniques for reducing gate depth while maintaining musical complexity.</p> | |
| <div class="flex items-center space-x-6"> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| <span>31</span> | |
| </button> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="message-square" class="w-4 h-4"></i> | |
| <span>15</span> | |
| </button> | |
| <button class="interaction-btn flex items-center space-x-2 text-sm"> | |
| <i data-feather="share" class="w-4 h-4"></i> | |
| <span>7</span> | |
| </button> | |
| <span class="text-gray-400 text-sm">Posted yesterday</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- New Post Form --> | |
| <div class="quantum-card p-8 mt-12"> | |
| <h3 class="text-2xl font-bold mb-6">Start a Discussion</h3> | |
| <form class="space-y-6"> | |
| <div> | |
| <label class="block mb-2 font-medium">Title</label> | |
| <input type="text" class="w-full bg-gray-800/50 rounded-lg p-3 border border-gray-700 focus:border-purple-500 focus:outline-none" placeholder="Enter discussion title..."> | |
| </div> | |
| <div> | |
| <label class="block mb-2 font-medium">Message</label> | |
| <textarea class="w-full bg-gray-800/50 rounded-lg p-3 border border-gray-700 focus:border-purple-500 focus:outline-none" rows="4" placeholder="Share your thoughts with the community..."></textarea> | |
| </div> | |
| <button type="submit" class="quantum-btn"> | |
| Post Discussion | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="container mx-auto py-8 px-4 text-center border-t border-gray-800"> | |
| <p class="text-gray-400">Powered by QuantumToolbox.jl, Amazon Braket, and Lindblad Solvers</p> | |
| </footer> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |