oneie 3.4.2 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/agent-director.md +902 -22
- package/.claude/agents/agent-onboard-example-output.md +600 -0
- package/.claude/agents/agent-onboard.md +576 -0
- package/.claude/commands/ONBOARDING_ENHANCEMENT_SUMMARY.md +266 -0
- package/.claude/commands/one.md +411 -10
- package/.claude/commands/release.md +64 -3
- package/CLAUDE.md +55 -69
- package/dist/commands/init.d.ts +5 -6
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +101 -101
- package/dist/commands/init.js.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/utils/installation-setup.d.ts +24 -1
- package/dist/utils/installation-setup.d.ts.map +1 -1
- package/dist/utils/installation-setup.js +85 -1
- package/dist/utils/installation-setup.js.map +1 -1
- package/dist/utils/launch-claude.d.ts +6 -0
- package/dist/utils/launch-claude.d.ts.map +1 -0
- package/dist/utils/launch-claude.js +51 -0
- package/dist/utils/launch-claude.js.map +1 -0
- package/dist/utils/validation.d.ts +48 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +73 -0
- package/dist/utils/validation.js.map +1 -0
- package/folders.yaml +1 -1
- package/one/.obsidian/app.json +8 -0
- package/one/.obsidian/appearance.json +1 -0
- package/one/.obsidian/community-plugins.json +3 -0
- package/one/.obsidian/core-plugins.json +33 -0
- package/one/.obsidian/plugins/easy-bake/main.js +361 -0
- package/one/.obsidian/plugins/easy-bake/manifest.json +11 -0
- package/one/.obsidian/plugins/easy-bake/styles.css +10 -0
- package/one/.obsidian/workspace.json +240 -0
- package/one/connections/workflow-onboarding.md +683 -0
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +354 -0
- package/one/events/CRITICAL-FIXES-COMPLETE.md +504 -0
- package/one/events/DEPLOYMENT.md +178 -0
- package/one/events/ECOMMERCE-DEMO-PLAN.md +225 -0
- package/one/events/ECOMMERCE-LIVE-DEMO.md +363 -0
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +735 -0
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +923 -0
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +223 -0
- package/one/events/HANDOFF.md +313 -0
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +503 -0
- package/one/events/IMPLEMENTATION_SUMMARY.md +529 -0
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +666 -0
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +642 -0
- package/one/events/LANDING-PAGE-QUICKSTART.md +407 -0
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +1627 -0
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +573 -0
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +398 -0
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +525 -0
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +455 -0
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +486 -0
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +203 -0
- package/one/events/SECURITY-AUDIT-FIXES.md +376 -0
- package/one/events/SECURITY-SCAN-COMPLETE.md +281 -0
- package/one/events/SHOP-BUILD-STATUS.md +114 -0
- package/one/events/SHOP-PREMIUM-UPDATE.md +149 -0
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +299 -0
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +359 -0
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +429 -0
- package/one/events/agent-director-enhancement-summary.md +386 -0
- package/one/events/agent-onboard-implementation-summary.md +457 -0
- package/one/events/clean-agent-ontology-cleanup-report.md +353 -0
- package/one/events/landing-page-generator.md +458 -0
- package/one/events/onboarding-implementation-complete.md +505 -0
- package/one/events/release.md +254 -0
- package/one/events/separate-implementation-status.md +537 -0
- package/one/groups/nine-padle-contents.baked.md +1252 -0
- package/one/groups/nine-padle-contents.md +6 -0
- package/one/knowledge/100-inference-quick-reference.md +431 -0
- package/one/knowledge/agent-onboard-usage.md +612 -0
- package/one/knowledge/cli-claude-handoff.md +718 -0
- package/one/knowledge/installation-folders.md +45 -1
- package/one/knowledge/ontology-blog.yaml +31 -0
- package/one/knowledge/ontology-cheatsheet.md +591 -0
- package/one/knowledge/ontology-community.yaml +42 -0
- package/one/knowledge/ontology-core-universal.md +722 -0
- package/one/knowledge/ontology-core.yaml +50 -0
- package/one/knowledge/ontology-courses.yaml +53 -0
- package/one/knowledge/ontology-creator.md +376 -0
- package/one/knowledge/ontology-developer-guide.md +789 -0
- package/one/knowledge/ontology-education.md +920 -0
- package/one/knowledge/ontology-index.md +354 -0
- package/one/knowledge/ontology-migration-guide.md +811 -0
- package/one/knowledge/ontology-minimal.yaml +1 -1
- package/one/knowledge/ontology-portfolio.yaml +31 -0
- package/one/knowledge/ontology-quickstart.md +576 -0
- package/one/knowledge/ontology-shop.yaml +121 -0
- package/one/knowledge/ontology-tokens.yaml +32 -0
- package/one/knowledge/ontology-tutorial.md +434 -0
- package/one/knowledge/ontology-video-script.md +890 -0
- package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +467 -0
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +408 -0
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +369 -0
- package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +396 -0
- package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +468 -0
- package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +582 -0
- package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +449 -0
- package/one/things/docs/ecommerce/QUICK-START.md +368 -0
- package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +498 -0
- package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +237 -0
- package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +171 -0
- package/one/things/docs/ecommerce/demo.astro +309 -0
- package/one/things/plans/agent-director-100-inference-plans.md +410 -0
- package/one/things/plans/dual-website-strategy.md +612 -0
- package/one/things/plans/feature-based-sites.md +821 -0
- package/one/things/plans/multi-ontology-architecture.md +836 -0
- package/one/things/plans/onboarding.md +32 -0
- package/one/things/plans/separate.md +15 -17
- package/one/things/plans/start-new.md +738 -0
- package/one/things/templates.md +254 -0
- package/one/things/todo.md +23 -5
- package/package.json +2 -2
- package/one/things/claude/hooks/agent-hook-manager.js +0 -525
- package/one/things/claude/hooks/agent-load-balancer.js +0 -271
- package/one/things/claude/hooks/agent-request-interceptor.js +0 -70
- package/one/things/claude/hooks/cascade-feedback.js +0 -297
- package/one/things/claude/hooks/cascade-integration-hooks.js +0 -648
- package/one/things/claude/hooks/continuous-improvement-monitor.js +0 -510
- package/one/things/claude/hooks/file-organization-engine.js +0 -427
- package/one/things/claude/hooks/file-organization-monitor.js +0 -269
- package/one/things/claude/hooks/hook-config-manager.js +0 -202
- package/one/things/claude/hooks/hook-orchestrator.js +0 -662
- package/one/things/claude/hooks/hook-performance-report.js +0 -120
- package/one/things/claude/hooks/mcp-cascade-integration.js +0 -816
- package/one/things/claude/hooks/memory-optimizer.js +0 -510
- package/one/things/claude/hooks/ontology-compliance.js +0 -394
- package/one/things/claude/hooks/ontology-hook-manager.js +0 -316
- package/one/things/claude/hooks/ontology-validation-engine.js +0 -317
- package/one/things/claude/hooks/performance-monitoring-hook.js +0 -422
- package/one/things/claude/hooks/quality-scoring-engine.js +0 -834
- package/one/things/claude/hooks/simple-load-balancer.js +0 -238
- package/one/things/claude/hooks/startup-optimizer.js +0 -625
- package/one/things/claude/hooks/story-scoring-system.js +0 -445
- package/one/things/claude/hooks/story-validation-engine.js +0 -473
- package/one/things/claude/hooks/structure-synchronizer.js +0 -194
- package/one/things/claude/hooks/sub-agent-output-validator.js +0 -647
- package/one/things/claude/hooks/sub-agent-validation-hook.js +0 -343
- package/one/things/claude/hooks/trinity-validation-system.js +0 -392
- package/one/things/plans/organizations-to-groups.md +0 -705
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
# Landing Page Generator - Quick Start Guide
|
|
2
|
+
|
|
3
|
+
Generate a beautiful, performant landing page in under 5 minutes using your brand colors and content.
|
|
4
|
+
|
|
5
|
+
## Quick Start (3 Commands)
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# 1. Create your brand config
|
|
9
|
+
cp .onboarding.json.example .onboarding.json
|
|
10
|
+
# Edit with your brand data
|
|
11
|
+
|
|
12
|
+
# 2. Generate landing page
|
|
13
|
+
bun scripts/generate-landing-page.ts
|
|
14
|
+
|
|
15
|
+
# 3. Preview locally
|
|
16
|
+
cd web && bun run dev
|
|
17
|
+
# Visit http://localhost:4321
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## What Gets Generated
|
|
21
|
+
|
|
22
|
+
### Components (`/web/src/components/landing/`)
|
|
23
|
+
|
|
24
|
+
1. **Hero.tsx** - Logo, headline, tagline, CTA buttons
|
|
25
|
+
2. **Features.tsx** - 3-column feature grid with icons
|
|
26
|
+
3. **CTA.tsx** - Call-to-action with gradient background
|
|
27
|
+
4. **Footer.tsx** - Multi-column footer with links
|
|
28
|
+
|
|
29
|
+
### Pages & Layouts
|
|
30
|
+
|
|
31
|
+
- **index.astro** - Landing page entry point
|
|
32
|
+
- **LandingLayout.astro** - Clean layout without sidebar
|
|
33
|
+
|
|
34
|
+
### Styling
|
|
35
|
+
|
|
36
|
+
- **landing-theme.css** - Brand colors in Tailwind v4 format
|
|
37
|
+
|
|
38
|
+
## Customization
|
|
39
|
+
|
|
40
|
+
### Step 1: Configure `.onboarding.json`
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"organizationName": "Your Company",
|
|
45
|
+
"tagline": "Your Tagline",
|
|
46
|
+
"logoUrl": "/logo.svg",
|
|
47
|
+
"colors": {
|
|
48
|
+
"primary": "216 55% 25%",
|
|
49
|
+
"secondary": "219 14% 28%",
|
|
50
|
+
"accent": "105 22% 25%",
|
|
51
|
+
"background": "36 8% 88%",
|
|
52
|
+
"foreground": "0 0% 13%"
|
|
53
|
+
},
|
|
54
|
+
"features": [
|
|
55
|
+
{
|
|
56
|
+
"title": "Feature 1",
|
|
57
|
+
"description": "Description of your first feature",
|
|
58
|
+
"icon": "cpu"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"title": "Feature 2",
|
|
62
|
+
"description": "Description of your second feature",
|
|
63
|
+
"icon": "users"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"title": "Feature 3",
|
|
67
|
+
"description": "Description of your third feature",
|
|
68
|
+
"icon": "zap"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"cta": {
|
|
72
|
+
"title": "Ready to Get Started?",
|
|
73
|
+
"description": "Join thousands of happy customers today",
|
|
74
|
+
"buttonText": "Sign Up Free",
|
|
75
|
+
"buttonLink": "/account/signup"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Step 2: Add Your Logo
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Place your logo in the public directory
|
|
84
|
+
cp your-logo.svg web/public/logo.svg
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Logo Requirements**:
|
|
88
|
+
- Format: SVG (recommended for best quality)
|
|
89
|
+
- Size: Any (will be displayed at 128px-160px)
|
|
90
|
+
- Background: Transparent recommended
|
|
91
|
+
|
|
92
|
+
### Step 3: Convert Colors to HSL
|
|
93
|
+
|
|
94
|
+
Your brand colors need to be in HSL format **without** the `hsl()` wrapper.
|
|
95
|
+
|
|
96
|
+
**From HEX**:
|
|
97
|
+
```javascript
|
|
98
|
+
// #2563eb → "217 91% 60%"
|
|
99
|
+
// Use: https://htmlcolors.com/hsl-color-picker
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**From RGB**:
|
|
103
|
+
```javascript
|
|
104
|
+
// rgb(37, 99, 235) → "217 91% 60%"
|
|
105
|
+
// Use: https://www.w3schools.com/colors/colors_converter.asp
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**Format**:
|
|
109
|
+
- ✅ Correct: `"primary": "217 91% 60%"`
|
|
110
|
+
- ❌ Wrong: `"primary": "hsl(217, 91%, 60%)"`
|
|
111
|
+
- ❌ Wrong: `"primary": "#2563eb"`
|
|
112
|
+
|
|
113
|
+
## Available Icons
|
|
114
|
+
|
|
115
|
+
Choose from these icons for your features:
|
|
116
|
+
|
|
117
|
+
| Icon | Use Case |
|
|
118
|
+
|------|----------|
|
|
119
|
+
| `cpu` | Technology, AI, Processing |
|
|
120
|
+
| `users` | Team, Community, People |
|
|
121
|
+
| `zap` | Speed, Energy, Performance |
|
|
122
|
+
| `box` | Product, Package, Platform |
|
|
123
|
+
|
|
124
|
+
## Deployment
|
|
125
|
+
|
|
126
|
+
### Preview Deployment
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
./scripts/deploy-landing-page.sh preview
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Production Deployment
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
./scripts/deploy-landing-page.sh production
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
The deployment script will:
|
|
139
|
+
1. Install dependencies
|
|
140
|
+
2. Run TypeScript checks
|
|
141
|
+
3. Build for production
|
|
142
|
+
4. Deploy to Cloudflare Pages
|
|
143
|
+
5. Optionally run Lighthouse tests
|
|
144
|
+
|
|
145
|
+
## Performance Targets
|
|
146
|
+
|
|
147
|
+
The generated landing page is optimized for:
|
|
148
|
+
|
|
149
|
+
| Metric | Target | Strategy |
|
|
150
|
+
|--------|--------|----------|
|
|
151
|
+
| LCP | < 2.5s | Static HTML, optimized images |
|
|
152
|
+
| FID | < 100ms | Minimal JavaScript (< 30KB) |
|
|
153
|
+
| CLS | < 0.1 | No layout shifts |
|
|
154
|
+
| Lighthouse | 90+ | Static-first architecture |
|
|
155
|
+
|
|
156
|
+
**Hydration Strategy**:
|
|
157
|
+
- Hero: `client:load` (interactive buttons)
|
|
158
|
+
- Features: Static HTML (CSS-only hover)
|
|
159
|
+
- CTA: `client:load` (interactive button)
|
|
160
|
+
- Footer: Static HTML (no JavaScript)
|
|
161
|
+
|
|
162
|
+
**Result**: 90% of landing page is static HTML with zero JavaScript.
|
|
163
|
+
|
|
164
|
+
## Accessibility
|
|
165
|
+
|
|
166
|
+
All generated components are WCAG 2.1 AA compliant:
|
|
167
|
+
|
|
168
|
+
- ✅ Semantic HTML (proper heading hierarchy)
|
|
169
|
+
- ✅ Keyboard navigation
|
|
170
|
+
- ✅ Screen reader optimized
|
|
171
|
+
- ✅ 4.5:1 contrast ratio (body text)
|
|
172
|
+
- ✅ 3:1 contrast ratio (large text)
|
|
173
|
+
- ✅ Skip to main content link
|
|
174
|
+
- ✅ Focus indicators
|
|
175
|
+
|
|
176
|
+
## Example Workflows
|
|
177
|
+
|
|
178
|
+
### Workflow 1: First Time Setup
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
# 1. Create config with your brand
|
|
182
|
+
cat > .onboarding.json << EOF
|
|
183
|
+
{
|
|
184
|
+
"organizationName": "Acme Corp",
|
|
185
|
+
"tagline": "Innovation at Scale",
|
|
186
|
+
"logoUrl": "/logo.svg",
|
|
187
|
+
"colors": {
|
|
188
|
+
"primary": "217 91% 60%",
|
|
189
|
+
"secondary": "142 76% 36%",
|
|
190
|
+
"accent": "38 92% 50%"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
EOF
|
|
194
|
+
|
|
195
|
+
# 2. Generate landing page
|
|
196
|
+
bun scripts/generate-landing-page.ts
|
|
197
|
+
|
|
198
|
+
# 3. Test locally
|
|
199
|
+
cd web && bun run dev
|
|
200
|
+
|
|
201
|
+
# 4. Deploy preview
|
|
202
|
+
cd .. && ./scripts/deploy-landing-page.sh preview
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Workflow 2: Update Existing Landing Page
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
# 1. Edit brand config
|
|
209
|
+
nano .onboarding.json
|
|
210
|
+
|
|
211
|
+
# 2. Regenerate components
|
|
212
|
+
bun scripts/generate-landing-page.ts
|
|
213
|
+
|
|
214
|
+
# 3. Test locally
|
|
215
|
+
cd web && bun run dev
|
|
216
|
+
|
|
217
|
+
# 4. Deploy to production
|
|
218
|
+
cd .. && ./scripts/deploy-landing-page.sh production
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Workflow 3: A/B Testing Different Colors
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
# 1. Save current config
|
|
225
|
+
cp .onboarding.json .onboarding.backup.json
|
|
226
|
+
|
|
227
|
+
# 2. Test variant A (blue)
|
|
228
|
+
cat > .onboarding.json << EOF
|
|
229
|
+
{
|
|
230
|
+
"colors": {
|
|
231
|
+
"primary": "217 91% 60%"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
EOF
|
|
235
|
+
bun scripts/generate-landing-page.ts
|
|
236
|
+
./scripts/deploy-landing-page.sh preview
|
|
237
|
+
|
|
238
|
+
# 3. Test variant B (green)
|
|
239
|
+
cat > .onboarding.json << EOF
|
|
240
|
+
{
|
|
241
|
+
"colors": {
|
|
242
|
+
"primary": "142 76% 36%"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
EOF
|
|
246
|
+
bun scripts/generate-landing-page.ts
|
|
247
|
+
./scripts/deploy-landing-page.sh preview
|
|
248
|
+
|
|
249
|
+
# 4. Compare Lighthouse scores and choose winner
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
## Testing Checklist
|
|
253
|
+
|
|
254
|
+
Before deploying to production:
|
|
255
|
+
|
|
256
|
+
- [ ] Logo displays correctly
|
|
257
|
+
- [ ] All brand colors applied
|
|
258
|
+
- [ ] Tagline and features accurate
|
|
259
|
+
- [ ] CTA button links to correct URL
|
|
260
|
+
- [ ] Mobile responsive (test at 375px, 768px, 1440px)
|
|
261
|
+
- [ ] Dark mode works
|
|
262
|
+
- [ ] Keyboard navigation functional
|
|
263
|
+
- [ ] Screen reader reads content correctly
|
|
264
|
+
- [ ] Lighthouse score 90+
|
|
265
|
+
|
|
266
|
+
## Troubleshooting
|
|
267
|
+
|
|
268
|
+
### Logo Not Showing
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
# Check logo exists
|
|
272
|
+
ls -la web/public/logo.svg
|
|
273
|
+
|
|
274
|
+
# Verify path in config
|
|
275
|
+
cat .onboarding.json | grep logoUrl
|
|
276
|
+
# Should be: "logoUrl": "/logo.svg"
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
### Colors Not Applying
|
|
280
|
+
|
|
281
|
+
```bash
|
|
282
|
+
# Check HSL format (no hsl() wrapper)
|
|
283
|
+
cat .onboarding.json | grep primary
|
|
284
|
+
# ✅ Correct: "primary": "217 91% 60%"
|
|
285
|
+
# ❌ Wrong: "primary": "hsl(217, 91%, 60%)"
|
|
286
|
+
|
|
287
|
+
# Verify theme CSS generated
|
|
288
|
+
cat web/src/styles/landing-theme.css
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
### Build Fails
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
# Check TypeScript errors
|
|
295
|
+
cd web && bunx astro check
|
|
296
|
+
|
|
297
|
+
# Check syntax
|
|
298
|
+
bun run lint
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### Deployment Fails
|
|
302
|
+
|
|
303
|
+
```bash
|
|
304
|
+
# Ensure Cloudflare CLI installed
|
|
305
|
+
wrangler --version
|
|
306
|
+
|
|
307
|
+
# Check build succeeds locally
|
|
308
|
+
cd web && bun run build
|
|
309
|
+
|
|
310
|
+
# Verify dist directory created
|
|
311
|
+
ls -la dist/
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
## File Locations
|
|
315
|
+
|
|
316
|
+
Quick reference for where everything is:
|
|
317
|
+
|
|
318
|
+
```
|
|
319
|
+
.onboarding.json # Your brand config (create this)
|
|
320
|
+
scripts/
|
|
321
|
+
generate-landing-page.ts # Generator script
|
|
322
|
+
deploy-landing-page.sh # Deployment script
|
|
323
|
+
web/
|
|
324
|
+
src/
|
|
325
|
+
components/landing/ # Generated components
|
|
326
|
+
Hero.tsx
|
|
327
|
+
Features.tsx
|
|
328
|
+
CTA.tsx
|
|
329
|
+
Footer.tsx
|
|
330
|
+
README.md # Component docs
|
|
331
|
+
layouts/
|
|
332
|
+
LandingLayout.astro # Landing layout
|
|
333
|
+
pages/
|
|
334
|
+
index.astro # Landing page
|
|
335
|
+
styles/
|
|
336
|
+
landing-theme.css # Brand colors
|
|
337
|
+
public/
|
|
338
|
+
logo.svg # Your logo (add this)
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
## Advanced Customization
|
|
342
|
+
|
|
343
|
+
### Custom Icons
|
|
344
|
+
|
|
345
|
+
Add more icons in `/scripts/generate-landing-page.ts`:
|
|
346
|
+
|
|
347
|
+
```typescript
|
|
348
|
+
function getIconPath(icon: string): string {
|
|
349
|
+
const icons: Record<string, string> = {
|
|
350
|
+
cpu: '<rect width="16" height="16" x="4" y="4" rx="2"/>...',
|
|
351
|
+
users: '<path d="M16 21v-2a4 4 0 0 0-4-4H6..."/>',
|
|
352
|
+
zap: '<path d="M4 14a1 1 0 0 1-.78-1.63l9.9..."/>',
|
|
353
|
+
box: '<path d="M21 16V8a2 2 0 0 0-1-1.73l-7..."/>',
|
|
354
|
+
// Add your custom icon:
|
|
355
|
+
rocket: '<path d="M4.5 16.5c-1.5 1.5..."/>' // Get from lucide.dev
|
|
356
|
+
};
|
|
357
|
+
return icons[icon] || icons.box;
|
|
358
|
+
}
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
### Multiple Landing Pages
|
|
362
|
+
|
|
363
|
+
Generate different landing pages for different audiences:
|
|
364
|
+
|
|
365
|
+
```bash
|
|
366
|
+
# B2B landing page
|
|
367
|
+
cat > .onboarding.b2b.json << EOF
|
|
368
|
+
{
|
|
369
|
+
"organizationName": "Acme for Business",
|
|
370
|
+
"tagline": "Enterprise Solutions"
|
|
371
|
+
}
|
|
372
|
+
EOF
|
|
373
|
+
|
|
374
|
+
# B2C landing page
|
|
375
|
+
cat > .onboarding.b2c.json << EOF
|
|
376
|
+
{
|
|
377
|
+
"organizationName": "Acme",
|
|
378
|
+
"tagline": "For Everyone"
|
|
379
|
+
}
|
|
380
|
+
EOF
|
|
381
|
+
|
|
382
|
+
# Generate and deploy separately
|
|
383
|
+
bun scripts/generate-landing-page.ts --config=.onboarding.b2b.json
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
## Support
|
|
387
|
+
|
|
388
|
+
For issues or questions:
|
|
389
|
+
|
|
390
|
+
- **Component Docs**: `/web/src/components/landing/README.md`
|
|
391
|
+
- **Deployment Docs**: `/one/events/landing-page-generator.md`
|
|
392
|
+
- **Astro Patterns**: `/one/things/frontend.md`
|
|
393
|
+
- **Tailwind v4**: `/web/src/styles/global.css`
|
|
394
|
+
|
|
395
|
+
## Next Steps
|
|
396
|
+
|
|
397
|
+
After your landing page is live:
|
|
398
|
+
|
|
399
|
+
1. **Analytics**: Add event tracking for CTA clicks
|
|
400
|
+
2. **A/B Testing**: Test different headlines and colors
|
|
401
|
+
3. **Personalization**: Show different content based on UTM params
|
|
402
|
+
4. **Lead Capture**: Add email signup form
|
|
403
|
+
5. **Social Proof**: Add testimonials and customer logos
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
**Ready to build?** Start with: `bun scripts/generate-landing-page.ts`
|