@adminide-stack/clock-tik-browser 12.0.22-alpha.5 → 12.0.22

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 (45) hide show
  1. package/lib/components/navbar/index.d.ts.map +1 -1
  2. package/lib/components/navbar/index.js +4 -0
  3. package/lib/components/navbar/index.js.map +1 -1
  4. package/lib/compute.d.ts.map +1 -1
  5. package/lib/compute.js +9 -0
  6. package/lib/compute.js.map +1 -1
  7. package/lib/pages/LandingPage/components/HeroFluidCanvas.d.ts +8 -0
  8. package/lib/pages/LandingPage/components/HeroFluidCanvas.d.ts.map +1 -0
  9. package/lib/pages/LandingPage/components/HeroFluidCanvas.js +438 -0
  10. package/lib/pages/LandingPage/components/HeroFluidCanvas.js.map +1 -0
  11. package/lib/pages/LandingPage/components/InfrastructureCard.d.ts.map +1 -1
  12. package/lib/pages/LandingPage/components/InfrastructureCard.js +11 -11
  13. package/lib/pages/LandingPage/components/InfrastructureCard.js.map +1 -1
  14. package/lib/pages/LandingPage/components/InfrastructureTabs.js +13 -13
  15. package/lib/pages/LandingPage/components/InfrastructureTabs.js.map +1 -1
  16. package/lib/pages/LandingPage/components/InvestigationCard.d.ts.map +1 -1
  17. package/lib/pages/LandingPage/components/InvestigationCard.js +15 -15
  18. package/lib/pages/LandingPage/components/InvestigationCard.js.map +1 -1
  19. package/lib/pages/LandingPage/components/TimerBarSection.d.ts +5 -0
  20. package/lib/pages/LandingPage/components/TimerBarSection.d.ts.map +1 -0
  21. package/lib/pages/LandingPage/components/TimerBarSection.js +302 -0
  22. package/lib/pages/LandingPage/components/TimerBarSection.js.map +1 -0
  23. package/lib/pages/LandingPage/components/WorkflowFeatureSection.d.ts +5 -0
  24. package/lib/pages/LandingPage/components/WorkflowFeatureSection.d.ts.map +1 -0
  25. package/lib/pages/LandingPage/components/WorkflowFeatureSection.js +154 -0
  26. package/lib/pages/LandingPage/components/WorkflowFeatureSection.js.map +1 -0
  27. package/lib/pages/LandingPage/components/WorkflowGridCanvas.d.ts +8 -0
  28. package/lib/pages/LandingPage/components/WorkflowGridCanvas.d.ts.map +1 -0
  29. package/lib/pages/LandingPage/components/WorkflowGridCanvas.js +207 -0
  30. package/lib/pages/LandingPage/components/WorkflowGridCanvas.js.map +1 -0
  31. package/lib/pages/LandingPage/components/WorkflowSpecimen.d.ts +10 -0
  32. package/lib/pages/LandingPage/components/WorkflowSpecimen.d.ts.map +1 -0
  33. package/lib/pages/LandingPage/components/WorkflowSpecimen.js +532 -0
  34. package/lib/pages/LandingPage/components/WorkflowSpecimen.js.map +1 -0
  35. package/lib/pages/LandingPage/components/index.d.ts +5 -0
  36. package/lib/pages/LandingPage/components/index.d.ts.map +1 -1
  37. package/lib/pages/LandingPage/index.d.ts.map +1 -1
  38. package/lib/pages/LandingPage/index.js +26 -16
  39. package/lib/pages/LandingPage/index.js.map +1 -1
  40. package/lib/pages/Pricing/index.d.ts +4 -0
  41. package/lib/pages/Pricing/index.d.ts.map +1 -0
  42. package/lib/pages/Pricing/index.js +434 -0
  43. package/lib/pages/Pricing/index.js.map +1 -0
  44. package/lib/routes.json +11 -0
  45. package/package.json +3 -3
