| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Wizard-Vibe Studio β Zero-Delay Creator</title> |
| <link rel="stylesheet" href="/wizard.css"> |
| <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' style='stop-color:%238B5CF6'/><stop offset='50%25' style='stop-color:%2306B6D4'/><stop offset='100%25' style='stop-color:%2310B981'/></linearGradient></defs><path d='M32 8 L8 48 L32 40 L56 48 Z' fill='url(%23g)' /></svg>"> |
| </head> |
| <body> |
|
|
| <div class="app-shell"> |
|
|
| |
| <div class="logo-container" id="logo-container"> |
| <svg class="wizard-hat" id="wizard-hat" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"> |
| <defs> |
| <linearGradient id="glass-grad" x1="0%" y1="0%" x2="100%" y2="100%"> |
| <stop offset="0%" style="stop-color:#8B5CF6;stop-opacity:0.8"> |
| <animate attributeName="stop-color" values="#8B5CF6;#06B6D4;#10B981;#8B5CF6" dur="8s" repeatCount="indefinite"/> |
| </stop> |
| <stop offset="50%" style="stop-color:#06B6D4;stop-opacity:0.9"> |
| <animate attributeName="stop-color" values="#06B6D4;#10B981;#8B5CF6;#06B6D4" dur="8s" repeatCount="indefinite"/> |
| </stop> |
| <stop offset="100%" style="stop-color:#10B981;stop-opacity:0.8"> |
| <animate attributeName="stop-color" values="#10B981;#8B5CF6;#06B6D4;#10B981" dur="8s" repeatCount="indefinite"/> |
| </stop> |
| </linearGradient> |
| <filter id="glow"> |
| <feGaussianBlur stdDeviation="3" result="blur"/> |
| <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge> |
| </filter> |
| </defs> |
| <path id="hat-body" d="M32 8 L8 48 L32 40 L56 48 Z" fill="url(#glass-grad)" stroke="rgba(255,255,255,0.3)" stroke-width="1.5" filter="url(#glow)"> |
| <animateTransform attributeName="transform" type="rotate" values="0 32 28;2 32 28;-1 32 28;0 32 28" dur="6s" repeatCount="indefinite"/> |
| </path> |
| <ellipse cx="32" cy="48" rx="26" ry="7" fill="none" stroke="url(#glass-grad)" stroke-width="2" opacity="0.6"> |
| <animate attributeName="rx" values="26;28;26" dur="3s" repeatCount="indefinite"/> |
| <animate attributeName="opacity" values="0.6;0.9;0.6" dur="3s" repeatCount="indefinite"/> |
| </ellipse> |
| <circle id="status-ring" cx="32" cy="32" r="30" fill="none" stroke="#8B5CF6" stroke-width="1" opacity="0"/> |
| </svg> |
| <div class="logo-label">WIZARD-VIBE</div> |
| </div> |
|
|
| |
| <div class="prompt-section"> |
| <div class="input-glass"> |
| <textarea id="prompt-input" placeholder="Describe your vibe..." rows="2" autofocus>Create a beautiful landing page for my AI startup with a hero section, features grid, and contact form. Use dark theme with purple/cyan/green gradients.</textarea> |
| <div class="input-actions"> |
| <button id="vibe-btn" class="btn-primary"> |
| <span class="btn-icon">β‘</span><span class="btn-text">Generate</span> |
| </button> |
| <div class="model-badges" id="model-badges"></div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="status-bar" id="status-bar"> |
| <div class="status-indicator" id="status-dot"></div> |
| <span class="status-text" id="status-text">Ready</span> |
| <span class="status-phase" id="status-phase"></span> |
| </div> |
|
|
| |
| <div class="main-split"> |
| <div class="panel code-panel" id="code-panel"> |
| <div class="panel-header"> |
| <span class="panel-title">Generated Code</span> |
| <button class="panel-action" id="copy-btn" title="Copy">π</button> |
| </div> |
| <pre class="code-view" id="code-view"><code id="code-content"><span class="placeholder">Your generated code will stream here...</span></code></pre> |
| </div> |
| <div class="panel preview-panel" id="preview-panel"> |
| <div class="panel-header"> |
| <span class="panel-title">Live Preview</span> |
| <span class="sandbox-badge" id="sandbox-badge">β³</span> |
| </div> |
| <div class="preview-container"> |
| <iframe id="preview-frame" class="preview-iframe" sandbox="allow-scripts allow-same-origin" src="about:blank" title="Live Preview"></iframe> |
| <div class="preview-overlay" id="preview-overlay"> |
| <div class="overlay-content"> |
| <div class="wizard-loader"></div> |
| <p>Waiting for generation...</p> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="publish-section"> |
| <div class="publish-gate" id="publish-gate"> |
| <div class="gate-status" id="gate-status"> |
| <span class="gate-icon">π</span> |
| <span class="gate-text">Sandbox validation required</span> |
| </div> |
| <button class="btn-publish" id="publish-btn" disabled> |
| <span class="btn-icon">π</span> |
| <span class="btn-text">Publish to A2A Network</span> |
| </button> |
| </div> |
| <div class="publish-result" id="publish-result" style="display:none;"> |
| <div class="result-card glass-card"> |
| <div class="result-icon">β
</div> |
| <div class="result-body"> |
| <h3>Published!</h3> |
| <p id="publish-url"></p> |
| <div class="result-links"> |
| <a id="github-link" href="#" target="_blank">GitHub Repo</a> |
| <a id="spaces-link" href="#" target="_blank">Live Site</a> |
| <a id="agent-link" href="#" target="_blank">Agent Card</a> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
|
|
| </div> |
|
|
| <script src="/wizard.js"></script> |
| </body> |
| </html> |
|
|