dryymatt commited on
Commit
746ce75
Β·
verified Β·
1 Parent(s): e256389

πŸ§™β€β™‚οΈ Wizard-Vibe Studio: static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +124 -0
static/index.html ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Wizard-Vibe Studio β€” Zero-Delay Creator</title>
7
+ <link rel="stylesheet" href="/wizard.css">
8
+ <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>">
9
+ </head>
10
+ <body>
11
+
12
+ <div class="app-shell">
13
+
14
+ <!-- πŸ§™β€β™‚οΈ Liquid Glass Wizard Hat Logo β€” Morphing SVG -->
15
+ <div class="logo-container" id="logo-container">
16
+ <svg class="wizard-hat" id="wizard-hat" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
17
+ <defs>
18
+ <linearGradient id="glass-grad" x1="0%" y1="0%" x2="100%" y2="100%">
19
+ <stop offset="0%" style="stop-color:#8B5CF6;stop-opacity:0.8">
20
+ <animate attributeName="stop-color" values="#8B5CF6;#06B6D4;#10B981;#8B5CF6" dur="8s" repeatCount="indefinite"/>
21
+ </stop>
22
+ <stop offset="50%" style="stop-color:#06B6D4;stop-opacity:0.9">
23
+ <animate attributeName="stop-color" values="#06B6D4;#10B981;#8B5CF6;#06B6D4" dur="8s" repeatCount="indefinite"/>
24
+ </stop>
25
+ <stop offset="100%" style="stop-color:#10B981;stop-opacity:0.8">
26
+ <animate attributeName="stop-color" values="#10B981;#8B5CF6;#06B6D4;#10B981" dur="8s" repeatCount="indefinite"/>
27
+ </stop>
28
+ </linearGradient>
29
+ <filter id="glow">
30
+ <feGaussianBlur stdDeviation="3" result="blur"/>
31
+ <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
32
+ </filter>
33
+ </defs>
34
+ <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)">
35
+ <animateTransform attributeName="transform" type="rotate" values="0 32 28;2 32 28;-1 32 28;0 32 28" dur="6s" repeatCount="indefinite"/>
36
+ </path>
37
+ <ellipse cx="32" cy="48" rx="26" ry="7" fill="none" stroke="url(#glass-grad)" stroke-width="2" opacity="0.6">
38
+ <animate attributeName="rx" values="26;28;26" dur="3s" repeatCount="indefinite"/>
39
+ <animate attributeName="opacity" values="0.6;0.9;0.6" dur="3s" repeatCount="indefinite"/>
40
+ </ellipse>
41
+ <circle id="status-ring" cx="32" cy="32" r="30" fill="none" stroke="#8B5CF6" stroke-width="1" opacity="0"/>
42
+ </svg>
43
+ <div class="logo-label">WIZARD-VIBE</div>
44
+ </div>
45
+
46
+ <!-- Prompt Input -->
47
+ <div class="prompt-section">
48
+ <div class="input-glass">
49
+ <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>
50
+ <div class="input-actions">
51
+ <button id="vibe-btn" class="btn-primary">
52
+ <span class="btn-icon">⚑</span><span class="btn-text">Generate</span>
53
+ </button>
54
+ <div class="model-badges" id="model-badges"></div>
55
+ </div>
56
+ </div>
57
+ </div>
58
+
59
+ <!-- Status Bar -->
60
+ <div class="status-bar" id="status-bar">
61
+ <div class="status-indicator" id="status-dot"></div>
62
+ <span class="status-text" id="status-text">Ready</span>
63
+ <span class="status-phase" id="status-phase"></span>
64
+ </div>
65
+
66
+ <!-- Main Split: Code + Preview -->
67
+ <div class="main-split">
68
+ <div class="panel code-panel" id="code-panel">
69
+ <div class="panel-header">
70
+ <span class="panel-title">Generated Code</span>
71
+ <button class="panel-action" id="copy-btn" title="Copy">πŸ“‹</button>
72
+ </div>
73
+ <pre class="code-view" id="code-view"><code id="code-content"><span class="placeholder">Your generated code will stream here...</span></code></pre>
74
+ </div>
75
+ <div class="panel preview-panel" id="preview-panel">
76
+ <div class="panel-header">
77
+ <span class="panel-title">Live Preview</span>
78
+ <span class="sandbox-badge" id="sandbox-badge">⏳</span>
79
+ </div>
80
+ <div class="preview-container">
81
+ <iframe id="preview-frame" class="preview-iframe" sandbox="allow-scripts allow-same-origin" src="about:blank" title="Live Preview"></iframe>
82
+ <div class="preview-overlay" id="preview-overlay">
83
+ <div class="overlay-content">
84
+ <div class="wizard-loader"></div>
85
+ <p>Waiting for generation...</p>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </div>
91
+
92
+ <!-- Publish Gate -->
93
+ <div class="publish-section">
94
+ <div class="publish-gate" id="publish-gate">
95
+ <div class="gate-status" id="gate-status">
96
+ <span class="gate-icon">πŸ”’</span>
97
+ <span class="gate-text">Sandbox validation required</span>
98
+ </div>
99
+ <button class="btn-publish" id="publish-btn" disabled>
100
+ <span class="btn-icon">πŸš€</span>
101
+ <span class="btn-text">Publish to A2A Network</span>
102
+ </button>
103
+ </div>
104
+ <div class="publish-result" id="publish-result" style="display:none;">
105
+ <div class="result-card glass-card">
106
+ <div class="result-icon">βœ…</div>
107
+ <div class="result-body">
108
+ <h3>Published!</h3>
109
+ <p id="publish-url"></p>
110
+ <div class="result-links">
111
+ <a id="github-link" href="#" target="_blank">GitHub Repo</a>
112
+ <a id="spaces-link" href="#" target="_blank">Live Site</a>
113
+ <a id="agent-link" href="#" target="_blank">Agent Card</a>
114
+ </div>
115
+ </div>
116
+ </div>
117
+ </div>
118
+ </div>
119
+
120
+ </div>
121
+
122
+ <script src="/wizard.js"></script>
123
+ </body>
124
+ </html>