@@ -0,0 +1,532 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';const PORT_HEIGHT = 20;
2
+ const PORT_GAP = 6;
3
+ const HEADER_HEIGHT = 44;
4
+ const TONE = {
5
+ red: {
6
+ fill: '#E33A2C',
7
+ ink: '#FFFFFF'
8
+ },
9
+ green: {
10
+ fill: '#10B981',
11
+ ink: '#FFFFFF'
12
+ },
13
+ blue: {
14
+ fill: '#3B82F6',
15
+ ink: '#FFFFFF'
16
+ },
17
+ purple: {
18
+ fill: '#8B5CF6',
19
+ ink: '#FFFFFF'
20
+ },
21
+ amber: {
22
+ fill: '#F6C945',
23
+ ink: '#1A1400'
24
+ }
25
+ };
26
+ const ACCENT = {
27
+ start: '#E33A2C',
28
+ end: '#F6C945',
29
+ action: '#3B82F6',
30
+ map: '#10B981'
31
+ };
32
+ /** Cross-module pipeline: time → approval → books */
33
+ const NODES = [{
34
+ id: 'start',
35
+ x: 0,
36
+ y: 200,
37
+ width: 140,
38
+ title: 'Start',
39
+ handle: 'node_start',
40
+ accent: 'start',
41
+ leftPorts: [],
42
+ rightPorts: [{
43
+ label: 'trigger',
44
+ tone: 'red'
45
+ }]
46
+ }, {
47
+ id: 'timer',
48
+ x: 200,
49
+ y: 0,
50
+ width: 190,
51
+ title: 'clockbook / Track Time',
52
+ handle: 'node_timer',
53
+ accent: 'action',
54
+ leftPorts: [{
55
+ label: 'Run',
56
+ tone: 'red'
57
+ }, {
58
+ label: 'Project',
59
+ tone: 'green'
60
+ }, {
61
+ label: 'Task',
62
+ tone: 'blue'
63
+ }],
64
+ rightPorts: [{
65
+ label: 'On Done',
66
+ tone: 'red'
67
+ }, {
68
+ label: 'Duration',
69
+ tone: 'blue'
70
+ }]
71
+ }, {
72
+ id: 'timesheet',
73
+ x: 200,
74
+ y: 200,
75
+ width: 190,
76
+ title: 'Timesheet / Submit',
77
+ handle: 'node_sheet',
78
+ accent: 'action',
79
+ leftPorts: [{
80
+ label: 'Run',
81
+ tone: 'red'
82
+ }, {
83
+ label: 'Entries',
84
+ tone: 'blue'
85
+ }],
86
+ rightPorts: [{
87
+ label: 'On Done',
88
+ tone: 'red'
89
+ }, {
90
+ label: 'Total',
91
+ tone: 'blue'
92
+ }]
93
+ }, {
94
+ id: 'map1',
95
+ x: 450,
96
+ y: 200,
97
+ width: 180,
98
+ title: 'map → billable_hours',
99
+ handle: 'node_map',
100
+ accent: 'map',
101
+ leftPorts: [{
102
+ label: 'Run',
103
+ tone: 'red'
104
+ }, {
105
+ label: 'Source',
106
+ tone: 'purple'
107
+ }, {
108
+ label: 'Fields',
109
+ tone: 'green'
110
+ }],
111
+ rightPorts: [{
112
+ label: 'Transformed',
113
+ tone: 'purple'
114
+ }, {
115
+ label: 'onDone',
116
+ tone: 'red'
117
+ }]
118
+ }, {
119
+ id: 'approval',
120
+ x: 690,
121
+ y: 200,
122
+ width: 190,
123
+ title: 'HRM / Manager Approval',
124
+ handle: 'node_approve',
125
+ accent: 'action',
126
+ leftPorts: [{
127
+ label: 'Run',
128
+ tone: 'red'
129
+ }, {
130
+ label: 'Request',
131
+ tone: 'green'
132
+ }],
133
+ rightPorts: [{
134
+ label: 'Approved',
135
+ tone: 'green'
136
+ }, {
137
+ label: 'Rejected',
138
+ tone: 'red'
139
+ }]
140
+ }, {
141
+ id: 'books',
142
+ x: 940,
143
+ y: 200,
144
+ width: 200,
145
+ title: 'Books / Create Invoice',
146
+ handle: 'node_invoice',
147
+ accent: 'action',
148
+ leftPorts: [{
149
+ label: 'Run',
150
+ tone: 'red'
151
+ }, {
152
+ label: 'Line Items',
153
+ tone: 'blue'
154
+ }, {
155
+ label: 'Client',
156
+ tone: 'green'
157
+ }],
158
+ rightPorts: [{
159
+ label: 'On Done',
160
+ tone: 'red'
161
+ }, {
162
+ label: 'Invoice ID',
163
+ tone: 'blue'
164
+ }]
165
+ }, {
166
+ id: 'notify',
167
+ x: 1190,
168
+ y: 200,
169
+ width: 170,
170
+ title: 'Notify / Email',
171
+ handle: 'node_notify',
172
+ accent: 'action',
173
+ leftPorts: [{
174
+ label: 'Run',
175
+ tone: 'red'
176
+ }, {
177
+ label: 'Payload',
178
+ tone: 'blue'
179
+ }],
180
+ rightPorts: [{
181
+ label: 'Sent',
182
+ tone: 'green'
183
+ }]
184
+ }, {
185
+ id: 'end',
186
+ x: 1410,
187
+ y: 200,
188
+ width: 120,
189
+ title: 'End',
190
+ handle: 'node_end',
191
+ accent: 'end',
192
+ leftPorts: [{
193
+ label: 'result',
194
+ tone: 'blue'
195
+ }],
196
+ rightPorts: []
197
+ }];
198
+ const EDGES = [{
199
+ from: {
200
+ node: 'start',
201
+ port: 'trigger'
202
+ },
203
+ to: {
204
+ node: 'timer',
205
+ port: 'Run'
206
+ },
207
+ tone: 'red'
208
+ }, {
209
+ from: {
210
+ node: 'start',
211
+ port: 'trigger'
212
+ },
213
+ to: {
214
+ node: 'timesheet',
215
+ port: 'Run'
216
+ },
217
+ tone: 'red'
218
+ }, {
219
+ from: {
220
+ node: 'timer',
221
+ port: 'Duration'
222
+ },
223
+ to: {
224
+ node: 'timesheet',
225
+ port: 'Entries'
226
+ },
227
+ tone: 'blue'
228
+ }, {
229
+ from: {
230
+ node: 'timesheet',
231
+ port: 'Total'
232
+ },
233
+ to: {
234
+ node: 'map1',
235
+ port: 'Source'
236
+ },
237
+ tone: 'blue'
238
+ }, {
239
+ from: {
240
+ node: 'map1',
241
+ port: 'onDone'
242
+ },
243
+ to: {
244
+ node: 'approval',
245
+ port: 'Run'
246
+ },
247
+ tone: 'red'
248
+ }, {
249
+ from: {
250
+ node: 'approval',
251
+ port: 'Approved'
252
+ },
253
+ to: {
254
+ node: 'books',
255
+ port: 'Run'
256
+ },
257
+ tone: 'red'
258
+ }, {
259
+ from: {
260
+ node: 'map1',
261
+ port: 'Transformed'
262
+ },
263
+ to: {
264
+ node: 'books',
265
+ port: 'Line Items'
266
+ },
267
+ tone: 'purple'
268
+ }, {
269
+ from: {
270
+ node: 'books',
271
+ port: 'Invoice ID'
272
+ },
273
+ to: {
274
+ node: 'notify',
275
+ port: 'Payload'
276
+ },
277
+ tone: 'blue'
278
+ }, {
279
+ from: {
280
+ node: 'notify',
281
+ port: 'Sent'
282
+ },
283
+ to: {
284
+ node: 'end',
285
+ port: 'result'
286
+ },
287
+ tone: 'blue'
288
+ }];
289
+ const EDGE_TONE = {
290
+ red: 'rgba(227, 58, 44, 0.85)',
291
+ blue: 'rgba(59, 130, 246, 0.85)',
292
+ purple: 'rgba(139, 92, 246, 0.85)'
293
+ };
294
+ function nodeHeight(n) {
295
+ const portCount = Math.max(n.leftPorts.length, n.rightPorts.length);
296
+ return HEADER_HEIGHT + (portCount === 0 ? 18 : portCount * (PORT_HEIGHT + PORT_GAP) + 14);
297
+ }
298
+ function portY(n, side, label) {
299
+ const ports = side === 'left' ? n.leftPorts : n.rightPorts;
300
+ const idx = ports.findIndex(p => p.label === label);
301
+ if (idx < 0) return n.y + nodeHeight(n) / 2;
302
+ return n.y + HEADER_HEIGHT + 12 + idx * (PORT_HEIGHT + PORT_GAP) + PORT_HEIGHT / 2;
303
+ }
304
+ function edgePath(e) {
305
+ const from = NODES.find(n => n.id === e.from.node);
306
+ const to = NODES.find(n => n.id === e.to.node);
307
+ if (!from || !to) return '';
308
+ const x1 = from.x + from.width;
309
+ const y1 = portY(from, 'right', e.from.port);
310
+ const x2 = to.x;
311
+ const y2 = portY(to, 'left', e.to.port);
312
+ const dx = Math.max(40, Math.abs(x2 - x1) * 0.45);
313
+ return `M ${x1} ${y1} C ${x1 + dx} ${y1}, ${x2 - dx} ${y2}, ${x2} ${y2}`;
314
+ }
315
+ const VIEW_W = 1540;
316
+ const VIEW_H = 480;
317
+ function WorkflowSpecimen({
318
+ reducedMotion = false
319
+ }) {
320
+ const motionClass = reducedMotion ? 'cb-wf-reduced' : '';
321
+ return jsxs("div", {
322
+ className: `cb-workflow-specimen w-full ${motionClass}`,
323
+ children: [jsx("style", {
324
+ children: `
325
+ .cb-workflow-specimen {
326
+ --cb-wf-ease: cubic-bezier(0.16, 1, 0.3, 1);
327
+ }
328
+ .cb-workflow-specimen .cb-wf-frame {
329
+ background:
330
+ radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 1.5px) 0 0 / 22px 22px,
331
+ rgba(255,255,255,0.02);
332
+ border: 1px solid rgba(255,255,255,0.08);
333
+ }
334
+ .cb-workflow-specimen .cb-wf-edge {
335
+ stroke-dasharray: 1500;
336
+ stroke-dashoffset: 1500;
337
+ animation: cb-wf-draw 1400ms var(--cb-wf-ease) forwards;
338
+ }
339
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(1) { animation-delay: 200ms; }
340
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(2) { animation-delay: 280ms; }
341
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(3) { animation-delay: 360ms; }
342
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(4) { animation-delay: 440ms; }
343
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(5) { animation-delay: 520ms; }
344
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(6) { animation-delay: 600ms; }
345
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(7) { animation-delay: 680ms; }
346
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(8) { animation-delay: 760ms; }
347
+ .cb-workflow-specimen .cb-wf-edge:nth-of-type(9) { animation-delay: 840ms; }
348
+ @keyframes cb-wf-draw {
349
+ to { stroke-dashoffset: 0; }
350
+ }
351
+ .cb-workflow-specimen .cb-wf-node {
352
+ opacity: 0;
353
+ animation: cb-wf-node-in 540ms var(--cb-wf-ease) forwards;
354
+ }
355
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(1) { animation-delay: 60ms; }
356
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(2) { animation-delay: 120ms; }
357
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(3) { animation-delay: 180ms; }
358
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(4) { animation-delay: 240ms; }
359
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(5) { animation-delay: 300ms; }
360
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(6) { animation-delay: 360ms; }
361
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(7) { animation-delay: 420ms; }
362
+ .cb-workflow-specimen .cb-wf-node:nth-of-type(8) { animation-delay: 480ms; }
363
+ @keyframes cb-wf-node-in {
364
+ from { opacity: 0; transform: translateY(6px); }
365
+ to { opacity: 1; transform: translateY(0); }
366
+ }
367
+ .cb-workflow-specimen.cb-wf-reduced .cb-wf-edge,
368
+ .cb-workflow-specimen.cb-wf-reduced .cb-wf-node {
369
+ animation: none;
370
+ opacity: 1;
371
+ stroke-dashoffset: 0;
372
+ }
373
+ @media (prefers-reduced-motion: reduce) {
374
+ .cb-workflow-specimen .cb-wf-edge,
375
+ .cb-workflow-specimen .cb-wf-node {
376
+ animation: none;
377
+ opacity: 1;
378
+ stroke-dashoffset: 0;
379
+ }
380
+ }
381
+ `
382
+ }), jsxs("header", {
383
+ className: "mb-6 flex flex-wrap items-baseline justify-between gap-4 border-b border-white/10 pb-3",
384
+ children: [jsx("h3", {
385
+ id: "workflow-spec-heading",
386
+ className: "text-[0.7rem] uppercase tracking-[0.22em] text-white/55",
387
+ style: {
388
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, Consolas, monospace'
389
+ },
390
+ children: "Specimen / a workflow"
391
+ }), jsx("span", {
392
+ className: "text-[0.7rem] tracking-[0.04em] text-white/40",
393
+ style: {
394
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, Consolas, monospace'
395
+ },
396
+ children: "time tracker \u2192 HRM \u2192 books \u00B7 billable pipeline"
397
+ })]
398
+ }), jsx("p", {
399
+ className: "mb-5 max-w-[52ch] text-base leading-relaxed text-white/70",
400
+ children: "Drop nodes, wire ports, run. Below: a real cross-module pipeline that tracks billable hours, routes manager approval, and creates the invoice \u2014 all without leaving Clockbook."
401
+ }), jsx("div", {
402
+ className: "cb-wf-frame overflow-x-auto rounded-2xl",
403
+ children: jsxs("svg", {
404
+ viewBox: `-20 -20 ${VIEW_W + 40} ${VIEW_H}`,
405
+ width: "100%",
406
+ role: "img",
407
+ "aria-label": "Sample Clockbook workflow: Start triggers time tracking and timesheet submission; hours flow through mapping and manager approval into Books invoicing, then notification and End.",
408
+ style: {
409
+ display: 'block',
410
+ minWidth: VIEW_W
411
+ },
412
+ children: [jsx("defs", {
413
+ children: jsx("filter", {
414
+ id: "cb-wf-shadow",
415
+ x: "-10%",
416
+ y: "-10%",
417
+ width: "120%",
418
+ height: "120%",
419
+ children: jsx("feDropShadow", {
420
+ dx: "0",
421
+ dy: "2",
422
+ stdDeviation: "3",
423
+ floodColor: "#000",
424
+ floodOpacity: "0.35"
425
+ })
426
+ })
427
+ }), jsx("g", {
428
+ fill: "none",
429
+ strokeWidth: "2.5",
430
+ strokeLinecap: "round",
431
+ children: EDGES.map((e, i) => jsx("path", {
432
+ className: "cb-wf-edge",
433
+ d: edgePath(e),
434
+ stroke: EDGE_TONE[e.tone]
435
+ }, i))
436
+ }), NODES.map(n => {
437
+ const h = nodeHeight(n);
438
+ const accent = n.accent ? ACCENT[n.accent] : 'transparent';
439
+ return jsxs("g", {
440
+ className: "cb-wf-node",
441
+ children: [jsx("rect", {
442
+ x: n.x,
443
+ y: n.y,
444
+ rx: 10,
445
+ ry: 10,
446
+ width: n.width,
447
+ height: h,
448
+ fill: "rgba(18,18,18,0.92)",
449
+ stroke: "rgba(255,255,255,0.12)",
450
+ filter: "url(#cb-wf-shadow)"
451
+ }), n.accent && (n.id === 'start' || n.id === 'end') ? jsx("rect", {
452
+ x: n.x,
453
+ y: n.y,
454
+ width: 4,
455
+ height: h,
456
+ rx: 2,
457
+ fill: accent
458
+ }) : null, jsx("text", {
459
+ x: n.x + 14,
460
+ y: n.y + 26,
461
+ fontSize: 13,
462
+ fontWeight: 600,
463
+ fill: "rgba(255,255,255,0.92)",
464
+ children: n.title
465
+ }), jsx("line", {
466
+ x1: n.x,
467
+ y1: n.y + HEADER_HEIGHT - 4,
468
+ x2: n.x + n.width,
469
+ y2: n.y + HEADER_HEIGHT - 4,
470
+ stroke: "rgba(255,255,255,0.08)"
471
+ }), n.leftPorts.map((p, i) => {
472
+ const py = n.y + HEADER_HEIGHT + 12 + i * (PORT_HEIGHT + PORT_GAP);
473
+ return jsxs("g", {
474
+ children: [jsx("rect", {
475
+ x: n.x - 6,
476
+ y: py,
477
+ width: Math.max(40, p.label.length * 6.2 + 12),
478
+ height: PORT_HEIGHT,
479
+ rx: 6,
480
+ fill: TONE[p.tone].fill
481
+ }), jsx("text", {
482
+ x: n.x + 4,
483
+ y: py + 14,
484
+ fontSize: 10.5,
485
+ fontWeight: 600,
486
+ fill: TONE[p.tone].ink,
487
+ style: {
488
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, Consolas, monospace'
489
+ },
490
+ children: p.label
491
+ })]
492
+ }, `l-${i}`);
493
+ }), n.rightPorts.map((p, i) => {
494
+ const py = n.y + HEADER_HEIGHT + 12 + i * (PORT_HEIGHT + PORT_GAP);
495
+ const w = Math.max(40, p.label.length * 6.2 + 12);
496
+ return jsxs("g", {
497
+ children: [jsx("rect", {
498
+ x: n.x + n.width - w + 6,
499
+ y: py,
500
+ width: w,
501
+ height: PORT_HEIGHT,
502
+ rx: 6,
503
+ fill: TONE[p.tone].fill
504
+ }), jsx("text", {
505
+ x: n.x + n.width - w + 12,
506
+ y: py + 14,
507
+ fontSize: 10.5,
508
+ fontWeight: 600,
509
+ fill: TONE[p.tone].ink,
510
+ style: {
511
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, Consolas, monospace'
512
+ },
513
+ children: p.label
514
+ })]
515
+ }, `r-${i}`);
516
+ }), n.handle ? jsx("text", {
517
+ x: n.x + n.width / 2,
518
+ y: n.y + h - 8,
519
+ textAnchor: "middle",
520
+ fontSize: 9,
521
+ fill: "rgba(255,255,255,0.35)",
522
+ style: {
523
+ fontFamily: 'ui-monospace, "SF Mono", Menlo, Consolas, monospace'
524
+ },
525
+ children: n.handle
526
+ }) : null]
527
+ }, n.id);
528
+ })]
529
+ })
530
+ })]
531
+ });
532
+ }export{WorkflowSpecimen};//# sourceMappingURL=WorkflowSpecimen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowSpecimen.js","sources":["../../../../src/pages/LandingPage/components/WorkflowSpecimen.tsx"],"sourcesContent":[null],"names":[],"mappings":"yCA8BA,MAAM,WAAW,GAAG,EAAE;AACtB,MAAM,QAAQ,GAAG,CAAC;AAClB,MAAM,aAAa,GAAG,EAAE;AAExB,MAAM,IAAI,GAAwD;KAC3D,EAAA;IACH,IAAK,EAAA,SAAU;IACf,GAAI,EAAA;;OAEC,EAAA;IACP,IAAA,EAAA,SAAA;AAEF,IAAA;AACI,GAAA;AACA,EAAA,IAAA;AAC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AACN,IAAA,KAAA,EAAQ,SAAQ;AAChB,IAAA,IAAA,EAAM;AACN,GAAA,CAAA;AACA,EAAA,UAAQ,EAAG,CAAA;IACX,KAAO,EAAA;AACX,IAAC,IAAA,EAAA;AAED,GAAM;AACN,CAAM,EAAA;AAEN,EAAA,EAAA,EAAM;KACI,IAAA;KAEC,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGa,IAAA,IAAA,EAAA;AACA,GAAA;;AAmCY,CAAA,EAAA;AACA,EAAA,IAAA,EAAA;AAiBgB,IAAA,IAAA,EAAA,UAAA;;AAOpB,GAAA;AAGI,EAAA,EAAA,EAAA;AACA,IAAA,IAAA,EAAA,OAAA;AACA,IAAA,IAAA,EAAA;AAiBgB,GAAA;;AAOpB,CAAA,EAAA;AAgBZ,EAAA,IAAA,EAAA;AAKpB,IAAC,IAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -15,4 +15,9 @@ export { InfrastructureCard } from './InfrastructureCard';
15
15
  export { InfrastructureTabs } from './InfrastructureTabs';
