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.
Files changed (143) hide show
  1. package/.claude/agents/agent-director.md +902 -22
  2. package/.claude/agents/agent-onboard-example-output.md +600 -0
  3. package/.claude/agents/agent-onboard.md +576 -0
  4. package/.claude/commands/ONBOARDING_ENHANCEMENT_SUMMARY.md +266 -0
  5. package/.claude/commands/one.md +411 -10
  6. package/.claude/commands/release.md +64 -3
  7. package/CLAUDE.md +55 -69
  8. package/dist/commands/init.d.ts +5 -6
  9. package/dist/commands/init.d.ts.map +1 -1
  10. package/dist/commands/init.js +101 -101
  11. package/dist/commands/init.js.map +1 -1
  12. package/dist/index.js +6 -5
  13. package/dist/index.js.map +1 -1
  14. package/dist/utils/installation-setup.d.ts +24 -1
  15. package/dist/utils/installation-setup.d.ts.map +1 -1
  16. package/dist/utils/installation-setup.js +85 -1
  17. package/dist/utils/installation-setup.js.map +1 -1
  18. package/dist/utils/launch-claude.d.ts +6 -0
  19. package/dist/utils/launch-claude.d.ts.map +1 -0
  20. package/dist/utils/launch-claude.js +51 -0
  21. package/dist/utils/launch-claude.js.map +1 -0
  22. package/dist/utils/validation.d.ts +48 -0
  23. package/dist/utils/validation.d.ts.map +1 -0
  24. package/dist/utils/validation.js +73 -0
  25. package/dist/utils/validation.js.map +1 -0
  26. package/folders.yaml +1 -1
  27. package/one/.obsidian/app.json +8 -0
  28. package/one/.obsidian/appearance.json +1 -0
  29. package/one/.obsidian/community-plugins.json +3 -0
  30. package/one/.obsidian/core-plugins.json +33 -0
  31. package/one/.obsidian/plugins/easy-bake/main.js +361 -0
  32. package/one/.obsidian/plugins/easy-bake/manifest.json +11 -0
  33. package/one/.obsidian/plugins/easy-bake/styles.css +10 -0
  34. package/one/.obsidian/workspace.json +240 -0
  35. package/one/connections/workflow-onboarding.md +683 -0
  36. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +354 -0
  37. package/one/events/CRITICAL-FIXES-COMPLETE.md +504 -0
  38. package/one/events/DEPLOYMENT.md +178 -0
  39. package/one/events/ECOMMERCE-DEMO-PLAN.md +225 -0
  40. package/one/events/ECOMMERCE-LIVE-DEMO.md +363 -0
  41. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +735 -0
  42. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +923 -0
  43. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +223 -0
  44. package/one/events/HANDOFF.md +313 -0
  45. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +503 -0
  46. package/one/events/IMPLEMENTATION_SUMMARY.md +529 -0
  47. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +666 -0
  48. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +642 -0
  49. package/one/events/LANDING-PAGE-QUICKSTART.md +407 -0
  50. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +1627 -0
  51. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +573 -0
  52. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +398 -0
  53. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +525 -0
  54. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +455 -0
  55. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +486 -0
  56. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +203 -0
  57. package/one/events/SECURITY-AUDIT-FIXES.md +376 -0
  58. package/one/events/SECURITY-SCAN-COMPLETE.md +281 -0
  59. package/one/events/SHOP-BUILD-STATUS.md +114 -0
  60. package/one/events/SHOP-PREMIUM-UPDATE.md +149 -0
  61. package/one/events/SITE-WIDE-GRADIENT-FIX.md +299 -0
  62. package/one/events/STORE-PRODUCTION-READY-STATUS.md +359 -0
  63. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +429 -0
  64. package/one/events/agent-director-enhancement-summary.md +386 -0
  65. package/one/events/agent-onboard-implementation-summary.md +457 -0
  66. package/one/events/clean-agent-ontology-cleanup-report.md +353 -0
  67. package/one/events/landing-page-generator.md +458 -0
  68. package/one/events/onboarding-implementation-complete.md +505 -0
  69. package/one/events/release.md +254 -0
  70. package/one/events/separate-implementation-status.md +537 -0
  71. package/one/groups/nine-padle-contents.baked.md +1252 -0
  72. package/one/groups/nine-padle-contents.md +6 -0
  73. package/one/knowledge/100-inference-quick-reference.md +431 -0
  74. package/one/knowledge/agent-onboard-usage.md +612 -0
  75. package/one/knowledge/cli-claude-handoff.md +718 -0
  76. package/one/knowledge/installation-folders.md +45 -1
  77. package/one/knowledge/ontology-blog.yaml +31 -0
  78. package/one/knowledge/ontology-cheatsheet.md +591 -0
  79. package/one/knowledge/ontology-community.yaml +42 -0
  80. package/one/knowledge/ontology-core-universal.md +722 -0
  81. package/one/knowledge/ontology-core.yaml +50 -0
  82. package/one/knowledge/ontology-courses.yaml +53 -0
  83. package/one/knowledge/ontology-creator.md +376 -0
  84. package/one/knowledge/ontology-developer-guide.md +789 -0
  85. package/one/knowledge/ontology-education.md +920 -0
  86. package/one/knowledge/ontology-index.md +354 -0
  87. package/one/knowledge/ontology-migration-guide.md +811 -0
  88. package/one/knowledge/ontology-minimal.yaml +1 -1
  89. package/one/knowledge/ontology-portfolio.yaml +31 -0
  90. package/one/knowledge/ontology-quickstart.md +576 -0
  91. package/one/knowledge/ontology-shop.yaml +121 -0
  92. package/one/knowledge/ontology-tokens.yaml +32 -0
  93. package/one/knowledge/ontology-tutorial.md +434 -0
  94. package/one/knowledge/ontology-video-script.md +890 -0
  95. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +467 -0
  96. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +408 -0
  97. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +369 -0
  98. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +396 -0
  99. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +468 -0
  100. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +582 -0
  101. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +449 -0
  102. package/one/things/docs/ecommerce/QUICK-START.md +368 -0
  103. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +498 -0
  104. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +237 -0
  105. package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +171 -0
  106. package/one/things/docs/ecommerce/demo.astro +309 -0
  107. package/one/things/plans/agent-director-100-inference-plans.md +410 -0
  108. package/one/things/plans/dual-website-strategy.md +612 -0
  109. package/one/things/plans/feature-based-sites.md +821 -0
  110. package/one/things/plans/multi-ontology-architecture.md +836 -0
  111. package/one/things/plans/onboarding.md +32 -0
  112. package/one/things/plans/separate.md +15 -17
  113. package/one/things/plans/start-new.md +738 -0
  114. package/one/things/templates.md +254 -0
  115. package/one/things/todo.md +23 -5
  116. package/package.json +2 -2
  117. package/one/things/claude/hooks/agent-hook-manager.js +0 -525
  118. package/one/things/claude/hooks/agent-load-balancer.js +0 -271
  119. package/one/things/claude/hooks/agent-request-interceptor.js +0 -70
  120. package/one/things/claude/hooks/cascade-feedback.js +0 -297
  121. package/one/things/claude/hooks/cascade-integration-hooks.js +0 -648
  122. package/one/things/claude/hooks/continuous-improvement-monitor.js +0 -510
  123. package/one/things/claude/hooks/file-organization-engine.js +0 -427
  124. package/one/things/claude/hooks/file-organization-monitor.js +0 -269
  125. package/one/things/claude/hooks/hook-config-manager.js +0 -202
  126. package/one/things/claude/hooks/hook-orchestrator.js +0 -662
  127. package/one/things/claude/hooks/hook-performance-report.js +0 -120
  128. package/one/things/claude/hooks/mcp-cascade-integration.js +0 -816
  129. package/one/things/claude/hooks/memory-optimizer.js +0 -510
  130. package/one/things/claude/hooks/ontology-compliance.js +0 -394
  131. package/one/things/claude/hooks/ontology-hook-manager.js +0 -316
  132. package/one/things/claude/hooks/ontology-validation-engine.js +0 -317
  133. package/one/things/claude/hooks/performance-monitoring-hook.js +0 -422
  134. package/one/things/claude/hooks/quality-scoring-engine.js +0 -834
  135. package/one/things/claude/hooks/simple-load-balancer.js +0 -238
  136. package/one/things/claude/hooks/startup-optimizer.js +0 -625
  137. package/one/things/claude/hooks/story-scoring-system.js +0 -445
  138. package/one/things/claude/hooks/story-validation-engine.js +0 -473
  139. package/one/things/claude/hooks/structure-synchronizer.js +0 -194
  140. package/one/things/claude/hooks/sub-agent-output-validator.js +0 -647
  141. package/one/things/claude/hooks/sub-agent-validation-hook.js +0 -343
  142. package/one/things/claude/hooks/trinity-validation-system.js +0 -392
  143. package/one/things/plans/organizations-to-groups.md +0 -705
