nextworks 0.2.0-alpha.11 → 0.2.0-alpha.13

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 (111) hide show
  1. package/README.md +283 -282
  2. package/dist/cli_manifests/blocks_manifest.json +198 -175
  3. package/dist/kits/blocks/.nextworks/docs/BLOCKS_QUICKSTART.md +101 -100
  4. package/dist/kits/blocks/.nextworks/docs/BLOCKS_README.md +105 -104
  5. package/dist/kits/blocks/.nextworks/docs/THEME_GUIDE.md +1 -1
  6. package/dist/kits/blocks/app/templates/aiworkflow/PresetThemeVars.tsx +58 -0
  7. package/dist/kits/blocks/app/templates/aiworkflow/README.md +46 -0
  8. package/dist/kits/blocks/app/templates/aiworkflow/components/CTA.tsx +44 -0
  9. package/dist/kits/blocks/app/templates/aiworkflow/components/Contact.tsx +105 -0
  10. package/dist/kits/blocks/app/templates/aiworkflow/components/FAQ.tsx +63 -0
  11. package/dist/kits/blocks/app/templates/aiworkflow/components/Features.tsx +65 -0
  12. package/dist/kits/blocks/app/templates/aiworkflow/components/Footer.tsx +109 -0
  13. package/dist/kits/blocks/app/templates/aiworkflow/components/Hero.tsx +636 -0
  14. package/dist/kits/blocks/app/templates/aiworkflow/components/Navbar.tsx +90 -0
  15. package/dist/kits/blocks/app/templates/aiworkflow/components/Pricing.tsx +86 -0
  16. package/dist/kits/blocks/app/templates/aiworkflow/components/ProcessTimeline.tsx +103 -0
  17. package/dist/kits/blocks/app/templates/aiworkflow/components/Testimonials.tsx +56 -0
  18. package/dist/kits/blocks/app/templates/aiworkflow/components/TrustBadges.tsx +59 -0
  19. package/dist/kits/blocks/app/templates/aiworkflow/page.tsx +43 -0
  20. package/dist/kits/blocks/app/templates/digitalagency/PresetThemeVars.tsx +80 -80
  21. package/dist/kits/blocks/app/templates/digitalagency/README.md +42 -42
  22. package/dist/kits/blocks/app/templates/digitalagency/components/Pricing.tsx +114 -114
  23. package/dist/kits/blocks/app/templates/digitalagency/components/Process.tsx +59 -59
  24. package/dist/kits/blocks/app/templates/digitalagency/components/Services.tsx +55 -55
  25. package/dist/kits/blocks/app/templates/digitalagency/components/Team.tsx +28 -28
  26. package/dist/kits/blocks/app/templates/digitalagency/components/Testimonials.tsx +65 -65
  27. package/dist/kits/blocks/app/templates/digitalagency/page.tsx +38 -38
  28. package/dist/kits/blocks/app/templates/gallery/PresetThemeVars.tsx +84 -84
  29. package/dist/kits/blocks/app/templates/productlaunch/PresetThemeVars.tsx +75 -75
  30. package/dist/kits/blocks/app/templates/productlaunch/README.md +62 -62
  31. package/dist/kits/blocks/app/templates/productlaunch/components/About.tsx +84 -84
  32. package/dist/kits/blocks/app/templates/productlaunch/components/CTA.tsx +50 -50
  33. package/dist/kits/blocks/app/templates/productlaunch/components/Contact.tsx +231 -231
  34. package/dist/kits/blocks/app/templates/productlaunch/components/FAQ.tsx +86 -86
  35. package/dist/kits/blocks/app/templates/productlaunch/components/Features.tsx +83 -83
  36. package/dist/kits/blocks/app/templates/productlaunch/components/Footer.tsx +132 -132
  37. package/dist/kits/blocks/app/templates/productlaunch/components/Hero.tsx +88 -88
  38. package/dist/kits/blocks/app/templates/productlaunch/components/Navbar.tsx +116 -116
  39. package/dist/kits/blocks/app/templates/productlaunch/components/Pricing.tsx +106 -106
  40. package/dist/kits/blocks/app/templates/productlaunch/components/ProcessTimeline.tsx +110 -110
  41. package/dist/kits/blocks/app/templates/productlaunch/components/ServicesGrid.tsx +68 -68
  42. package/dist/kits/blocks/app/templates/productlaunch/components/Team.tsx +104 -104
  43. package/dist/kits/blocks/app/templates/productlaunch/components/Testimonials.tsx +90 -90
  44. package/dist/kits/blocks/app/templates/productlaunch/components/TrustBadges.tsx +76 -76
  45. package/dist/kits/blocks/app/templates/productlaunch/page.tsx +43 -43
  46. package/dist/kits/blocks/app/templates/saasdashboard/PresetThemeVars.tsx +80 -80
  47. package/dist/kits/blocks/app/templates/saasdashboard/README.md +44 -44
  48. package/dist/kits/blocks/app/templates/saasdashboard/components/Contact.tsx +129 -129
  49. package/dist/kits/blocks/app/templates/saasdashboard/components/Dashboard.tsx +293 -293
  50. package/dist/kits/blocks/app/templates/saasdashboard/components/FAQ.tsx +55 -55
  51. package/dist/kits/blocks/app/templates/saasdashboard/components/Features.tsx +90 -90
  52. package/dist/kits/blocks/app/templates/saasdashboard/components/Footer.tsx +77 -77
  53. package/dist/kits/blocks/app/templates/saasdashboard/components/Hero.tsx +104 -104
  54. package/dist/kits/blocks/app/templates/saasdashboard/components/Hero_mask.tsx +126 -126
  55. package/dist/kits/blocks/app/templates/saasdashboard/components/Navbar.tsx +117 -117
  56. package/dist/kits/blocks/app/templates/saasdashboard/components/Pricing.tsx +90 -90
  57. package/dist/kits/blocks/app/templates/saasdashboard/components/SmoothScroll.tsx +96 -96
  58. package/dist/kits/blocks/app/templates/saasdashboard/components/Testimonials.tsx +72 -72
  59. package/dist/kits/blocks/app/templates/saasdashboard/components/TrustBadges.tsx +53 -53
  60. package/dist/kits/blocks/app/templates/saasdashboard/page.tsx +39 -39
  61. package/dist/kits/blocks/components/enhanced-theme-provider.tsx +195 -195
  62. package/dist/kits/blocks/components/providers/BlocksAppProviders.tsx +27 -27
  63. package/dist/kits/blocks/components/sections/About.tsx +291 -291
  64. package/dist/kits/blocks/components/sections/CTA.tsx +257 -257
  65. package/dist/kits/blocks/components/sections/Contact.tsx +267 -267
  66. package/dist/kits/blocks/components/sections/FAQ.tsx +214 -214
  67. package/dist/kits/blocks/components/sections/Features.tsx +268 -268
  68. package/dist/kits/blocks/components/sections/Footer.tsx +302 -302
  69. package/dist/kits/blocks/components/sections/HeroMotion.tsx +308 -308
  70. package/dist/kits/blocks/components/sections/HeroOverlay.tsx +358 -358
  71. package/dist/kits/blocks/components/sections/HeroProductDemo.tsx +236 -0
  72. package/dist/kits/blocks/components/sections/HeroSplit.tsx +352 -352
  73. package/dist/kits/blocks/components/sections/Navbar.tsx +350 -350
  74. package/dist/kits/blocks/components/sections/PortfolioSimple.tsx +549 -549
  75. package/dist/kits/blocks/components/sections/Pricing.tsx +264 -264
  76. package/dist/kits/blocks/components/sections/ProcessTimeline.tsx +325 -325
  77. package/dist/kits/blocks/components/sections/ServicesGrid.tsx +210 -210
  78. package/dist/kits/blocks/components/sections/Team.tsx +309 -309
  79. package/dist/kits/blocks/components/sections/Testimonials.tsx +158 -158
  80. package/dist/kits/blocks/components/sections/TrustBadges.tsx +162 -162
  81. package/dist/kits/blocks/components/sections/product-demo/ApprovalInboxPanel.tsx +125 -0
  82. package/dist/kits/blocks/components/sections/product-demo/DemoStage.tsx +397 -0
  83. package/dist/kits/blocks/components/sections/product-demo/DemoWindow.tsx +128 -0
  84. package/dist/kits/blocks/components/sections/product-demo/KnowledgePanel.tsx +127 -0
  85. package/dist/kits/blocks/components/sections/product-demo/RunConsolePanel.tsx +150 -0
  86. package/dist/kits/blocks/components/sections/product-demo/WorkflowStudioPanel.tsx +191 -0
  87. package/dist/kits/blocks/components/sections/product-demo/types.ts +193 -0
  88. package/dist/kits/blocks/components/theme-provider.tsx +1 -1
  89. package/dist/kits/blocks/components/ui/alert-dialog.tsx +134 -134
  90. package/dist/kits/blocks/components/ui/brand-node.tsx +121 -121
  91. package/dist/kits/blocks/components/ui/button.tsx +122 -122
  92. package/dist/kits/blocks/components/ui/card.tsx +95 -95
  93. package/dist/kits/blocks/components/ui/checkbox.tsx +30 -30
  94. package/dist/kits/blocks/components/ui/cta-button.tsx +125 -125
  95. package/dist/kits/blocks/components/ui/dropdown-menu.tsx +201 -201
  96. package/dist/kits/blocks/components/ui/feature-card.tsx +91 -91
  97. package/dist/kits/blocks/components/ui/input.tsx +27 -27
  98. package/dist/kits/blocks/components/ui/label.tsx +29 -29
  99. package/dist/kits/blocks/components/ui/pricing-card.tsx +120 -120
  100. package/dist/kits/blocks/components/ui/select.tsx +25 -25
  101. package/dist/kits/blocks/components/ui/skeleton.tsx +13 -13
  102. package/dist/kits/blocks/components/ui/table.tsx +98 -98
  103. package/dist/kits/blocks/components/ui/testimonial-card.tsx +108 -108
  104. package/dist/kits/blocks/components/ui/textarea.tsx +26 -26
  105. package/dist/kits/blocks/components/ui/theme-selector.tsx +243 -243
  106. package/dist/kits/blocks/components/ui/theme-toggle.tsx +74 -74
  107. package/dist/kits/blocks/components/ui/toaster.tsx +7 -7
  108. package/dist/kits/blocks/lib/themes.ts +400 -400
  109. package/dist/kits/blocks/lib/utils.ts +6 -6
  110. package/dist/kits/blocks/package-deps.json +3 -3
  111. package/package.json +1 -1