16
16
  export { HRMFeatureSection } from './HRMFeatureSection';
17
17
  export { BooksFeatureSection } from './BooksFeatureSection';
18
+ export { TimerBarSection } from './TimerBarSection';
19
+ export { WorkflowFeatureSection } from './WorkflowFeatureSection';
20
+ export { WorkflowSpecimen } from './WorkflowSpecimen';
21
+ export { WorkflowGridCanvas } from './WorkflowGridCanvas';
22
+ export { HeroFluidCanvas } from './HeroFluidCanvas';
18
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/LandingPage/index.tsx"],"names":[],"mappings":"AAiBA,QAAA,MAAM,WAAW,+CAgQhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/LandingPage/index.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,WAAW,+CA8QhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMemo}from'react';import {Link}from'@remix-run/react';import {Button}from'@admin-layout/tailwind-ui/shardui/button.js';import {Images}from'./components/Assets.js';import {Section,Container}from'./components/Section.js';import {BuildingSoftwareScene}from'./components/BuildingSoftwareScene.js';import {InvestigationCard}from'./components/InvestigationCard.js';import {InfrastructureTabs}from'./components/InfrastructureTabs.js';import {LearningCard}from'./components/LearningCard.js';import {TrendingUp,Shield}from'lucide-react';import {ControlCard}from'./components/ControlCard.js';import {HRMFeatureSection}from'./components/HRMFeatureSection.js';import {BooksFeatureSection}from'./components/BooksFeatureSection.js';import {LandingPageStyles}from'./LandingPageStyles.js';import {config}from'../../config/env-config.js';const LandingPage = () => {
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMemo}from'react';import {Link}from'@remix-run/react';import {Button}from'@admin-layout/tailwind-ui/shardui/button.js';import {Images}from'./components/Assets.js';import {Section,Container}from'./components/Section.js';import {BuildingSoftwareScene}from'./components/BuildingSoftwareScene.js';import {HeroFluidCanvas}from'./components/HeroFluidCanvas.js';import {InvestigationCard}from'./components/InvestigationCard.js';import {InfrastructureTabs}from'./components/InfrastructureTabs.js';import {LearningCard}from'./components/LearningCard.js';import {TrendingUp,Shield}from'lucide-react';import {ControlCard}from'./components/ControlCard.js';import {HRMFeatureSection}from'./components/HRMFeatureSection.js';import {BooksFeatureSection}from'./components/BooksFeatureSection.js';import {TimerBarSection}from'./components/TimerBarSection.js';import {WorkflowFeatureSection}from'./components/WorkflowFeatureSection.js';import {LandingPageStyles}from'./LandingPageStyles.js';import {config}from'../../config/env-config.js';const LandingPage = () => {
2
2
  const prefersReducedMotion = usePrefersReducedMotion();
3
3
  const [heroImageLoaded, setHeroImageLoaded] = useState(false);
4
4
  const [introMinDone, setIntroMinDone] = useState(prefersReducedMotion);
@@ -9,8 +9,17 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
9
9
  const infrastructureRef = useRef(null);
10
10
  const controlRef = useRef(null);
11
11
  useEffect(() => {
12
+ // Coalesce scroll events to one render per frame. Without this, every
13
+ // scroll event re-renders the whole page and forces 4 layout reflows
14
+ // (the getBoundingClientRect reads below), which is the main jank source.
15
+ let ticking = false;
12
16
  const handleScroll = () => {
13
- setScrollY(window.scrollY);
17
+ if (ticking) return;
18
+ ticking = true;
19
+ window.requestAnimationFrame(() => {
20
+ setScrollY(window.scrollY);
21
+ ticking = false;
22
+ });
14
23
  };
15
24
  window.addEventListener('scroll', handleScroll, {
16
25
  passive: true
@@ -72,6 +81,8 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
72
81
  setIntroMinDone(true);
73
82
  setIntroMaxDone(true);
74
83
  }
84
+ }), jsx(TimerBarSection, {
85
+ reducedMotion: prefersReducedMotion
75
86
  }), jsx("div", {
76
87
  ref: heroRef,
77
88
  className: "relative",
@@ -99,7 +110,7 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
99
110
  children: ["It's time to ", jsx("span", {
100
111
  className: "italic cb-glow-text",
101
112
  children: "rethink"
102
- }), " ", jsx("br", {}), " infrastructure."]
113
+ }), " ", jsx("br", {}), " the back office."]
103
114
  }), jsx(InvestigationCard, {
104
115
  progress: investigationProgress
105
116
  })]