@@ -0,0 +1,666 @@
1
+ # Landing Page Generator - Example Output
2
+
3
+ This document shows exactly what gets generated when you run the landing page generator.
4
+
5
+ ## Input: .onboarding.json
6
+
7
+ ```json
8
+ {
9
+ "organizationName": "ONE Platform",
10
+ "tagline": "Make Your Ideas Real",
11
+ "logoUrl": "/logo.svg",
12
+ "colors": {
13
+ "primary": "216 55% 25%",
14
+ "secondary": "219 14% 28%",
15
+ "accent": "105 22% 25%",
16
+ "background": "36 8% 88%",
17
+ "foreground": "0 0% 13%"
18
+ },
19
+ "features": [
20
+ {
21
+ "title": "AI-Native Architecture",
22
+ "description": "Built on a 6-dimension ontology that models reality through Groups, People, Things, Connections, Events, and Knowledge.",
23
+ "icon": "cpu"
24
+ },
25
+ {
26
+ "title": "Multi-Tenant by Design",
27
+ "description": "Hierarchical groups from friend circles to global governments. Complete data isolation with flexible access control.",
28
+ "icon": "users"
29
+ },
30
+ {
31
+ "title": "Real-Time Everything",
32
+ "description": "Powered by Convex for instant updates. Effect.ts for pure business logic. Type-safe from database to UI.",
33
+ "icon": "zap"
34
+ }
35
+ ],
36
+ "cta": {
37
+ "title": "Ready to Build?",
38
+ "description": "Start creating with the ONE Platform today.",
39
+ "buttonText": "Get Started",
40
+ "buttonLink": "/account/signup"
41
+ }
42
+ }
43
+ ```
44
+
45
+ ## Output 1: Hero Component
46
+
47
+ **File**: `/web/src/components/landing/Hero.tsx`
48
+
49
+ ```tsx
50
+ import { Button } from '@/components/ui/button';
51
+
52
+ export function Hero() {
53
+ return (
54
+ <section className="relative overflow-hidden py-20 md:py-32">
55
+ <div className="container mx-auto px-4">
56
+ <div className="flex flex-col items-center text-center space-y-8">
57
+ {/* Logo */}
58
+ <div className="w-32 h-32 md:w-40 md:h-40">
59
+ <img
60
+ src="/logo.svg"
61
+ alt="ONE Platform"
62
+ className="w-full h-full object-contain"
63
+ />
64
+ </div>
65
+
66
+ {/* Headline */}
67
+ <h1 className="text-4xl md:text-6xl lg:text-7xl font-bold tracking-tight">
68
+ <span className="bg-gradient-to-r from-primary via-secondary to-accent bg-clip-text text-transparent">
69
+ ONE Platform
70
+ </span>
71
+ </h1>
72
+
73
+ {/* Tagline */}
74
+ <p className="text-xl md:text-2xl text-muted-foreground max-w-2xl">
75
+ Make Your Ideas Real
76
+ </p>
77
+
78
+ {/* CTA Buttons */}
79
+ <div className="flex flex-col sm:flex-row gap-4 pt-4">
80
+ <Button size="lg" className="text-lg px-8" asChild>
81
+ <a href="/account/signup">
82
+ Get Started
83
+ </a>
84
+ </Button>
85
+ <Button size="lg" variant="outline" className="text-lg px-8" asChild>
86
+ <a href="/docs">
87
+ Learn More
88
+ </a>
89
+ </Button>
90
+ </div>
91
+ </div>
92
+ </div>
93
+
94
+ {/* Gradient Background */}
95
+ <div className="absolute inset-0 -z-10 bg-gradient-to-b from-primary/5 via-transparent to-transparent" />
96
+ </section>
97
+ );
98
+ }
99
+ ```
100
+
101
+ **Visual Result**:
102
+ ```
103
+ ┌──────────────────────────────────────────────────────────────┐
104
+ │ │
105
+ │ [LOGO IMAGE] │
106
+ │ │
107
+ │ ONE Platform │
108
+ │ (gradient text) │
109
+ │ │
110
+ │ Make Your Ideas Real │
111
+ │ (muted foreground text) │
112
+ │ │
113
+ │ [Get Started] [Learn More] │
114
+ │ (primary) (outline) │
115
+ │ │
116
+ │ (subtle gradient background) │
117
+ └──────────────────────────────────────────────────────────────┘
118
+ ```
119
+
120
+ ## Output 2: Features Component
121
+
122
+ **File**: `/web/src/components/landing/Features.tsx`
123
+
124
+ ```tsx
125
+ export function Features() {
126
+ return (
127
+ <section className="py-20 md:py-32 bg-muted/50">
128
+ <div className="container mx-auto px-4">
129
+ <div className="text-center space-y-4 mb-16">
130
+ <h2 className="text-3xl md:text-5xl font-bold tracking-tight">
131
+ Why Choose ONE Platform?
132
+ </h2>
133
+ <p className="text-xl text-muted-foreground max-w-2xl mx-auto">
134
+ Built for speed, scalability, and developer experience
135
+ </p>
136
+ </div>
137
+
138
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
139
+ {/* Feature 1 */}
140
+ <div className="group relative overflow-hidden rounded-lg border bg-card p-6 hover:shadow-lg transition-shadow">
141
+ <div className="flex flex-col space-y-4">
142
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10">
143
+ <svg className="text-primary" width="24" height="24">
144
+ {/* CPU icon SVG path */}
145
+ </svg>
146
+ </div>
147
+ <h3 className="text-xl font-semibold">AI-Native Architecture</h3>
148
+ <p className="text-muted-foreground">
149
+ Built on a 6-dimension ontology that models reality through Groups, People, Things, Connections, Events, and Knowledge.
150
+ </p>
151
+ </div>
152
+ </div>
153
+
154
+ {/* Feature 2 */}
155
+ <div className="group relative overflow-hidden rounded-lg border bg-card p-6 hover:shadow-lg transition-shadow">
156
+ <div className="flex flex-col space-y-4">
157
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10">
158
+ <svg className="text-primary" width="24" height="24">
159
+ {/* Users icon SVG path */}
160
+ </svg>
161
+ </div>
162
+ <h3 className="text-xl font-semibold">Multi-Tenant by Design</h3>
163
+ <p className="text-muted-foreground">
164
+ Hierarchical groups from friend circles to global governments. Complete data isolation with flexible access control.
165
+ </p>
166
+ </div>
167
+ </div>
168
+
169
+ {/* Feature 3 */}
170
+ <div className="group relative overflow-hidden rounded-lg border bg-card p-6 hover:shadow-lg transition-shadow">
171
+ <div className="flex flex-col space-y-4">
172
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10">
173
+ <svg className="text-primary" width="24" height="24">
174
+ {/* Zap icon SVG path */}
175
+ </svg>
176
+ </div>
177
+ <h3 className="text-xl font-semibold">Real-Time Everything</h3>
178
+ <p className="text-muted-foreground">
179
+ Powered by Convex for instant updates. Effect.ts for pure business logic. Type-safe from database to UI.
180
+ </p>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </section>
186
+ );
187
+ }
188
+ ```
189
+
190
+ **Visual Result**:
191
+ ```
192
+ ┌──────────────────────────────────────────────────────────────┐
193
+ │ │
194
+ │ Why Choose ONE Platform? │
195
+ │ Built for speed, scalability, and developer experience │
196
+ │ │
197
+ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
198
+ │ │ [CPU ICON] │ │ [USERS ICON] │ │ [ZAP ICON] │ │
199
+ │ │ │ │ │ │ │ │
200
+ │ │ AI-Native │ │ Multi-Tenant │ │ Real-Time │ │
201
+ │ │ Architecture │ │ by Design │ │ Everything │ │
202
+ │ │ │ │ │ │ │ │
203
+ │ │ Description │ │ Description │ │ Description │ │
204
+ │ │ text... │ │ text... │ │ text... │ │
205
+ │ └──────────────┘ └──────────────┘ └──────────────┘ │
206
+ │ │
207
+ │ (hover for shadow effect) │
208
+ └──────────────────────────────────────────────────────────────┘
209
+ ```
210
+
211
+ ## Output 3: CTA Component
212
+
213
+ **File**: `/web/src/components/landing/CTA.tsx`
214
+
215
+ ```tsx
216
+ import { Button } from '@/components/ui/button';
217
+
218
+ export function CTA() {
219
+ return (
220
+ <section className="py-20 md:py-32">
221
+ <div className="container mx-auto px-4">
222
+ <div className="relative overflow-hidden rounded-2xl bg-gradient-to-r from-primary via-secondary to-accent p-12 md:p-20 text-center">
223
+ <div className="relative z-10 space-y-6">
224
+ <h2 className="text-3xl md:text-5xl font-bold text-primary-foreground">
225
+ Ready to Build?
226
+ </h2>
227
+ <p className="text-xl text-primary-foreground/90 max-w-2xl mx-auto">
228
+ Start creating with the ONE Platform today.
229
+ </p>
230
+ <div className="pt-4">
231
+ <Button
232
+ size="lg"
233
+ variant="secondary"
234
+ className="text-lg px-8"
235
+ asChild
236
+ >
237
+ <a href="/account/signup">
238
+ Get Started
239
+ </a>
240
+ </Button>
241
+ </div>
242
+ </div>
243
+
244
+ {/* Decorative gradient overlay */}
245
+ <div className="absolute inset-0 bg-gradient-to-t from-black/20 to-transparent" />
246
+ </div>
247
+ </div>
248
+ </section>
249
+ );
250
+ }
251
+ ```
252
+
253
+ **Visual Result**:
254
+ ```
255
+ ┌──────────────────────────────────────────────────────────────┐
256
+ │ ╔════════════════════════════════════════════════════════╗ │
257
+ │ ║ ║ │
258
+ │ ║ Ready to Build? ║ │
259
+ │ ║ (white text on gradient background) ║ │
260
+ │ ║ ║ │
261
+ │ ║ Start creating with the ONE Platform today. ║ │
262
+ │ ║ ║ │
263
+ │ ║ [Get Started] ║ │
264
+ │ ║ (secondary button) ║ │
265
+ │ ║ ║ │
266
+ │ ║ (gradient: primary → secondary → accent) ║ │
267
+ │ ╚════════════════════════════════════════════════════════╝ │
268
+ └──────────────────────────────────────────────────────────────┘
269
+ ```
270
+
271
+ ## Output 4: Footer Component
272
+
273
+ **File**: `/web/src/components/landing/Footer.tsx`
274
+
275
+ ```tsx
276
+ export function Footer() {
277
+ const currentYear = new Date().getFullYear();
278
+
279
+ return (
280
+ <footer className="border-t bg-card">
281
+ <div className="container mx-auto px-4 py-12">
282
+ <div className="grid grid-cols-1 md:grid-cols-4 gap-8">
283
+ {/* Brand */}
284
+ <div className="space-y-4">
285
+ <h3 className="font-semibold text-lg">ONE Platform</h3>
286
+ <p className="text-sm text-muted-foreground">
287
+ Make Your Ideas Real
288
+ </p>
289
+ </div>
290
+
291
+ {/* Product */}
292
+ <div className="space-y-4">
293
+ <h4 className="font-semibold">Product</h4>
294
+ <ul className="space-y-2 text-sm text-muted-foreground">
295
+ <li><a href="/features">Features</a></li>
296
+ <li><a href="/pricing">Pricing</a></li>
297
+ <li><a href="/docs">Documentation</a></li>
298
+ <li><a href="/blog">Blog</a></li>
299
+ </ul>
300
+ </div>
301
+
302
+ {/* Company */}
303
+ <div className="space-y-4">
304
+ <h4 className="font-semibold">Company</h4>
305
+ <ul className="space-y-2 text-sm text-muted-foreground">
306
+ <li><a href="/about">About</a></li>
307
+ <li><a href="/contact">Contact</a></li>
308
+ <li><a href="/careers">Careers</a></li>
309
+ <li><a href="/privacy">Privacy</a></li>
310
+ </ul>
311
+ </div>
312
+
313
+ {/* Resources */}
314
+ <div className="space-y-4">
315
+ <h4 className="font-semibold">Resources</h4>
316
+ <ul className="space-y-2 text-sm text-muted-foreground">
317
+ <li><a href="/support">Support</a></li>
318
+ <li><a href="/status">Status</a></li>
319
+ <li><a href="https://github.com/one-ie">GitHub</a></li>
320
+ <li><a href="/changelog">Changelog</a></li>
321
+ </ul>
322
+ </div>
323
+ </div>
324
+
325
+ <div className="mt-12 pt-8 border-t text-center text-sm text-muted-foreground">
326
+ <p>&copy; 2025 ONE Platform. All rights reserved.</p>
327
+ </div>
328
+ </div>
329
+ </footer>
330
+ );
331
+ }
332
+ ```
333
+
334
+ **Visual Result**:
335
+ ```
336
+ ┌──────────────────────────────────────────────────────────────┐
337
+ │ ────────────────────────────────────────────────────────────│
338
+ │ │
339
+ │ ONE Platform Product Company Resources │
340
+ │ Make Your Features About Support │
341
+ │ Ideas Real Pricing Contact Status │
342
+ │ Docs Careers GitHub │
343
+ │ Blog Privacy Changelog │
344
+ │ │
345
+ │ ────────────────────────────────────────────────────────────│
346
+ │ © 2025 ONE Platform. All rights reserved. │
347
+ └──────────────────────────────────────────────────────────────┘
348
+ ```
349
+
350
+ ## Output 5: Landing Theme CSS
351
+
352
+ **File**: `/web/src/styles/landing-theme.css`
353
+
354
+ ```css
355
+ /* Landing page theme generated from .onboarding.json */
356
+
357
+ @theme {
358
+ /* Brand colors from onboarding */
359
+ --color-primary: 216 55% 25%;
360
+ --color-secondary: 219 14% 28%;
361
+ --color-accent: 105 22% 25%;
362
+ --color-background: 36 8% 88%;
363
+ --color-foreground: 0 0% 13%;
364
+
365
+ /* Derived colors */
366
+ --color-primary-foreground: 36 8% 96%;
367
+ --color-secondary-foreground: 36 8% 96%;
368
+ --color-accent-foreground: 36 8% 96%;
369
+
370
+ /* Semantic colors */
371
+ --color-card: 36 10% 74%;
372
+ --color-card-foreground: 0 0% 13%;
373
+ --color-muted: 219 14% 92%;
374
+ --color-muted-foreground: 219 14% 30%;
375
+ --color-border: 0 0% 100% / 0.1;
376
+ }
377
+
378
+ /* Dark mode overrides */
379
+ .dark {
380
+ --color-background: 0 0% 13%;
381
+ --color-foreground: 36 8% 96%;
382
+ --color-card: 0 0% 10%;
383
+ --color-card-foreground: 36 8% 96%;
384
+ --color-muted: 216 63% 17%;
385
+ --color-muted-foreground: 36 8% 80%;
386
+ }
387
+ ```
388
+
389
+ ## Output 6: Index Page
390
+
391
+ **File**: `/web/src/pages/index.astro`
392
+
393
+ ```astro
394
+ ---
395
+ import LandingLayout from '@/layouts/LandingLayout.astro';
396
+ import { Hero } from '@/components/landing/Hero';
397
+ import { Features } from '@/components/landing/Features';
398
+ import { CTA } from '@/components/landing/CTA';
399
+ import { Footer } from '@/components/landing/Footer';
400
+ ---
401
+
402
+ <LandingLayout title="ONE Platform - Make Your Ideas Real">
403
+ <Hero client:load />
404
+ <Features />
405
+ <CTA client:load />
406
+ <Footer />
407
+ </LandingLayout>
408
+ ```
409
+
410
+ ## Full Page Visual
411
+
412
+ ```
413
+ ┌─────────────────────────────────────────────────────────────────┐
414
+ │ HEADER (Hero) │
415
+ │ │
416
+ │ [LOGO IMAGE] │
417
+ │ │
418
+ │ ONE Platform │
419
+ │ (gradient text) │
420
+ │ │
421
+ │ Make Your Ideas Real │
422
+ │ │
423
+ │ [Get Started] [Learn More] │
424
+ │ │
425
+ │ (subtle gradient background) │
426
+ ├─────────────────────────────────────────────────────────────────┤
427
+ │ FEATURES SECTION │
428
+ │ │
429
+ │ Why Choose ONE Platform? │
430
+ │ Built for speed, scalability, and developer experience │
431
+ │ │
432
+ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ │
433
+ │ │ [ICON CPU] │ │[ICON USERS]│ │ [ICON ZAP] │ │
434
+ │ │ │ │ │ │ │ │
435
+ │ │ AI-Native │ │Multi-Tenant│ │ Real-Time │ │
436
+ │ │Architecture│ │ by Design │ │ Everything │ │
437
+ │ │ │ │ │ │ │ │
438
+ │ │Description │ │Description │ │Description │ │
439
+ │ │ text... │ │ text... │ │ text... │ │
440
+ │ └────────────┘ └────────────┘ └────────────┘ │
441
+ │ │
442
+ │ (muted background, cards on hover) │
443
+ ├─────────────────────────────────────────────────────────────────┤
444
+ │ CTA SECTION │
445
+ │ ╔═══════════════════════════════════════════════════════════╗ │
446
+ │ ║ ║ │
447
+ │ ║ Ready to Build? ║ │
448
+ │ ║ (white text on gradient background) ║ │
449
+ │ ║ ║ │
450
+ │ ║ Start creating with the ONE Platform today. ║ │
451
+ │ ║ ║ │
452
+ │ ║ [Get Started] ║ │
453
+ │ ║ ║ │
454
+ │ ║ (gradient: primary → secondary → accent) ║ │
455
+ │ ╚═══════════════════════════════════════════════════════════╝ │
456
+ ├─────────────────────────────────────────────────────────────────┤
457
+ │ FOOTER │
458
+ │ │
459
+ │ ONE Platform Product Company Resources │
460
+ │ Make Your Features About Support │
461
+ │ Ideas Real Pricing Contact Status │
462
+ │ Docs Careers GitHub │
463
+ │ Blog Privacy Changelog │
464
+ │ │
465
+ │ ───────────────────────────────────────────────────────────── │
466
+ │ © 2025 ONE Platform. All rights reserved. │
467
+ └─────────────────────────────────────────────────────────────────┘
468
+ ```
469
+
470
+ ## Responsive Behavior
471
+
472
+ ### Mobile (375px)
473
+
474
+ ```
475
+ ┌────────────────┐
476
+ │ [LOGO] │
477
+ │ │
478
+ │ ONE Platform │
479
+ │ (stacked) │
480
+ │ │
481
+ │ Make Your │
482
+ │ Ideas Real │
483
+ │ │
484
+ │ [Get Started] │
485
+ │ [Learn More] │
486
+ │ │
487
+ ├────────────────┤
488
+ │ Why Choose? │
489
+ │ │
490
+ │ ┌────────────┐ │
491
+ │ │ Feature 1 │ │
492
+ │ └────────────┘ │
493
+ │ ┌────────────┐ │
494
+ │ │ Feature 2 │ │
495
+ │ └────────────┘ │
496
+ │ ┌────────────┐ │
497
+ │ │ Feature 3 │ │
498
+ │ └────────────┘ │
499
+ │ │
500
+ ├────────────────┤
501
+ │ ╔════════════╗ │
502
+ │ ║Ready to ║ │
503
+ │ ║Build? ║ │
504
+ │ ║ ║ │
505
+ │ ║[Get Started║ │
506
+ │ ╚════════════╝ │
507
+ │ │
508
+ ├────────────────┤
509
+ │ ONE Platform │
510
+ │ Product │
511
+ │ Company │
512
+ │ Resources │
513
+ │ │
514
+ │ © 2025 │
515
+ └────────────────┘
516
+ ```
517
+
518
+ ### Tablet (768px)
519
+
520
+ ```
521
+ ┌──────────────────────────────┐
522
+ │ [LOGO] │
523
+ │ │
524
+ │ ONE Platform │
525
+ │ │
526
+ │ Make Your Ideas Real │
527
+ │ │
528
+ │ [Get Started] [Learn More] │
529
+ │ │
530
+ ├──────────────────────────────┤
531
+ │ Why Choose ONE Platform? │
532
+ │ │
533
+ │ ┌───────────┐ ┌───────────┐ │
534
+ │ │ Feature 1 │ │ Feature 2 │ │
535
+ │ └───────────┘ └───────────┘ │
536
+ │ ┌───────────┐ │
537
+ │ │ Feature 3 │ │
538
+ │ └───────────┘ │
539
+ │ │
540
+ ├──────────────────────────────┤
541
+ │ ╔══════════════════════════╗ │
542
+ │ ║ Ready to Build? ║ │
543
+ │ ║ ║ │
544
+ │ ║ [Get Started] ║ │
545
+ │ ╚══════════════════════════╝ │
546
+ │ │
547
+ ├──────────────────────────────┤
548
+ │ ONE Product Company │
549
+ │ Resources │
550
+ │ │
551
+ │ © 2025 │
552
+ └──────────────────────────────┘
553
+ ```
554
+
555
+ ### Desktop (1440px)
556
+
557
+ ```
558
+ ┌──────────────────────────────────────────────────────────────┐
559
+ │ [LOGO] │
560
+ │ │
561
+ │ ONE Platform │
562
+ │ │
563
+ │ Make Your Ideas Real │
564
+ │ │
565
+ │ [Get Started] [Learn More] │
566
+ │ │
567
+ ├──────────────────────────────────────────────────────────────┤
568
+ │ Why Choose ONE Platform? │
569
+ │ │
570
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
571
+ │ │Feature 1 │ │Feature 2 │ │Feature 3 │ │
572
+ │ └──────────┘ └──────────┘ └──────────┘ │
573
+ │ │
574
+ ├──────────────────────────────────────────────────────────────┤
575
+ │ ╔════════════════════════════════════════════════════════╗ │
576
+ │ ║ Ready to Build? ║ │
577
+ │ ║ ║ │
578
+ │ ║ [Get Started] ║ │
579
+ │ ╚════════════════════════════════════════════════════════╝ │
580
+ │ │
581
+ ├──────────────────────────────────────────────────────────────┤
582
+ │ ONE Platform Product Company Resources │
583
+ │ │
584
+ │ © 2025 │
585
+ └──────────────────────────────────────────────────────────────┘
586
+ ```
587
+
588
+ ## Performance Analysis
589
+
590
+ ### Network Tab (Expected)
591
+
592
+ ```
593
+ Name Size (gzipped) Type Load Time
594
+ ──────────────────────────────────────────────────────────
595
+ index.html 15 KB document 200ms
596
+ landing-theme.css 8 KB stylesheet 50ms
597
+ logo.svg 2 KB image 30ms
598
+ hero-bundle.js 8 KB script 80ms
599
+ cta-bundle.js 6 KB script 60ms
600
+ button.js 4 KB script 40ms
601
+ react-runtime.js 12 KB script 100ms
602
+ ──────────────────────────────────────────────────────────
603
+ TOTAL 55 KB 560ms
604
+ ```
605
+
606
+ ### Lighthouse Report (Expected)
607
+
608
+ ```
609
+ Performance: 95/100
610
+ FCP: 0.9s
611
+ LCP: 1.5s
612
+ TBT: 20ms
613
+ CLS: 0.05
614
+ Speed Index: 1.2s
615
+
616
+ Accessibility: 100/100
617
+ Contrast: ✓ 4.5:1 minimum
618
+ Navigation: ✓ Keyboard accessible
619
+ ARIA: ✓ Proper labels
620
+ Headings: ✓ Logical hierarchy
621
+
622
+ Best Practices: 100/100
623
+ HTTPS: ✓
624
+ Console: ✓ No errors
625
+ Images: ✓ Proper sizing
626
+
627
+ SEO: 100/100
628
+ Meta: ✓ Description present
629
+ Headings: ✓ H1 present
630
+ Links: ✓ Descriptive text
631
+ Mobile: ✓ Responsive
632
+ ```
633
+
634
+ ## CLI Output Example
635
+
636
+ ```bash
637
+ $ bun scripts/generate-landing-page.ts
638
+
639
+ 🎨 Landing Page Generator - Infer 1-10
640
+
641
+ ⚠️ No .onboarding.json found, using defaults
642
+ 📋 Organization: ONE Platform
643
+ 📋 Tagline: Make Your Ideas Real
644
+ ✅ Created components/landing directory
645
+ ✅ Generated Hero.tsx
646
+ ✅ Generated Features.tsx
647
+ ✅ Generated CTA.tsx
648
+ ✅ Generated Footer.tsx
649
+ ✅ Generated index.astro
650
+ ✅ Generated landing-theme.css
651
+
652
+ ✨ Landing page generated successfully!
653
+
654
+ 📝 Next steps:
655
+ 1. Import landing-theme.css in your Layout.astro
656
+ 2. Add logo file to public/ directory
657
+ 3. Run: cd web && bun run dev
658
+ 4. Visit: http://localhost:4321
659
+
660
+ 📄 Created example .onboarding.json
661
+ Customize this file with your brand data
662
+ ```
663
+
664
+ ---
665
+
666
+ This example shows the complete output of the landing page generator, from input JSON to generated components, styling, and final visual appearance across all device sizes.