@@ -0,0 +1,636 @@
1
+ "use client";
2
+
3
+ import { HeroProductDemo } from "@/components/sections/HeroProductDemo";
4
+ import type { ProductDemoScenario } from "@/components/sections/product-demo/types";
5
+
6
+ const scenarios: ProductDemoScenario[] = [
7
+ {
8
+ key: "intake-triage",
9
+ label: "Intake & triage",
10
+ description:
11
+ "AI turns (test ) revenue operations request into a routed workflow with approvals and live context.",
12
+ activeWindow: "workflowStudio",
13
+ workflowStudio: {
14
+ window: {
15
+ key: "workflowStudio",
16
+ title: "Workflow Studio",
17
+ subtitle: "Request intake",
18
+ status: { label: "Drafting", tone: "info" },
19
+ badge: "Scenario 01",
20
+ layoutHint: {
21
+ x: 0,
22
+ y: 0,
23
+ width: 62,
24
+ height: 72,
25
+ zIndex: 40,
26
+ rotateDeg: -2,
27
+ },
28
+ },
29
+ title: "New request → launch expansion campaign",
30
+ subtitle:
31
+ "AI maps triggers, owners, systems, and approval checkpoints before launch.",
32
+ activeNodeId: "route-approval",
33
+ activeRegionId: "handoffs",
34
+ highlights: [
35
+ { id: "route-approval", label: "Approval routing", tone: "accent" },
36
+ { id: "crm-sync", label: "CRM sync", tone: "info" },
37
+ ],
38
+ nodes: [
39
+ {
40
+ id: "request-intake",
41
+ label: "Parse request",
42
+ description: "Extract goal, audience, budget, and timing from Slack.",
43
+ type: "AI",
44
+ status: "success",
45
+ metadata: "Slack → structured brief",
46
+ },
47
+ {
48
+ id: "policy-check",
49
+ label: "Check playbooks",
50
+ description: "Validate budget thresholds and required approvers.",
51
+ type: "Guardrail",
52
+ status: "success",
53
+ metadata: "Policy set v3.2",
54
+ },
55
+ {
56
+ id: "route-approval",
57
+ label: "Route approval",
58
+ description:
59
+ "Send legal + finance review in parallel with due dates.",
60
+ type: "Approval",
61
+ status: "warning",
62
+ active: true,
63
+ emphasized: true,
64
+ metadata: "2 approvers pending",
65
+ },
66
+ {
67
+ id: "crm-sync",
68
+ label: "Update CRM",
69
+ description: "Create campaign and account tasks once approved.",
70
+ type: "Action",
71
+ status: "neutral",
72
+ metadata: "HubSpot + Salesforce",
73
+ },
74
+ ],
75
+ branches: [
76
+ {
77
+ id: "b1",
78
+ fromNodeId: "request-intake",
79
+ toNodeId: "policy-check",
80
+ status: "success",
81
+ active: true,
82
+ },
83
+ {
84
+ id: "b2",
85
+ fromNodeId: "policy-check",
86
+ toNodeId: "route-approval",
87
+ label: "Budget > $25k",
88
+ status: "warning",
89
+ active: true,
90
+ },
91
+ {
92
+ id: "b3",
93
+ fromNodeId: "route-approval",
94
+ toNodeId: "crm-sync",
95
+ label: "On approval",
96
+ status: "neutral",
97
+ },
98
+ ],
99
+ regions: [
100
+ {
101
+ id: "intake",
102
+ label: "Intake",
103
+ description: "AI request parsing and enrichment",
104
+ status: "success",
105
+ nodeIds: ["request-intake", "policy-check"],
106
+ },
107
+ {
108
+ id: "handoffs",
109
+ label: "Handoffs",
110
+ description: "Approval routing and downstream actions",
111
+ status: "warning",
112
+ nodeIds: ["route-approval", "crm-sync"],
113
+ active: true,
114
+ highlighted: true,
115
+ },
116
+ ],
117
+ },
118
+ runConsole: {
119
+ window: {
120
+ key: "runConsole",
121
+ title: "Live Run",
122
+ subtitle: "Execution feed",
123
+ status: { label: "Streaming", tone: "info" },
124
+ badge: "24 events",
125
+ layoutHint: {
126
+ x: 50,
127
+ y: 12,
128
+ width: 44,
129
+ height: 52,
130
+ zIndex: 30,
131
+ rotateDeg: 2,
132
+ },
133
+ },
134
+ title: "AI orchestration log",
135
+ subtitle: "Every step is visible, timed, and recoverable.",
136
+ statusLabel: "Awaiting approvals",
137
+ progressLabel: "3 of 5 steps complete",
138
+ progressPercent: 64,
139
+ activeEntryId: "log-3",
140
+ entries: [
141
+ {
142
+ id: "log-1",
143
+ message: "Parsed inbound request from #revops-priority",
144
+ timestamp: "09:14",
145
+ source: "Slack",
146
+ status: "success",
147
+ },
148
+ {
149
+ id: "log-2",
150
+ message: "Matched campaign launch playbook and risk policy",
151
+ timestamp: "09:14",
152
+ source: "Policy Engine",
153
+ status: "success",
154
+ },
155
+ {
156
+ id: "log-3",
157
+ message: "Opened approval tasks for finance and legal",
158
+ timestamp: "09:15",
159
+ source: "Approval Router",
160
+ status: "warning",
161
+ highlighted: true,
162
+ detail: "Due in 2h • fallback escalation enabled",
163
+ },
164
+ {
165
+ id: "log-4",
166
+ message: "Prepared CRM updates and downstream notifications",
167
+ timestamp: "09:15",
168
+ source: "Workflow Engine",
169
+ status: "info",
170
+ },
171
+ ],
172
+ metrics: [
173
+ { id: "m1", label: "Latency", value: "1.8s", tone: "success" },
174
+ { id: "m2", label: "Systems", value: "6", tone: "info" },
175
+ { id: "m3", label: "Fallbacks", value: "0", tone: "success" },
176
+ ],
177
+ highlights: [{ id: "log-3", label: "Approval handoff", tone: "warning" }],
178
+ },
179
+ approvalInbox: {
180
+ window: {
181
+ key: "approvalInbox",
182
+ title: "Approval Inbox",
183
+ subtitle: "Decisions",
184
+ status: { label: "Needs review", tone: "warning" },
185
+ badge: "2 pending",
186
+ layoutHint: {
187
+ x: 8,
188
+ y: 56,
189
+ width: 38,
190
+ height: 38,
191
+ zIndex: 20,
192
+ rotateDeg: 1,
193
+ },
194
+ },
195
+ title: "High-confidence approvals",
196
+ subtitle: "Review only where policy requires human sign-off.",
197
+ activeItemId: "approval-1",
198
+ counts: [
199
+ { id: "c1", label: "Pending", value: "2", tone: "warning" },
200
+ { id: "c2", label: "Auto-approved", value: "14", tone: "success" },
201
+ { id: "c3", label: "Escalated", value: "0", tone: "info" },
202
+ ],
203
+ items: [
204
+ {
205
+ id: "approval-1",
206
+ title: "Budget increase for EMEA launch",
207
+ description:
208
+ "AI recommends +18% budget based on forecasted pipeline lift.",
209
+ requester: "Growth workflow",
210
+ status: "warning",
211
+ priorityLabel: "High impact",
212
+ dueLabel: "Due in 2h",
213
+ highlighted: true,
214
+ actions: [
215
+ { id: "a1", label: "Approve", tone: "success" },
216
+ { id: "a2", label: "Request change", tone: "warning" },
217
+ ],
218
+ },
219
+ {
220
+ id: "approval-2",
221
+ title: "Legal review for new vendor terms",
222
+ description:
223
+ "Generated summary attached with highlighted clause changes.",
224
+ requester: "Procurement workflow",
225
+ status: "info",
226
+ priorityLabel: "Standard",
227
+ dueLabel: "Today",
228
+ },
229
+ ],
230
+ highlights: [
231
+ { id: "approval-1", label: "Priority approval", tone: "accent" },
232
+ ],
233
+ },
234
+ knowledgePanel: {
235
+ window: {
236
+ key: "knowledgePanel",
237
+ title: "Knowledge",
238
+ subtitle: "Grounding",
239
+ status: { label: "Synced", tone: "success" },
240
+ badge: "12 sources",
241
+ layoutHint: {
242
+ x: 58,
243
+ y: 56,
244
+ width: 36,
245
+ height: 36,
246
+ zIndex: 10,
247
+ rotateDeg: -1,
248
+ },
249
+ },
250
+ title: "Context behind every action",
251
+ subtitle:
252
+ "AI cites policies, customer context, and prior outcomes before it acts.",
253
+ query:
254
+ "Which approvals are required for a regional budget expansion over $25k?",
255
+ summary:
256
+ "Finance and legal approval are required when forecasted spend exceeds threshold and vendor terms change.",
257
+ sources: [
258
+ { id: "s1", label: "Budget Policy", kind: "Policy", status: "success" },
259
+ { id: "s2", label: "Vendor Terms", kind: "Contract", status: "info" },
260
+ {
261
+ id: "s3",
262
+ label: "Campaign Playbook",
263
+ kind: "Runbook",
264
+ status: "success",
265
+ },
266
+ ],
267
+ activeSnippetId: "snippet-1",
268
+ snippets: [
269
+ {
270
+ id: "snippet-1",
271
+ title: "Budget threshold rule",
272
+ content:
273
+ "Campaigns above $25k require finance approval. Add legal review when vendor commitments or contractual language change.",
274
+ sourceId: "s1",
275
+ confidence: "98% match",
276
+ excerptLabel: "Recommended policy",
277
+ tags: ["finance", "approval routing"],
278
+ highlighted: true,
279
+ },
280
+ {
281
+ id: "snippet-2",
282
+ title: "Previous launch outcome",
283
+ content:
284
+ "Similar EMEA launch workflows reduced manual routing time by 72% while keeping audit logs intact.",
285
+ sourceId: "s3",
286
+ confidence: "Historical pattern",
287
+ tags: ["benchmark", "ops efficiency"],
288
+ },
289
+ ],
290
+ highlights: [
291
+ { id: "snippet-1", label: "Policy citation", tone: "success" },
292
+ ],
293
+ },
294
+ highlights: [
295
+ { id: "route-approval", label: "Approval branch", tone: "accent" },
296
+ { id: "approval-1", label: "Human checkpoint", tone: "warning" },
297
+ ],
298
+ },
299
+ {
300
+ key: "run-sync",
301
+ label: "Live execution",
302
+ description:
303
+ "Once approved, AI updates systems, posts status, and keeps teams synced in real time.",
304
+ activeWindow: "runConsole",
305
+ workflowStudio: {
306
+ window: {
307
+ key: "workflowStudio",
308
+ title: "Workflow Studio",
309
+ subtitle: "Approved flow",
310
+ status: { label: "Executing", tone: "success" },
311
+ badge: "Scenario 02",
312
+ layoutHint: {
313
+ x: 0,
314
+ y: 0,
315
+ width: 62,
316
+ height: 72,
317
+ zIndex: 30,
318
+ rotateDeg: -2,
319
+ },
320
+ },
321
+ title: "Approved workflow in motion",
322
+ subtitle:
323
+ "The same flow now drives tool updates, notifications, and handoffs automatically.",
324
+ activeNodeId: "notify-teams",
325
+ nodes: [
326
+ {
327
+ id: "approval-complete",
328
+ label: "Approvals cleared",
329
+ description: "Finance and legal sign-off recorded.",
330
+ type: "Checkpoint",
331
+ status: "success",
332
+ metadata: "2/2 approved",
333
+ },
334
+ {
335
+ id: "update-crm",
336
+ label: "Update CRM",
337
+ description:
338
+ "Sync campaign fields, account owners, and target lists.",
339
+ type: "Action",
340
+ status: "success",
341
+ metadata: "HubSpot + Salesforce",
342
+ },
343
+ {
344
+ id: "notify-teams",
345
+ label: "Notify teams",
346
+ description: "Post launch brief and tasks to GTM channels.",
347
+ type: "Action",
348
+ status: "info",
349
+ active: true,
350
+ emphasized: true,
351
+ metadata: "Slack + Linear",
352
+ },
353
+ {
354
+ id: "monitor-results",
355
+ label: "Monitor rollout",
356
+ description: "Track errors, latency, and downstream completion.",
357
+ type: "Observe",
358
+ status: "neutral",
359
+ metadata: "Audit + telemetry",
360
+ },
361
+ ],
362
+ branches: [
363
+ {
364
+ id: "rb1",
365
+ fromNodeId: "approval-complete",
366
+ toNodeId: "update-crm",
367
+ status: "success",
368
+ active: true,
369
+ },
370
+ {
371
+ id: "rb2",
372
+ fromNodeId: "update-crm",
373
+ toNodeId: "notify-teams",
374
+ status: "info",
375
+ active: true,
376
+ },
377
+ {
378
+ id: "rb3",
379
+ fromNodeId: "notify-teams",
380
+ toNodeId: "monitor-results",
381
+ status: "neutral",
382
+ },
383
+ ],
384
+ regions: [
385
+ {
386
+ id: "execution",
387
+ label: "Execution lane",
388
+ description: "System updates and notifications",
389
+ status: "info",
390
+ nodeIds: ["update-crm", "notify-teams", "monitor-results"],
391
+ active: true,
392
+ highlighted: true,
393
+ },
394
+ ],
395
+ },
396
+ runConsole: {
397
+ window: {
398
+ key: "runConsole",
399
+ title: "Live Run",
400
+ subtitle: "Execution feed",
401
+ status: { label: "Healthy", tone: "success" },
402
+ badge: "42 events",
403
+ layoutHint: {
404
+ x: 50,
405
+ y: 10,
406
+ width: 44,
407
+ height: 54,
408
+ zIndex: 40,
409
+ rotateDeg: 2,
410
+ },
411
+ },
412
+ title: "Everything updates in sequence",
413
+ subtitle:
414
+ "Users see the workflow advance without digging through logs or scripts.",
415
+ statusLabel: "Running smoothly",
416
+ progressLabel: "5 of 6 steps complete",
417
+ progressPercent: 86,
418
+ activeEntryId: "exec-4",
419
+ entries: [
420
+ {
421
+ id: "exec-1",
422
+ message: "Recorded finance and legal approval payloads",
423
+ timestamp: "09:18",
424
+ source: "Approval Router",
425
+ status: "success",
426
+ },
427
+ {
428
+ id: "exec-2",
429
+ message: "Updated 38 CRM records and created launch tasks",
430
+ timestamp: "09:18",
431
+ source: "CRM Sync",
432
+ status: "success",
433
+ detail: "0 conflicts detected",
434
+ },
435
+ {
436
+ id: "exec-3",
437
+ message:
438
+ "Published launch brief to #gtm-launch and created Linear checklist",
439
+ timestamp: "09:19",
440
+ source: "Notifier",
441
+ status: "info",
442
+ },
443
+ {
444
+ id: "exec-4",
445
+ message: "Monitoring downstream task completion and SLA risk",
446
+ timestamp: "09:19",
447
+ source: "Observer",
448
+ status: "success",
449
+ highlighted: true,
450
+ detail: "Auto-escalation armed if blockers appear",
451
+ },
452
+ ],
453
+ metrics: [
454
+ { id: "rm1", label: "Tasks created", value: "18", tone: "success" },
455
+ { id: "rm2", label: "Records updated", value: "38", tone: "info" },
456
+ { id: "rm3", label: "Errors", value: "0", tone: "success" },
457
+ ],
458
+ highlights: [{ id: "exec-4", label: "Live monitoring", tone: "success" }],
459
+ },
460
+ approvalInbox: {
461
+ window: {
462
+ key: "approvalInbox",
463
+ title: "Approval Inbox",
464
+ subtitle: "Audit trail",
465
+ status: { label: "Clear", tone: "success" },
466
+ badge: "0 pending",
467
+ layoutHint: {
468
+ x: 10,
469
+ y: 58,
470
+ width: 36,
471
+ height: 34,
472
+ zIndex: 20,
473
+ rotateDeg: 1,
474
+ },
475
+ },
476
+ title: "Approvals only when needed",
477
+ subtitle:
478
+ "Human review is targeted, auditable, and out of the critical path once complete.",
479
+ counts: [
480
+ { id: "rc1", label: "Pending", value: "0", tone: "success" },
481
+ { id: "rc2", label: "Completed", value: "8", tone: "info" },
482
+ { id: "rc3", label: "Auto-approved", value: "22", tone: "success" },
483
+ ],
484
+ items: [
485
+ {
486
+ id: "approval-done-1",
487
+ title: "Finance approval recorded",
488
+ description:
489
+ "Budget threshold exception approved with full audit log.",
490
+ requester: "Growth workflow",
491
+ status: "success",
492
+ priorityLabel: "Complete",
493
+ dueLabel: "09:17",
494
+ },
495
+ {
496
+ id: "approval-done-2",
497
+ title: "Legal review completed",
498
+ description:
499
+ "Clause changes accepted and attached to workflow record.",
500
+ requester: "Procurement workflow",
501
+ status: "success",
502
+ priorityLabel: "Complete",
503
+ dueLabel: "09:18",
504
+ },
505
+ ],
506
+ },
507
+ knowledgePanel: {
508
+ window: {
509
+ key: "knowledgePanel",
510
+ title: "Knowledge",
511
+ subtitle: "Operational context",
512
+ status: { label: "Fresh", tone: "success" },
513
+ badge: "8 live docs",
514
+ layoutHint: {
515
+ x: 58,
516
+ y: 56,
517
+ width: 34,
518
+ height: 34,
519
+ zIndex: 10,
520
+ rotateDeg: -1,
521
+ },
522
+ },
523
+ title: "Grounded automation, not guesswork",
524
+ subtitle:
525
+ "Every downstream change is tied back to source context and prior operating rules.",
526
+ query: "What should happen after launch approval is complete?",
527
+ summary:
528
+ "Sync CRM, notify GTM owners, create follow-up tasks, and monitor SLA risks until completion.",
529
+ sources: [
530
+ {
531
+ id: "rs1",
532
+ label: "Launch Runbook",
533
+ kind: "Runbook",
534
+ status: "success",
535
+ },
536
+ { id: "rs2", label: "Team SLA Policy", kind: "Policy", status: "info" },
537
+ ],
538
+ activeSnippetId: "runbook-snippet",
539
+ snippets: [
540
+ {
541
+ id: "runbook-snippet",
542
+ title: "Post-approval sequence",
543
+ content:
544
+ "After approvals clear, update CRM state, notify GTM channels, open implementation tasks, and start SLA monitoring for any dependencies.",
545
+ sourceId: "rs1",
546
+ confidence: "Runbook step 4",
547
+ excerptLabel: "Execution guidance",
548
+ tags: ["execution", "handoff"],
549
+ highlighted: true,
550
+ },
551
+ ],
552
+ },
553
+ highlights: [
554
+ { id: "notify-teams", label: "Live handoff", tone: "accent" },
555
+ { id: "exec-4", label: "Observed completion", tone: "success" },
556
+ ],
557
+ },
558
+ ];
559
+
560
+ export function Hero() {
561
+ return (
562
+ <div className="relative overflow-hidden">
563
+ <div className="pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_top_left,theme(colors.cyan.500/0.18),transparent_32%),radial-gradient(circle_at_bottom_right,theme(colors.violet.500/0.14),transparent_34%)]" />
564
+
565
+ <HeroProductDemo
566
+ className="bg-[linear-gradient(180deg,rgba(248,250,252,0.98)_0%,rgba(239,246,255,0.92)_46%,rgba(248,250,252,0.98)_100%)] dark:bg-[linear-gradient(180deg,rgba(2,6,23,0.98)_0%,rgba(8,47,73,0.96)_42%,rgba(15,23,42,0.98)_100%)]"
567
+ heading={{
568
+ text: "Let AI run the workflows your team still manages by hand.",
569
+ className:
570
+ "max-w-3xl text-left font-outfit text-4xl font-semibold leading-tight tracking-tight text-slate-950 sm:text-5xl lg:text-6xl dark:text-white",
571
+ }}
572
+ subheading={{
573
+ text: "Turn requests into multi-step workflows that gather context, route approvals, update tools, and show live execution from one AI workflow automation platform.",
574
+ className:
575
+ "mt-6 max-w-2xl text-left font-inter text-base leading-7 text-slate-600 sm:text-lg dark:text-slate-300",
576
+ }}
577
+ cta1={{
578
+ label: "Start automating",
579
+ href: "#contact",
580
+ variant: "default",
581
+ size: "lg",
582
+ className: [
583
+ "px-8 py-3 text-base font-semibold shadow-lg shadow-cyan-500/20",
584
+ "[--btn-bg:theme(colors.cyan.500)]",
585
+ "hover:[--btn-hover-bg:theme(colors.cyan.400)]",
586
+ "[--btn-fg:theme(colors.slate.950)]",
587
+ "hover:[--btn-hover-fg:theme(colors.slate.950)]",
588
+ ].join(" "),
589
+ }}
590
+ cta2={{
591
+ label: "See how it works",
592
+ href: "#features",
593
+ variant: "outline",
594
+ size: "lg",
595
+ className: [
596
+ "border px-8 py-3 text-base font-semibold shadow-sm",
597
+ "[--btn-bg:transparent]",
598
+ "[--btn-fg:theme(colors.cyan.700)]",
599
+ "[--btn-border:theme(colors.cyan.300)]",
600
+ "hover:[--btn-hover-bg:theme(colors.cyan.50)]",
601
+ "hover:[--btn-hover-fg:theme(colors.cyan.800)]",
602
+ "dark:[--btn-fg:theme(colors.cyan.300)]",
603
+ "dark:[--btn-border:theme(colors.cyan.700)]",
604
+ "dark:hover:[--btn-hover-bg:theme(colors.cyan.950)]",
605
+ "dark:hover:[--btn-hover-fg:theme(colors.cyan.200)]",
606
+ ].join(" "),
607
+ }}
608
+ stage={{
609
+ scenarios,
610
+ initialScenarioIndex: 0,
611
+ autoCycle: true,
612
+ cycleIntervalMs: 5200,
613
+ className:
614
+ "[--demo-stage-bg:linear-gradient(180deg,rgba(255,255,255,0.92)_0%,rgba(224,242,254,0.72)_100%)] dark:[--demo-stage-bg:linear-gradient(180deg,rgba(15,23,42,0.92)_0%,rgba(12,74,110,0.70)_100%)]",
615
+ }}
616
+ section={{
617
+ className: "px-6 py-16 sm:px-8 lg:px-10 lg:py-24",
618
+ }}
619
+ container={{
620
+ className:
621
+ "relative z-10 items-start gap-14 lg:grid-cols-[minmax(0,0.9fr)_minmax(0,1.1fr)]",
622
+ }}
623
+ textContainer={{
624
+ className: "pt-4 lg:pt-10",
625
+ }}
626
+ demoContainer={{
627
+ className: "relative min-h-[36rem] lg:min-h-[42rem]",
628
+ }}
629
+ buttonsContainer={{
630
+ className: "mt-8 flex-col items-start sm:flex-row sm:items-center",
631
+ }}
632
+ ariaLabel="AI workflow automation hero section"
633
+ />
634
+ </div>
635
+ );
636
+ }