@@ -131,8 +142,8 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
131
142
  icon: jsx(TrendingUp, {
132
143
  className: "w-6 h-6"
133
144
  }),
134
- title: "Rollback changes and add a batch endpoint",
135
- description: "Similar to how issues were resolved in previous incidents."
145
+ title: "Approve recurring contractor hours",
146
+ description: "Just like the last three cycles, with your approval rules applied."
136
147
  })
137
148
  }), jsx("div", {
138
149
  className: "cb-stagger-item",
@@ -140,8 +151,8 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
140
151
  icon: jsx(Shield, {
141
152
  className: "w-6 h-6"
142
153
  }),
143
- title: "Apply preload and caching safeguards",
144
- description: "Patterns show API calls tied to userID should be preloaded or deduped."
154
+ title: "Flag overtime before it happens",
155
+ description: "Patterns show the design team trending past 45 hours, three days early."
145
156
  })
146
157
  }), jsxs("div", {
147
158
  className: "cb-stagger-item cb-glass-card p-5 rounded-2xl",
@@ -150,7 +161,7 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
150
161
  children: "Goals updated"
151
162
  }), jsx("p", {
152
163
  className: "cb-typography-body text-sm mb-4 text-muted-foreground",
153
- children: "Your team prioritizes latency and keeping the UI responsive for this application."
164
+ children: "Your team prioritizes fast onboarding and accurate, on-time billing."
154
165
  }), jsx("div", {
155
166
  className: "h-32 bg-foreground/5 rounded-lg"
156
167
  })]
