-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetting-started.html
More file actions
597 lines (540 loc) · 40.8 KB
/
getting-started.html
File metadata and controls
597 lines (540 loc) · 40.8 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
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Getting Started — Webby</title>
<meta name="description" content="Set up Webby in under ten minutes — write your bootstrap prompt, sign up for the free services, configure secrets.js, and make your first edit.">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""><link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"><style>
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
--color-primary: #1a1b3a;
--color-secondary: #d946ef;
--color-accent: #ff8c3c;
--color-accent-2: #2dd4bf;
--color-accent-3: #fde047;
--color-accent-4: #f472b6;
--color-bg: #fdfbf5;
--color-bg-alt: #f3ede0;
--color-text: #1a1b3a;
--color-text-muted: #5a5d7a;
--color-border: rgba(26, 27, 58, 0.09);
--font-heading: 'Fraunces', 'Playfair Display', Georgia, serif;
--font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--space-xs: 0.5rem;
--space-sm: 1rem;
--space-md: 1.75rem;
--space-lg: 3.5rem;
--space-xl: 6rem;
--container-width: 1200px;
--radius: 18px;
--shadow: 0 24px 60px -24px rgba(26, 27, 58, 0.28);
--font-funky: 'Lobster', system-ui, sans-serif;
--color-accent-5: #42468e;
}
body {
font-family: var(--font-body);
color: var(--color-text);
background: var(--color-bg);
line-height: 1.6;
font-size: 17px;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 600;
line-height: 1.12;
letter-spacing: -0.02em;
margin: 0 0 var(--space-sm);
color: var(--color-primary);
font-variation-settings: 'opsz' 32;
}
h1 { font-size: clamp(2.6rem, 5.5vw + 1rem, 5.25rem); font-weight: 500; letter-spacing: -0.035em; font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(2rem, 2.8vw + 0.9rem, 3.15rem); font-variation-settings: 'opsz' 72; }
h3 { font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.55rem); }
p { margin: 0 0 var(--space-sm); }
a { color: var(----color-accent-4); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0 0 var(--space-sm); padding-left: 1.15rem; }
li { margin-bottom: 0.3rem; }
code { font-family: 'SF Mono', Menlo, Consolas, monospace; background: rgba(217,70,239,0.1); color: #a020c0; padding: 0.15em 0.4em; border-radius: 6px; font-size: 0.92em; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--space-md); }
.btn { margin-bottom:0.8em; display: inline-flex; align-items: center; gap: 0.55em; padding: 0.95em 1.55em; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; cursor: pointer; border: 2px solid transparent; transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease; text-decoration: none; line-height: 1; }
.btn-primary { background: var(--color-accent); color: var(--color-primary); box-shadow: 0 14px 34px -14px rgba(255, 140, 60, 0.75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(255, 140, 60, 0.8); }
.btn-dark { background: var(--color-primary); color: var(--color-bg); }
.btn-dark:hover { background: var(--color-secondary); color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: currentColor; }
.btn-ghost:hover { background: var(--color-primary); color: var(--color-bg); }
.btn-ghost.on-dark { color: var(--color-bg); }
.btn-ghost.on-dark:hover { background: var(--color-bg); color: var(--color-primary); }
.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }
/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 1000; background: rgba(253,251,245,0.94); border-bottom: 1px solid var(--color-border); }
.nav-inner { max-width: var(--container-width); margin: 0 auto; padding: 0.85rem var(--space-md); display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); position: relative; }
.nav-brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--color-primary); text-decoration: none; }
.nav-logo { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-bg); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 50%, var(--color-accent-2) 100%); box-shadow: 0 10px 24px -10px rgba(217,70,239,0.5); }
.nav-menu { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-menu a { font-weight: 500; font-size: 0.96rem; padding: 0.55rem 0.9rem; border-radius: 999px; color: var(--color-text); transition: background 0.2s ease, color 0.2s ease; display: inline-block; }
.nav-menu a:hover { background: var(--color-bg-alt); color: var(--color-secondary); }
.nav-menu a.active { background: var(--color-primary); color: var(--color-bg); }
.nav-menu a.active:hover { background: var(--color-primary); color: var(--color-accent-3); }
.nav-toggle { display: none; background: transparent; border: 0; width: 46px; height: 46px; cursor: pointer; position: relative; padding: 0; border-radius: 10px; }
.nav-toggle:hover { background: var(--color-bg-alt); }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--color-primary); transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; border-radius: 2px; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-nav.is-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 920px) {
.nav-toggle { display: block; }
.nav-menu {
position: fixed;
top: 72px; left: 0; right: 0;
max-height: calc(100vh - 72px);
overflow-y: auto;
background: var(--color-bg);
flex-direction: column;
align-items: stretch;
padding: var(--space-sm) var(--space-md);
gap: 0.15rem;
border-bottom: 1px solid var(--color-border);
box-shadow: 0 18px 40px -18px rgba(26,27,58,0.25);
transform: translateY(-12px);
opacity: 0;
pointer-events: none;
transition: transform 0.24s ease, opacity 0.24s ease;
z-index: 9000;
}
.site-nav.is-open .nav-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-menu a { padding: 0.95rem 1rem; font-size: 1.05rem; border-radius: 12px; }
}
/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero--home {
background:
radial-gradient(ellipse at 88% 12%, rgba(217,70,239,0.45), transparent 52%),
radial-gradient(ellipse at 10% 90%, rgba(45,212,191,0.4), transparent 55%),
radial-gradient(ellipse at 70% 85%, rgba(255,140,60,0.28), transparent 50%),
linear-gradient(135deg, #14152e, #1a1b3a 55%, #251a4c);
color: var(--color-bg);
padding: calc(var(--space-xl) * 1.05) 0 calc(var(--space-xl) * 1.05);
}
.hero--page {
background:
radial-gradient(ellipse at 85% 30%, rgba(255,140,60,0.32), transparent 52%),
radial-gradient(ellipse at 15% 80%, rgba(45,212,191,0.32), transparent 55%),
radial-gradient(ellipse at 50% 0%, rgba(217,70,239,0.22), transparent 60%),
linear-gradient(135deg, #14152e, #1a1b3a 60%, #2a1b45);
color: var(--color-bg);
padding: calc(var(--space-lg) * 1.35) 0 calc(var(--space-lg) * 1.35);
}
.hero h1, .hero h2, .hero h3 { color: var(--color-bg); }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.95rem; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2); font-size: 0.78rem; color: var(--color-accent-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: var(--space-sm); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-3); box-shadow: 0 0 12px var(--color-accent-3); }
.hero-subtitle { font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.3rem); line-height: 1.55; color: rgba(253,251,245,0.8); max-width: 560px; margin-top: var(--space-sm); }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: calc(var(--space-md) + 0.25rem); }
.accent-word { color: var(--color-accent); font-style: italic; font-weight: 500; }
.accent-word.teal { color: var(--color-accent-2); }
.accent-word.yellow { color: var(--color-accent-3); }
.accent-word.pink { color: var(--color-accent-4); }
.accent-word.magenta { color: var(--color-secondary); }
.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; gap: var(--space-lg); } }
.hero-media { position: relative; isolation: isolate; }
.hero-media-frame { position: relative; aspect-ratio: 4/5; border-radius: calc(var(--radius) * 1.4); overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.55); }
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker { position: absolute; border-radius: 16px; padding: 0.7rem 1rem; font-size: 0.85rem; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.35); display: inline-flex; align-items: center; gap: 0.5rem; z-index: 2; font-family: var(--font-body); }
.hero-sticker-1 { top: -1.2rem; left: -1.2rem; background: var(--color-accent-3); color: var(--color-primary); transform: rotate(-5deg); }
.hero-sticker-2 { bottom: 2.5rem; right: -1.3rem; background: var(--color-secondary); color: white; transform: rotate(4deg); }
.hero-sticker-3 { top: 45%; left: -1.6rem; background: var(--color-accent-2); color: var(--color-primary); transform: rotate(-3deg); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; }
/* Stats row */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-num { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--color-accent-3); font-weight: 500; letter-spacing: -0.02em; }
.stat-label { font-size: 0.88rem; color: rgba(253,251,245,0.7); letter-spacing: 0.04em; }
/* Sections */
section[data-zone] { scroll-margin-top: 90px; }
.section { padding: var(--space-xl) 0; position: relative; overflow: hidden; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-primary); color: var(--color-bg); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-bg); }
.section--teal { background: linear-gradient(150deg, #dbf6f1 0%, #fff4eb 100%); }
.section--cream { background: var(--color-bg-alt); }
.section--pink { background: linear-gradient(145deg, #fbe6f6 0%, #fff3ea 100%); }
.section--dark code { color: var(--color-accent-2); }
.section--dark .step code { color: #a020c0; }
.section-eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--color-secondary); margin-bottom: var(--space-xs); }
.section--dark .section-eyebrow { color: var(--color-accent-3); }
.section--teal .section-eyebrow { color: #0b8e87; }
.section--pink .section-eyebrow { color: #a020c0; }
.section-head { max-width: 760px; margin-bottom: var(--space-lg); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { font-size: clamp(1.05rem, 0.7vw + 0.95rem, 1.2rem); color: var(--color-text-muted); line-height: 1.55; }
.section--dark .section-lead { color: rgba(253,251,245,0.78); }
/* About layout */
.about-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-lg); align-items: center; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: var(--space-md); } }
.about-image { position: relative; isolation: isolate; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.about-image::before { content: ""; position: absolute; top: -1.2rem; right: -1.2rem; width: 55%; height: 55%; background: var(--color-accent-3); border-radius: var(--radius); z-index: 0; transform: rotate(5deg); }
.about-image::after { content: ""; position: absolute; bottom: -1.2rem; left: -1.2rem; width: 45%; height: 45%; background: var(--color-accent-2); border-radius: var(--radius); z-index: 0; transform: rotate(-6deg); }
/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--color-bg); border-radius: var(--radius); padding: calc(var(--space-md) - 0.15rem); border: 1px solid var(--color-border); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--space-sm); color: white; font-size: 1.5rem; background: var(--color-primary); }
.card-icon.accent { background: linear-gradient(135deg, var(--color-accent), var(--color-secondary)); }
.card-icon.teal { background: linear-gradient(135deg, var(--color-accent-2), #0b8e87); }
.card-icon.pink { background: linear-gradient(135deg, var(--color-secondary), var(--color-accent-4)); }
.card-icon.yellow { background: linear-gradient(135deg, var(--color-accent-3), var(--color-accent)); color: var(--color-primary); }
.card-icon.orange { background: linear-gradient(135deg, var(--color-accent), #e0521a); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-top: 0; margin-bottom: 0.4rem; }
.card p { color: var(--color-text-muted); margin: 0; }
/* Testimonial */
.testimonial { background: var(--color-bg); border-radius: var(--radius); padding: calc(var(--space-md) + 0.2rem); box-shadow: var(--shadow); position: relative; border-top: 6px solid var(--color-accent); }
.testimonial.v2 { border-top-color: var(--color-accent-2); }
.testimonial.v3 { border-top-color: var(--color-secondary); }
.testimonial .quote-mark { font-family: var(--font-heading); font-size: 3rem; line-height: 0.3; position: absolute; top: 1.6rem; right: 1.5rem; color: var(--color-accent); opacity: 0.35; font-style: italic; }
.testimonial.v2 .quote-mark { color: var(--color-accent-2); }
.testimonial.v3 .quote-mark { color: var(--color-secondary); }
.testimonial blockquote { margin: 0 0 var(--space-sm); font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.45; color: var(--color-primary); font-weight: 500; font-style: italic; }
.testimonial cite { font-style: normal; font-size: 0.92rem; color: var(--color-text-muted); display: block; margin-top: var(--space-xs); }
.testimonial cite strong { color: var(--color-primary); display: block; font-weight: 600; font-style: normal; }
/* Feature showcase */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; margin-bottom: calc(var(--space-xl) * 0.9); }
.feature-row:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; margin-bottom: var(--space-xl); } .feature-row .feature-media { order: -1; } }
.feature-media { position: relative; isolation: isolate; }
.feature-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow); position: relative; z-index: 1; }
.feature-media::before { content:""; position: absolute; border-radius: var(--radius); z-index: 0; }
.feature-media.frame-orange::before { inset: -0.9rem auto auto -0.9rem; width: 55%; height: 60%; background: var(--color-accent); transform: rotate(-3deg); }
.feature-media.frame-teal::before { inset: auto -0.9rem -0.9rem auto; width: 55%; height: 60%; background: var(--color-accent-2); transform: rotate(5deg); }
.feature-media.frame-pink::before { inset: -0.9rem -0.9rem auto auto; width: 48%; height: 55%; background: var(--color-accent-4); transform: rotate(4deg); }
.feature-media.frame-yellow::before { inset: auto auto -0.9rem -0.9rem; width: 55%; height: 55%; background: var(--color-accent-3); transform: rotate(-4deg); }
.feature-media.frame-magenta::before { inset: -0.9rem auto auto -0.9rem; width: 55%; height: 55%; background: var(--color-secondary); transform: rotate(-5deg); }
.feature-chip { display: inline-block; padding: 0.38rem 0.82rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; margin-bottom: var(--space-sm); }
.chip-orange { background: rgba(255,140,60,0.16); color: #c05a1a; }
.chip-teal { background: rgba(45,212,191,0.2); color: #0b8e87; }
.chip-pink { background: rgba(217,70,239,0.15); color: #a020c0; }
.chip-yellow { background: rgba(253,224,71,0.3); color: #8a6d00; }
.chip-magenta { background: rgba(244,114,182,0.2); color: #b33076; }
.feature-text h3 { font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem); }
.feature-text ul { padding-left: 1.1rem; color: var(--color-text-muted); }
.feature-text ul li::marker { color: var(--color-secondary); }
/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
.step { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-md); align-items: start; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: calc(var(--space-md) - 0.1rem); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.step-num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.65rem; color: white; background: var(--color-primary); font-weight: 600; font-variation-settings: 'opsz' 144; }
.steps .step:nth-child(1) .step-num { background: var(--color-accent); color: var(--color-primary); }
.steps .step:nth-child(2) .step-num { background: var(--color-secondary); }
.steps .step:nth-child(3) .step-num { background: var(--color-accent-2); color: var(--color-primary); }
.steps .step:nth-child(4) .step-num { background: var(--color-accent-3); color: var(--color-primary); }
.steps .step:nth-child(5) .step-num { background: var(--color-accent-4); }
.step h3 { margin: 0 0 0.3rem; }
.step p { margin: 0; color: var(--color-text-muted); }
.section--dark .step h1, .section--dark .step h2, .section--dark .step h3 { color: var(--color-accent-5); }
@media (max-width: 520px) { .step { grid-template-columns: 56px 1fr; gap: var(--space-sm); } .step-num { width: 52px; height: 52px; font-size: 1.35rem; border-radius: 14px; } }
/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-secondary) 55%, #7a2fc4 100%); color: white; padding: calc(var(--space-lg) + 0.5rem) var(--space-md); border-radius: calc(var(--radius) * 1.6); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(30px); opacity: 0.6; }
.cta-banner::before { top: -50px; left: -40px; width: 220px; height: 220px; background: var(--color-accent-3); }
.cta-banner::after { bottom: -60px; right: -50px; width: 260px; height: 260px; background: var(--color-accent-2); }
.cta-banner .section-eyebrow { color: rgba(255,255,255,0.9); }
.cta-banner h2 { color: white; max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto var(--space-md); font-size: 1.08rem; }
.cta-banner code { color: var(--color-accent-2); }
.cta-banner .btn-dark { background: var(--color-accent-5); }
.cta-banner .btn-dark:hover { background: var(--color-primary); }
/* Code block */
.code-block { background: #0e0f23; color: #e2e4ff; border-radius: var(--radius); padding: var(--space-md); font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.92rem; line-height: 1.65; overflow-x: auto; position: relative; border: 1px solid rgba(255,255,255,0.08); }
.code-block::before { content: ""; position: absolute; top: 16px; left: 18px; width: 11px; height: 11px; border-radius: 50%; background: #ff6058; box-shadow: 18px 0 0 #ffc02e, 36px 0 0 #29cd42; }
.code-block pre { margin: 28px 0 0; white-space: pre; font-family: inherit; color: inherit; }
.code-block .k { color: #c379f5; }
.code-block .s { color: #7ff5c3; }
.code-block .c { color: #7c819e; font-style: italic; }
.code-block .p { color: #ffa96b; }
/* Inline note */
.inline-note { display: flex; gap: 0.85rem; padding: 1rem 1.15rem; background: rgba(45,212,191,0.12); border-left: 4px solid var(--color-accent-2); border-radius: 10px; color: var(--color-text); font-size: 0.95rem; margin-top: var(--space-sm); }
.inline-note.warn { background: rgba(255,140,60,0.12); border-left-color: var(--color-accent); }
.inline-note .inline-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.2; }
/* Donate cards */
.donate-card { background: var(--color-bg); border-radius: var(--radius); padding: calc(var(--space-md) + 0.3rem); border: 1px solid var(--color-border); position: relative; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.donate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.donate-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.donate-card.v1::before { background: linear-gradient(90deg, var(--color-accent), var(--color-secondary)); }
.donate-card.v2::before { background: linear-gradient(90deg, var(--color-accent-2), #0b8e87); }
.donate-card.v3::before { background: linear-gradient(90deg, var(--color-accent-3), var(--color-accent)); }
.donate-card h3 { margin-top: 0; font-size: 1.45rem; }
.donate-card .emoji { font-size: 2rem; margin-bottom: var(--space-sm); display: block; }
/* Footer */
.site-footer { background: var(--color-primary); color: var(--color-bg); padding: calc(var(--space-lg) + 0.5rem) 0 var(--space-md); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-accent), var(--color-secondary) 35%, var(--color-accent-4) 65%, var(--color-accent-2)); }
.site-footer a { color: inherit; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-md); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; margin-bottom: var(--space-xs); color: var(--color-bg); text-decoration: none; }
.footer-brand .nav-logo { width: 38px; height: 38px; font-size: 1.2rem; }
.footer-tagline { color: rgba(253,251,245,0.68); max-width: 340px; margin: 0 0 var(--space-sm); font-size: 0.97rem; }
.footer-heading { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-accent-3); margin: 0 0 var(--space-sm); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { color: rgba(253,251,245,0.78); font-size: 0.95rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-accent-3); }
.footer-bottom { padding-top: var(--space-md); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); color: rgba(253,251,245,0.55); font-size: 0.9rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,0.08); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; color: var(--color-bg); }
.footer-socials a:hover { background: var(--color-accent); color: var(--color-primary); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
/* Utility */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.center { text-align: center; }
.max-prose { max-width: 760px; }
/* Flourish */
.flourish { position: absolute; pointer-events: none; opacity: 0.55; z-index: 0; }
</style>
<link rel="icon" type="image/png" href="./assets/favicon.png"><link rel="apple-touch-icon" href="./assets/favicon.png"><meta name="keywords" content="get started, setup, config, build site"><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lobster:wght@400&display=swap"></head>
<body style="">
<nav class="site-nav" style="">
<div class="nav-inner">
<a href="./index.html" class="nav-brand">
<span class="nav-logo" aria-hidden="true">W</span>
<span>Webby</span>
</a>
<button class="nav-toggle" aria-label="Toggle menu" aria-expanded="false">
<span></span><span></span><span></span>
</button>
<ul class="nav-menu">
<li><a href="./index.html">Home</a></li>
<li><a href="./about.html">About</a></li>
<li><a href="./getting-started.html" class="active">Getting Started</a></li>
<li><a href="./features-and-editing.html">Features & Editing</a></li>
<li><a href="./donate.html">Donate</a></li>
</ul>
</div>
<script>
(function(){
const nav = document.currentScript.closest('nav');
nav.addEventListener('click', function(e){
const btn = e.target.closest('.nav-toggle');
if (btn) {
const open = nav.classList.toggle('is-open');
btn.setAttribute('aria-expanded', open ? 'true' : 'false');
} else if (e.target.closest('.nav-menu a')) {
nav.classList.remove('is-open');
const t = nav.querySelector('.nav-toggle');
if (t) t.setAttribute('aria-expanded', 'false');
}
});
})();
</script>
</nav>
<section class="hero hero--page" data-zone="hero" data-zone-label="Hero" id="hero" style="">
<div class="container hero-inner">
<span class="hero-badge" data-editable=""><span class="dot"></span>Getting started</span>
<h1 data-editable="">From empty folder to <span class="accent-word">published site</span> in five focused steps.</h1>
<p class="hero-subtitle" data-editable="">Pick your vibe, plug in two free services, drop a config file in place, and you're editing. This page walks you through the whole pipeline — start to first publish.</p>
</div>
</section>
<section class="section" data-zone="design-prompt" data-zone-label="Design Your Prompt" id="design-prompt" style="">
<div class="container">
<div class="grid-2">
<div>
<span class="feature-chip chip-pink" data-editable="">Step 01 · Prompt</span>
<h2 data-editable="">Design your initial <span class="accent-word magenta">prompt</span>.</h2>
<p data-editable="">Webby doesn't start from a template — it starts from <em>you</em>. Open the Bootstrap Prompt from the Webby repo, gather a handful of inspiration images (two to five is ideal), and describe what you're making and who it's for.</p>
<p data-editable="">A good prompt answers four questions:</p>
<ul>
<li data-editable=""><strong>Who</strong> you are — your business name, profession, and location.</li>
<li data-editable=""><strong>What</strong> you do, phrased in a single tagline sentence.</li>
<li data-editable=""><strong>Which sections</strong> the site should have (hero, services, testimonials, etc.).</li>
<li data-editable=""><strong>The vibe</strong> — calm, bold, warm, technical, playful. Be specific.</li>
</ul>
<div class="inline-note">
<span class="inline-icon">✨</span>
<span data-editable="">Attach reference images of sites, palettes, or photography you love. Claude will read the dominant colors and typography and translate them into CSS variables for you.</span>
</div>
<div class="hero-actions">
<a href="https://github.com/swill/webby/blob/main/BOOTSTRAP_PROMPT.md" class="btn btn-dark" data-editable="" target="_blank" rel="noopener noreferrer">Open the Bootstrap Prompt <span class="arrow">→</span></a>
</div>
</div>
<div class="about-image">
<img src="./assets/placeholder.jpg" data-editable-image="" alt="Sketches and mood boards representing the prompt design step" style="cursor: pointer;">
</div>
</div>
</div>
</section>
<section class="section section--teal" data-zone="free-services" data-zone-label="Sign Up To Free Services" id="free-services">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">Step 02 · Accounts</span>
<h2 data-editable="">Sign up for the <span class="accent-word magenta">free</span> services.</h2>
<p class="section-lead" data-editable="">Webby leans on two generous free tiers so you can run a complete publishing pipeline without paying a cent. Ten minutes of setup, one time only.</p>
</div>
<div class="grid-2">
<div class="card">
<div class="card-icon pink">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5L12 2z"></path></svg>
</div>
<h3 data-editable="">Google AI Studio</h3>
<p data-editable="">Get a free <a href="https://aistudio.google.com/api-keys" target="_blank" rel="noopener noreferrer">Gemini API key</a> — no billing required. This powers the AI section generator, reformatter, and page builder.</p>
<p class="mt-sm" data-editable=""><strong>What to grab:</strong> the string that starts with <code>AIza…</code>. Paste it into <code>secrets.js</code> as <code>geminiKey</code>.</p>
</div>
<div class="card">
<div class="card-icon teal">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
</div>
<h3 data-editable="">GitHub + GitHub Pages</h3>
<p data-editable=""><a href="https://github.com/" target="_blank" rel="noopener noreferrer">Create a <strong>public</strong> repository</a>, in <strong>Settings</strong>, enable <strong>Pages → Deploy from a branch</strong>, and issue a <a href="https://github.com/settings/personal-access-tokens" target="_blank" rel="noopener noreferrer">fine-grained Personal Access Token</a> scoped to <em>contents: read + write</em> permissions on that one repo.</p>
<p class="mt-sm" data-editable=""><strong>What to grab:</strong> the token that starts with <code>ghp_…</code> and your repo name like <code>gh-user/your-site</code>.</p>
</div>
</div>
</div>
</section>
<section class="section section--dark" data-zone="config-setup" data-zone-label="Config & Initial Setup" id="config-setup">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">Step 03 · Config</span>
<h2 data-editable=""><code style="background:rgba(253,224,71,0.15); color:var(--color-accent-3);">secrets.js</code> is the only file you configure.</h2>
<p class="section-lead" data-editable="">Save the HTML from your bootstrap prompt into a folder. Next to it, drop a small JavaScript file called <code>secrets.js</code>. This file never leaves your computer.</p>
</div>
<div class="grid-2">
<div>
<div class="code-block">
<pre><span class="c">// secrets.js — lives beside your HTML files</span>
<span class="k">window</span>.SITE_SECRETS = {
geminiKey: <span class="s">"AIza..."</span>, <span class="c">// Gemini API key</span>
githubToken: <span class="s">"ghp_..."</span>, <span class="c">// fine-grained PAT</span>
repo: <span class="s">"gh-username/your-repo"</span>,
branch: <span class="s">"main"</span>
};</pre>
</div>
<div class="inline-note warn mt-md" style="background: rgba(255,140,60,0.14); border-left-color: var(--color-accent); color: rgba(253,251,245,0.9);">
<span class="inline-icon">⚠️</span>
<span data-editable="">Never commit <code>secrets.js</code>. Webby publishes via the GitHub API — your local folder is not a git repo, so accidental commits are impossible by design.</span>
</div>
</div>
<div>
<h3 data-editable="" style="color: var(--color-bg);">Your initial folder looks like this</h3>
<p data-editable="" style="color: rgba(253,251,245,0.78);">A clean, flat structure — the exact files you'll publish, plus a tiny <code>secrets.js</code> that lives only on your machine.</p>
<div class="code-block" style="margin-top: var(--space-sm);">
<pre>my-site/
├── <span class="p">index.html</span>
├── <span class="p">about.html</span>
├── <span class="p">getting-started.html</span>
├── <span class="p">features-and-editing.html</span>
├── <span class="p">donate.html</span>
├── <span class="p">webby-pages.json</span>
├── <span class="p">secrets.js</span> <span class="c">← stays local</span>
└── assets/
└── placeholder.jpg</pre>
</div>
</div>
</div>
<div class="inline-note mt-md" style="background: rgba(45,212,191,0.18); border-left-color: var(--color-accent-2); color: rgba(253,251,245,0.9);">
<span class="inline-icon">💡</span>
<span data-editable="">Open any HTML file in Chrome or Edge to launch the editor. Safari and Firefox don't yet support the File System Access API, so they won't work for editing (the published site, of course, works everywhere).</span>
</div>
</div>
</section>
<section class="section" data-zone="intro-to-editing" data-zone-label="Intro To Editing" id="intro-to-editing">
<div class="container">
<div class="section-head">
<span class="section-eyebrow" data-editable="">Step 04 · Edit</span>
<h2 data-editable="">Click anything. Type. <span class="accent-word">Keep going.</span></h2>
<p class="section-lead" data-editable="">When the editor activates, you'll see a dark toolbar at the top of the page and a banner asking you to link your folder. Click <em>Select Folder</em>, choose the one with your HTML files, and you're editing.</p>
</div>
<div class="steps">
<div class="step">
<div class="step-num" aria-hidden="true">✎</div>
<div>
<h3 data-editable="">Type directly on the page</h3>
<p data-editable="">Click any editable text and type. Select text to bring up the floating formatting toolbar for bold, italic, inline code, and smart links.</p>
</div>
</div>
<div class="step">
<div class="step-num" aria-hidden="true">🖼</div>
<div>
<h3 data-editable="">Swap images by clicking them</h3>
<p data-editable="">Click any image to replace it. The file drops into your local <code>assets/</code> folder and is committed to GitHub on the next publish.</p>
</div>
</div>
<div class="step">
<div class="step-num" aria-hidden="true">✨</div>
<div>
<h3 data-editable="">Add or reformat sections with AI</h3>
<p data-editable="">Hover between sections for <em>+ Add Section</em>, or hover any section for <em>⟳ Reformat</em> and <em>✕ Delete</em>. The AI respects your theme and voice.</p>
</div>
</div>
<div class="step">
<div class="step-num" aria-hidden="true">↑</div>
<div>
<h3 data-editable="">Publish in one click</h3>
<p data-editable="">When you're ready, hit <em>Publish</em>. Webby strips the editor, strips your credentials, and pushes the clean HTML to GitHub Pages. Live within a minute.</p>
</div>
</div>
</div>
<div class="center mt-lg">
<a href="./features-and-editing.html" class="btn btn-primary" data-editable="">See every editing feature <span class="arrow">→</span></a>
<a href="./donate.html" class="btn btn-ghost" data-editable="">Fuel the project</a>
</div>
</div>
</section>
<footer class="site-footer" data-zone="footer" data-zone-label="Footer" id="footer">
<div class="container">
<div class="footer-top">
<div>
<a href="./index.html" class="footer-brand">
<span class="nav-logo" aria-hidden="true">W</span>
<span>Webby</span>
</a>
<p class="footer-tagline" data-editable="">A zero-dependency, AI-enabled inline editor for static websites. Free, open source, and delightfully opinionated.</p>
<div class="footer-socials">
<a href="https://github.com/swill/webby/" aria-label="GitHub repository" data-editable="" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2c-3.2.7-3.87-1.36-3.87-1.36-.52-1.33-1.27-1.68-1.27-1.68-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.24 3.33.95.1-.74.4-1.24.72-1.53-2.55-.29-5.24-1.28-5.24-5.7 0-1.26.45-2.28 1.18-3.09-.12-.29-.51-1.46.11-3.04 0 0 .97-.31 3.17 1.18a11 11 0 0 1 5.78 0c2.2-1.49 3.17-1.18 3.17-1.18.62 1.58.23 2.75.11 3.04.73.81 1.18 1.83 1.18 3.09 0 4.43-2.7 5.4-5.26 5.69.41.35.78 1.05.78 2.12v3.14c0 .31.21.68.8.56C20.21 21.38 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"></path></svg>
</a>
<a href="https://github.com/swill" aria-label="Author on GitHub" data-editable="" target="_blank" rel="noopener noreferrer">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="4"></circle><path d="M20 21a8 8 0 0 0-16 0"></path></svg>
</a>
</div>
</div>
<div>
<p class="footer-heading" data-editable="">Explore</p>
<ul class="footer-links">
<li><a href="./about.html" data-editable="">About the project</a></li>
<li><a href="./getting-started.html" data-editable="">Getting started</a></li>
<li><a href="./features-and-editing.html" data-editable="">Features & editing</a></li>
<li><a href="./donate.html" data-editable="">Donate</a></li>
</ul>
</div>
<div>
<p class="footer-heading" data-editable="">Resources</p>
<ul class="footer-links">
<li><a href="https://github.com/swill/webby/" data-editable="" target="_blank" rel="noopener noreferrer">Source on GitHub</a></li>
<li><a href="https://github.com/swill/webby/blob/main/README.md" data-editable="" target="_blank" rel="noopener noreferrer">Documentation</a></li>
<li><a href="https://aistudio.google.com" data-editable="" target="_blank" rel="noopener noreferrer">Free Gemini API key</a></li>
<li><a href="https://pages.github.com/" data-editable="" target="_blank" rel="noopener noreferrer">GitHub Pages</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<span data-editable="">© 2026 Webby · Crafted with care by <a href="https://github.com/swill" target="_blank" rel="noopener noreferrer">@swill</a>.</span>
<span data-editable="">MIT licensed. Forever free.</span>
</div>
</div>
</footer>
</body></html>