dryymatt commited on
Commit
28327d7
Β·
verified Β·
1 Parent(s): 0e1554a

Upload static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +79 -56
static/index.html CHANGED
@@ -3,50 +3,54 @@
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>
@@ -56,40 +60,59 @@
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">
@@ -121,4 +144,4 @@
121
 
122
  <script src="./wizard.js"></script>
123
  </body>
124
- </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Omni-Vibe Studio β€” Build Anything</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
+ <!-- ═══ HEADER: Wizard centered + Hero ═══ -->
15
+ <header class="hero-header">
16
+ <div class="logo-center" id="logo-center">
17
+ <svg class="wizard-hat" id="wizard-hat" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
18
+ <defs>
19
+ <linearGradient id="glass-grad" x1="0%" y1="0%" x2="100%" y2="100%">
20
+ <stop offset="0%" style="stop-color:#8B5CF6;stop-opacity:0.8">
21
+ <animate attributeName="stop-color" values="#8B5CF6;#06B6D4;#10B981;#8B5CF6" dur="8s" repeatCount="indefinite"/>
22
+ </stop>
23
+ <stop offset="50%" style="stop-color:#06B6D4;stop-opacity:0.9">
24
+ <animate attributeName="stop-color" values="#06B6D4;#10B981;#8B5CF6;#06B6D4" dur="8s" repeatCount="indefinite"/>
25
+ </stop>
26
+ <stop offset="100%" style="stop-color:#10B981;stop-opacity:0.8">
27
+ <animate attributeName="stop-color" values="#10B981;#8B5CF6;#06B6D4;#10B981" dur="8s" repeatCount="indefinite"/>
28
+ </stop>
29
+ </linearGradient>
30
+ <filter id="glow">
31
+ <feGaussianBlur stdDeviation="3" result="blur"/>
32
+ <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
33
+ </filter>
34
+ </defs>
35
+ <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)">
36
+ <animateTransform attributeName="transform" type="rotate" values="0 32 28;2 32 28;-1 32 28;0 32 28" dur="6s" repeatCount="indefinite"/>
37
+ </path>
38
+ <ellipse cx="32" cy="48" rx="26" ry="7" fill="none" stroke="url(#glass-grad)" stroke-width="2" opacity="0.6">
39
+ <animate attributeName="rx" values="26;28;26" dur="3s" repeatCount="indefinite"/>
40
+ <animate attributeName="opacity" values="0.6;0.9;0.6" dur="3s" repeatCount="indefinite"/>
41
+ </ellipse>
42
+ <circle id="status-ring" cx="32" cy="32" r="30" fill="none" stroke="#8B5CF6" stroke-width="1" opacity="0"/>
43
+ </svg>
44
+ <div class="logo-label">OMNI-VIBE</div>
45
+ </div>
46
+ <h1 class="hero-title">Build anything.</h1>
47
+ <p class="hero-sub">Simple. Beautiful. Easy to use.</p>
48
+ </header>
49
 
50
+ <!-- ═══ PROMPT INPUT ��══ -->
51
  <div class="prompt-section">
52
  <div class="input-glass">
53
+ <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>
54
  <div class="input-actions">
55
  <button id="vibe-btn" class="btn-primary">
56
  <span class="btn-icon">⚑</span><span class="btn-text">Generate</span>
 
60
  </div>
61
  </div>
62
 
63
+ <!-- ═══ STATUS BAR ═══ -->
64
  <div class="status-bar" id="status-bar">
65
  <div class="status-indicator" id="status-dot"></div>
66
  <span class="status-text" id="status-text">Ready</span>
67
  <span class="status-phase" id="status-phase"></span>
68
  </div>
69
 
70
+ <!-- ═══ TAB NAV ═══ -->
71
+ <nav class="tab-nav" id="tab-nav">
72
+ <button class="tab-btn active" data-tab="forge">
73
+ <span class="tab-icon">πŸ› οΈ</span>
74
+ <span class="tab-label">Forge</span>
75
+ </button>
76
+ <button class="tab-btn locked" data-tab="preview" id="preview-tab-btn" disabled>
77
+ <span class="tab-icon">πŸ”’</span>
78
+ <span class="tab-label">Preview</span>
79
+ </button>
80
+ </nav>
81
+
82
+ <!-- ═══ TAB PANELS ═══ -->
83
+ <div class="tab-panels">
84
+ <!-- FORGE TAB -->
85
+ <div class="tab-panel active" id="panel-forge">
86
+ <div class="panel code-panel" id="code-panel">
87
+ <div class="panel-header">
88
+ <span class="panel-title">Generated Code</span>
89
+ <button class="panel-action" id="copy-btn" title="Copy">πŸ“‹</button>
90
+ </div>
91
+ <pre class="code-view" id="code-view"><code id="code-content"><span class="placeholder">Your generated code will stream here…</span></code></pre>
92
  </div>
 
93
  </div>
94
+
95
+ <!-- PREVIEW TAB β€” hidden until build -->
96
+ <div class="tab-panel" id="panel-preview">
97
+ <div class="panel preview-panel" id="preview-panel">
98
+ <div class="panel-header">
99
+ <span class="panel-title">Live Preview</span>
100
+ <span class="sandbox-badge" id="sandbox-badge">⏳</span>
101
+ </div>
102
+ <div class="preview-container">
103
+ <iframe id="preview-frame" class="preview-iframe" sandbox="allow-scripts allow-same-origin" src="about:blank" title="Live Preview"></iframe>
104
+ <div class="preview-overlay" id="preview-overlay">
105
+ <div class="overlay-content">
106
+ <div class="wizard-loader"></div>
107
+ <p>Waiting for generation…</p>
108
+ </div>
109
  </div>
110
  </div>
111
  </div>
112
  </div>
113
  </div>
114
 
115
+ <!-- ═══ PUBLISH GATE ═══ -->
116
  <div class="publish-section">
117
  <div class="publish-gate" id="publish-gate">
118
  <div class="gate-status" id="gate-status">
 
144
 
145
  <script src="./wizard.js"></script>
146
  </body>
147
+ </html>