@@ -161,6 +172,8 @@ import {jsxs,jsx}from'react/jsx-runtime';import {useState,useRef,useEffect,useMe
161
172
  reducedMotion: prefersReducedMotion
162
173
  }), jsx(BooksFeatureSection, {
163
174
  reducedMotion: prefersReducedMotion
175
+ }), jsx(WorkflowFeatureSection, {
176
+ reducedMotion: prefersReducedMotion
164
177
  }), jsxs("div", {
165
178
  ref: controlRef,
166
179
  className: "max-w-[1004px] mx-auto px-5 py-32 bg-background",
@@ -297,15 +310,12 @@ function ClockbookHero({
297
310
  return jsxs(Section, {
298
311
  tone: "dark",
299
312
  className: ['relative overflow-hidden', introLocked ? 'cb-intro-lock' : ''].join(' '),
300
- children: [jsx("div", {
301
- className: "pointer-events-none absolute inset-0",
302
- style: {
303
- background: 'radial-gradient(1200px 800px at 20% 10%, rgba(255, 255, 255, 0.12), transparent 55%), radial-gradient(900px 700px at 80% 30%, rgba(246, 201, 69, 0.12), transparent 55%), radial-gradient(900px 700px at 60% 90%, rgba(227, 58, 44, 0.12), transparent 55%)'
304
- }
313
+ children: [jsx(HeroFluidCanvas, {
314
+ reducedMotion: reducedMotion
305
315
  }), jsx("div", {
306
- className: "pointer-events-none absolute inset-0 cb-noise"
316
+ className: "pointer-events-none absolute inset-0 z-[2] cb-noise"
307
317
  }), jsx(Container, {
308
- className: "relative py-14 sm:py-20",
318
+ className: "relative z-10 py-14 sm:py-20",
309
319
  children: jsx("div", {
310
320
  className: "mx-auto max-w-5xl",
311
321
  children: jsxs("div", {
@@ -331,7 +341,7 @@ function ClockbookHero({
331
341
  })]
332
342
  }), jsx("p", {
333
343
  className: "cb-fade-in cb-typography-body mt-6 max-w-3xl text-pretty text-base leading-relaxed text-white/70 sm:text-lg",
334
- children: "Run your entire business on Clockbook with our unified cloud platform \u2014 HR management, accounting, time tracking, and more. Break down silos between departments and increase organizational efficiency."
344
+ children: "Run your entire business on one platform: time tracking, HRM, onboarding, books, and messaging, wired together with 1000+ native connectors and AI in every step. Use the web app, or drive it all from the command line."
335
345
  }), jsxs("div", {
336
346
  className: "cb-fade-in mt-8 flex flex-wrap justify-center gap-3",
337
347
  children: [jsx(Link, {