-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
331 lines (295 loc) · 9.69 KB
/
index.html
File metadata and controls
331 lines (295 loc) · 9.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Steve — Agentic Builder</title>
<style>
:root {
--bg: #050505;
--grid: rgba(255,255,255,0.07);
--panel: #0c0c0c;
--edge: #1c1c1c;
--text: #f5f5f5;
--muted: #b5b5b5;
--accent: #ffffff;
--success: #9cf3c5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: "Inter", "Segoe UI", system-ui, sans-serif;
background: var(--bg);
color: var(--text);
min-height: 100vh;
overflow: hidden;
position: relative;
}
.grid-bg {
position: fixed;
inset: 0;
background-image:
linear-gradient(var(--grid) 1px, transparent 1px),
linear-gradient(90deg, var(--grid) 1px, transparent 1px);
background-size: 80px 80px;
opacity: 0.45;
pointer-events: none;
animation: slide 28s linear infinite;
}
@keyframes slide {
from { transform: translateY(0); }
to { transform: translateY(-80px); }
}
header {
position: relative;
z-index: 2;
max-width: 1100px;
margin: 0 auto;
padding: 26px 24px 12px;
display: flex;
align-items: center;
justify-content: space-between;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
font-weight: 800;
letter-spacing: 0.14em;
}
.brand-badge {
width: 46px;
height: 46px;
border-radius: 10px;
border: 1px solid var(--edge);
background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 50%),
var(--panel);
display: grid;
place-items: center;
font-size: 16px;
color: var(--text);
box-shadow: 0 0 0 1px var(--edge), 0 10px 40px rgba(0,0,0,0.45);
}
.pill {
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--edge);
color: var(--muted);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.12em;
}
main {
position: relative;
z-index: 2;
max-width: 1100px;
margin: 0 auto;
padding: 0 24px 48px;
}
.shell {
background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0)) padding-box,
var(--panel);
border: 1px solid var(--edge);
border-radius: 18px;
padding: 28px;
box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}
.grid-layout {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 26px;
align-items: start;
}
h1 {
font-size: 38px;
letter-spacing: 0.08em;
line-height: 1.2;
margin-bottom: 14px;
}
.lede {
color: var(--muted);
line-height: 1.7;
margin-bottom: 20px;
max-width: 540px;
}
.tags {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 10px;
}
.tag {
padding: 10px 12px;
border: 1px solid var(--edge);
border-radius: 10px;
background: #0f0f0f;
text-transform: uppercase;
letter-spacing: 0.1em;
font-size: 11px;
color: var(--text);
}
.panel {
background: #0a0a0a;
border: 1px solid var(--edge);
border-radius: 14px;
padding: 18px;
}
label {
display: block;
color: var(--muted);
font-size: 12px;
letter-spacing: 0.06em;
margin-bottom: 8px;
}
textarea {
width: 100%;
min-height: 170px;
background: #050505;
border: 1px solid var(--edge);
border-radius: 12px;
color: var(--text);
padding: 14px;
font-size: 14px;
font-family: "SFMono-Regular", Consolas, Menlo, monospace;
resize: vertical;
transition: border 0.2s ease, box-shadow 0.2s ease;
}
textarea:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
}
.controls {
margin-top: 14px;
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}
.btn {
padding: 14px 18px;
border-radius: 12px;
border: 1px solid var(--edge);
cursor: pointer;
font-weight: 800;
letter-spacing: 0.08em;
background: #fff;
color: #000;
transition: transform 0.1s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.status {
color: var(--muted);
font-size: 12px;
letter-spacing: 0.06em;
}
.status strong { color: var(--success); }
.result-panel {
margin-top: 16px;
background: #050505;
border: 1px solid var(--edge);
border-radius: 12px;
padding: 12px;
}
.result-header {
display: flex;
justify-content: space-between;
align-items: center;
color: var(--muted);
margin-bottom: 8px;
font-size: 12px;
letter-spacing: 0.08em;
}
.result-actions { display: flex; gap: 10px; }
.copy-btn {
background: #0f0f0f;
border: 1px solid var(--edge);
color: var(--text);
padding: 10px 14px;
border-radius: 10px;
cursor: pointer;
font-weight: 700;
letter-spacing: 0.06em;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.json-output {
width: 100%;
min-height: 220px;
background: #030303;
color: #e8ffe5;
border: 1px solid var(--edge);
border-radius: 10px;
padding: 12px;
font-family: "SFMono-Regular", Consolas, Menlo, monospace;
font-size: 13px;
resize: vertical;
}
.hidden { display: none; }
footer {
position: relative;
z-index: 2;
max-width: 1100px;
margin: 28px auto 18px;
padding: 0 24px;
color: var(--muted);
text-align: center;
font-size: 12px;
letter-spacing: 0.08em;
}
@media (max-width: 720px) {
body { overflow: auto; }
h1 { font-size: 30px; }
.btn { width: 100%; text-align: center; }
}
</style>
</head>
<body>
<div class="grid-bg"></div>
<header>
<div class="brand">
<div class="brand-badge">PS</div>
<div>
<div>PROJECT STEVE</div>
<div class="pill">AGENTIC BUILDER</div>
</div>
</div>
</header>
<main>
<div class="shell">
<div class="grid-layout">
<div>
<h1>Precision automation, one prompt.</h1>
<p class="lede">Paste a requirement, let the Build → QA → Security triad forge a hardened n8n workflow, and auto-download the JSON. Minimal surface, maximum signal.</p>
<div class="tags">
<span class="tag">CSP locked</span>
<span class="tag">Serverless API</span>
<span class="tag">Instant JSON</span>
<span class="tag">No clutter</span>
</div>
</div>
<div class="panel">
<label for="requirements">Prompt / Requirement</label>
<textarea id="requirements" placeholder="Example: Listen to Stripe webhooks, store successes in Postgres, send Gmail confirmations, log errors to Slack."></textarea>
<div class="controls">
<button class="btn" id="generate-btn">Generate & Download JSON</button>
<span class="status" id="status-text">Ready.</span>
</div>
<div class="result-panel hidden" id="result-panel">
<div class="result-header">
<span>Workflow JSON</span>
<div class="result-actions">
<button class="copy-btn" id="copy-json-btn">Copy</button>
</div>
</div>
<textarea id="workflow-json" class="json-output" readonly></textarea>
</div>
</div>
</div>
</div>
</main>
<footer>
PROJECT STEVE · BUILT BY KARTHICK
</footer>
<script src="/app.js" defer></script>
</body>
</html>