dryymatt commited on
Commit
5f83035
Β·
verified Β·
1 Parent(s): 2bbfae6

Upload static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +50 -60
static/index.html CHANGED
@@ -11,9 +11,9 @@
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%">
@@ -28,50 +28,43 @@
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>
57
- </button>
58
- <div class="model-badges" id="model-badges"></div>
59
- </div>
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>
@@ -81,23 +74,26 @@
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>
@@ -112,30 +108,24 @@
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">
119
- <span class="gate-icon">πŸ”’</span>
120
- <span class="gate-text">Sandbox validation required</span>
121
- </div>
122
- <button class="btn-publish" id="publish-btn" disabled>
123
- <span class="btn-icon">πŸš€</span>
124
- <span class="btn-text">Publish to A2A Network</span>
125
- </button>
126
  </div>
127
- <div class="publish-result" id="publish-result" style="display:none;">
128
- <div class="result-card glass-card">
129
- <div class="result-icon">βœ…</div>
130
- <div class="result-body">
131
- <h3>Published!</h3>
132
- <p id="publish-url"></p>
133
- <div class="result-links">
134
- <a id="github-link" href="#" target="_blank">GitHub Repo</a>
135
- <a id="spaces-link" href="#" target="_blank">Live Site</a>
136
- <a id="agent-link" href="#" target="_blank">Agent Card</a>
137
- </div>
138
- </div>
139
  </div>
140
  </div>
141
  </div>
 
11
 
12
  <div class="app-shell">
13
 
14
+ <!-- ═══ HEADER: Wizard centered, minimal ═══ -->
15
  <header class="hero-header">
16
+ <div class="wizard-center" id="wizard-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%">
 
28
  </stop>
29
  </linearGradient>
30
  <filter id="glow">
31
+ <feGaussianBlur stdDeviation="2.5" result="blur"/>
32
  <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
33
  </filter>
34
  </defs>
35
+ <path d="M32 8 L8 48 L32 40 L56 48 Z" fill="url(#glass-grad)" stroke="rgba(255,255,255,0.3)" stroke-width="1.2" filter="url(#glow)"/>
36
+ <ellipse cx="32" cy="48" rx="26" ry="7" fill="none" stroke="url(#glass-grad)" stroke-width="2" opacity="0.6"/>
 
 
 
 
 
 
37
  </svg>
 
38
  </div>
39
  <h1 class="hero-title">Build anything.</h1>
40
  <p class="hero-sub">Simple. Beautiful. Easy to use.</p>
41
  </header>
42
 
43
+ <!-- ═══ SWARM THOUGHT PROCESS β€” single sleek bar ═══ -->
44
+ <div class="thought-bar" id="thought-bar" style="display:none">
45
+ <div class="thought-pulse" id="thought-pulse"></div>
46
+ <span class="thought-text" id="thought-text">Analyzing…</span>
47
+ <span class="thought-models" id="thought-models"></span>
 
 
 
 
 
 
48
  </div>
49
 
50
+ <!-- ═══ CHAT INPUT β€” clean, dark, solid black send ═══ -->
51
+ <div class="chat-input-section">
52
+ <div class="input-row">
53
+ <textarea id="prompt-input" placeholder="Describe what you want to build…" rows="1" autofocus></textarea>
54
+ <button id="vibe-btn" class="btn-send" title="Send">
55
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
56
+ <line x1="22" y1="2" x2="11" y2="13"/>
57
+ <polygon points="22 2 15 22 11 13 2 9 22 2"/>
58
+ </svg>
59
+ </button>
60
+ </div>
61
  </div>
62
 
63
+ <!-- ═══ TAB NAVIGATION ═══ -->
64
  <nav class="tab-nav" id="tab-nav">
65
  <button class="tab-btn active" data-tab="forge">
66
  <span class="tab-icon">πŸ› οΈ</span>
67
+ <span class="tab-label">Code</span>
68
  </button>
69
  <button class="tab-btn locked" data-tab="preview" id="preview-tab-btn" disabled>
70
  <span class="tab-icon">πŸ”’</span>
 
74
 
75
  <!-- ═══ TAB PANELS ═══ -->
76
  <div class="tab-panels">
77
+ <!-- FORGE: Code View -->
78
  <div class="tab-panel active" id="panel-forge">
79
+ <div class="panel code-panel">
80
  <div class="panel-header">
81
  <span class="panel-title">Generated Code</span>
82
+ <div class="panel-actions">
83
+ <span class="char-count" id="char-count"></span>
84
+ <button class="panel-action" id="copy-btn" title="Copy">πŸ“‹</button>
85
+ </div>
86
  </div>
87
+ <pre class="code-view" id="code-view"><code id="code-content"><span class="placeholder">Your generated code will appear here…</span></code></pre>
88
  </div>
89
  </div>
90
 
91
+ <!-- PREVIEW: iframe -->
92
  <div class="tab-panel" id="panel-preview">
93
+ <div class="panel preview-panel">
94
  <div class="panel-header">
95
  <span class="panel-title">Live Preview</span>
96
+ <span class="preview-badge" id="preview-badge">⏳</span>
97
  </div>
98
  <div class="preview-container">
99
  <iframe id="preview-frame" class="preview-iframe" sandbox="allow-scripts allow-same-origin" src="about:blank" title="Live Preview"></iframe>
 
108
  </div>
109
  </div>
110
 
111
+ <!-- ═══ PUBLISH BAR β€” single sleek line ═══ -->
112
+ <div class="publish-bar" id="publish-bar">
113
+ <div class="publish-status" id="publish-status">
114
+ <span class="pub-icon" id="pub-icon">πŸ”’</span>
115
+ <span class="pub-text" id="pub-text">Validate to unlock publishing</span>
 
 
 
 
 
 
116
  </div>
117
+ <button class="btn-publish" id="publish-btn" disabled>
118
+ <span>πŸš€ Publish</span>
119
+ </button>
120
+ </div>
121
+
122
+ <!-- ═══ PUBLISH RESULT ═══ -->
123
+ <div class="publish-result" id="publish-result" style="display:none">
124
+ <div class="result-card">
125
+ <span class="result-icon">βœ…</span>
126
+ <div class="result-body">
127
+ <strong>Live</strong>
128
+ <a id="live-link" href="#" target="_blank" class="live-url"></a>
129
  </div>
130
  </div>
131
  </div>