@adminide-stack/clock-tik-browser 12.0.27 → 12.0.28-alpha.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/lib/components/navbar/ProductMegaMenu.d.ts +10 -0
- package/lib/components/navbar/ProductMegaMenu.d.ts.map +1 -0
- package/lib/components/navbar/ProductMegaMenu.js +364 -0
- package/lib/components/navbar/ProductMegaMenu.js.map +1 -0
- package/lib/components/navbar/index.d.ts.map +1 -1
- package/lib/components/navbar/index.js +5 -314
- package/lib/components/navbar/index.js.map +1 -1
- package/lib/components/navbar/marketplaceLogos.d.ts +14 -0
- package/lib/components/navbar/marketplaceLogos.d.ts.map +1 -0
- package/lib/components/navbar/marketplaceLogos.js +126 -0
- package/lib/components/navbar/marketplaceLogos.js.map +1 -0
- package/lib/components/navbar/menuData.d.ts +353 -0
- package/lib/components/navbar/menuData.d.ts.map +1 -0
- package/lib/components/navbar/menuData.js +413 -0
- package/lib/components/navbar/menuData.js.map +1 -0
- package/lib/hooks/usePrefersReducedMotion.d.ts +9 -0
- package/lib/hooks/usePrefersReducedMotion.d.ts.map +1 -0
- package/lib/hooks/usePrefersReducedMotion.js +23 -0
- package/lib/hooks/usePrefersReducedMotion.js.map +1 -0
- package/lib/pages/ProductLandingPage/ProductBlocks.d.ts +10 -0
- package/lib/pages/ProductLandingPage/ProductBlocks.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/ProductBlocks.js +1123 -0
- package/lib/pages/ProductLandingPage/ProductBlocks.js.map +1 -0
- package/lib/pages/ProductLandingPage/ProductSpecimen.d.ts +11 -0
- package/lib/pages/ProductLandingPage/ProductSpecimen.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/ProductSpecimen.js +705 -0
- package/lib/pages/ProductLandingPage/ProductSpecimen.js.map +1 -0
- package/lib/pages/ProductLandingPage/Reveal.d.ts +21 -0
- package/lib/pages/ProductLandingPage/Reveal.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/Reveal.js +94 -0
- package/lib/pages/ProductLandingPage/Reveal.js.map +1 -0
- package/lib/pages/ProductLandingPage/blockTypes.d.ts +213 -0
- package/lib/pages/ProductLandingPage/blockTypes.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/demoVideos.d.ts +17 -0
- package/lib/pages/ProductLandingPage/demoVideos.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/demoVideos.js +65 -0
- package/lib/pages/ProductLandingPage/demoVideos.js.map +1 -0
- package/lib/pages/ProductLandingPage/derivePage.d.ts +6 -0
- package/lib/pages/ProductLandingPage/derivePage.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/derivePage.js +306 -0
- package/lib/pages/ProductLandingPage/derivePage.js.map +1 -0
- package/lib/pages/ProductLandingPage/index.d.ts.map +1 -1
- package/lib/pages/ProductLandingPage/index.js +52 -1
- package/lib/pages/ProductLandingPage/index.js.map +1 -1
- package/lib/pages/ProductLandingPage/productPages.d.ts +6 -0
- package/lib/pages/ProductLandingPage/productPages.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/productPages.js +412 -0
- package/lib/pages/ProductLandingPage/productPages.js.map +1 -0
- package/lib/pages/ProductLandingPage/realProductPages.d.ts +4 -0
- package/lib/pages/ProductLandingPage/realProductPages.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/realProductPages.js +475 -0
- package/lib/pages/ProductLandingPage/realProductPages.js.map +1 -0
- package/lib/pages/ProductLandingPage/specimenData.d.ts +11 -0
- package/lib/pages/ProductLandingPage/specimenData.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/specimenData.js +1715 -0
- package/lib/pages/ProductLandingPage/specimenData.js.map +1 -0
- package/lib/pages/ProductLandingPage/specimenTypes.d.ts +170 -0
- package/lib/pages/ProductLandingPage/specimenTypes.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/workflowTemplates.d.ts +19 -0
- package/lib/pages/ProductLandingPage/workflowTemplates.d.ts.map +1 -0
- package/lib/pages/ProductLandingPage/workflowTemplates.js +278 -0
- package/lib/pages/ProductLandingPage/workflowTemplates.js.map +1 -0
- package/lib/pages/productCatalog.d.ts.map +1 -1
- package/lib/pages/productCatalog.js +177 -0
- package/lib/pages/productCatalog.js.map +1 -1
- package/lib/pages/productIcons.d.ts.map +1 -1
- package/lib/pages/productIcons.js +8 -2
- package/lib/pages/productIcons.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductSpecimen.js","sources":["../../../src/pages/ProductLandingPage/ProductSpecimen.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"2FAoBA,MAAM,IAAI,GAAG,qDAAqD;AAElE,MAAM,IAAI,GAAyB;AAC/B,EAAA,EAAA,EAAE,0DAA4D;AAC9D,EAAA,IAAA,EAAI,oDAAsD;AAC1D,EAAA,IAAA,EAAI,8CAAgD;AACpD,EAAA,KAAA,EAAK,iDAAmD;AACxD,EAAA,KAAA,EAAK,0CAA4C;AACjD,EAAA,MAAA,EAAM;CACT;AAED,MAAM,QAAQ,GAAG,mBAAmB;AAEpC,SAAS,UAAU,CAAC;AAChB,EAAA;AAOJ,CAAC,EAAA;AAED,EAAkF,OAAAA,GAAA,CAAA,MAAA,EAAA;AAElF,IAAA,SAAiB,EAAA,CAAA,6FAAqC,EAAA,IAAA,CAAA,IAAA,CAAA,IAAA,CAAA,CAAA,CAAA;IAClD,QACI,EAAK,IAAA,CAAA;;;;AA2BgB,SAAA,QAAA,CAAA;AAsB7B,EAAC;AAED,CAAA,EAAA;AACI,EAAA,OAAAC,IACI,CAAA,KAAA,EAAA;AA4BR,IAAC,SAAA,EAAA,oDAAA;AAED,IAAA,QAAe,EAAA,CAAAA,IAAG,CAAA,KAAgC,EAAA;AAC9C,MAAA,SAAc,EAAA,uDAAqB;cAC3B,EAAI,IAAK,CAAS,KAAA,EAAA;AAAE,QAAA,SAAA,EAAO,yDAAgB;QAC/C,KAAI,EAAA;AAAmB,UAAA;SACnB;AA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
|
+
import React from 'react';
|
|
2
|
+
type RevealDirection = 'up' | 'left' | 'right' | 'scale';
|
|
3
|
+
/**
|
|
4
|
+
* Reveals its children once they scroll into view.
|
|
5
|
+
*
|
|
6
|
+
* Renders visible on the server and for anyone who asks for reduced motion, so the
|
|
7
|
+
* content is never gated behind an effect that might not run.
|
|
8
|
+
*/
|
|
9
|
+
export declare function Reveal({ children, direction, delay, className, }: {
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
direction?: RevealDirection;
|
|
12
|
+
delay?: number;
|
|
13
|
+
className?: string;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
/** Counts up to a number when it scrolls into view. Falls back to the final value. */
|
|
16
|
+
export declare function CountUp({ value, durationMs }: {
|
|
17
|
+
value: string;
|
|
18
|
+
durationMs?: number;
|
|
19
|
+
}): React.JSX.Element;
|
|
20
|
+
export default Reveal;
|
|
21
|
+
//# sourceMappingURL=Reveal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reveal.d.ts","sourceRoot":"","sources":["../../../src/pages/ProductLandingPage/Reveal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,KAAK,eAAe,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AASzD;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EACnB,QAAQ,EACR,SAAgB,EAChB,KAAS,EACT,SAAS,GACZ,EAAE;IACC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,qBA4CA;AAED,sFAAsF;AACtF,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,UAAiB,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,qBAwC3F;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {jsx}from'react/jsx-runtime';import {useRef,useState,useEffect}from'react';import {usePrefersReducedMotion}from'../../hooks/usePrefersReducedMotion.js';const OFFSET = {
|
|
2
|
+
up: 'translate3d(0, 28px, 0)',
|
|
3
|
+
left: 'translate3d(-28px, 0, 0)',
|
|
4
|
+
right: 'translate3d(28px, 0, 0)',
|
|
5
|
+
scale: 'scale(0.97)'
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Reveals its children once they scroll into view.
|
|
9
|
+
*
|
|
10
|
+
* Renders visible on the server and for anyone who asks for reduced motion, so the
|
|
11
|
+
* content is never gated behind an effect that might not run.
|
|
12
|
+
*/
|
|
13
|
+
function Reveal({
|
|
14
|
+
children,
|
|
15
|
+
direction = 'up',
|
|
16
|
+
delay = 0,
|
|
17
|
+
className
|
|
18
|
+
}) {
|
|
19
|
+
const reducedMotion = usePrefersReducedMotion();
|
|
20
|
+
const ref = useRef(null);
|
|
21
|
+
const [shown, setShown] = useState(false);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
if (reducedMotion || shown) return undefined;
|
|
24
|
+
const node = ref.current;
|
|
25
|
+
if (!node || typeof IntersectionObserver === 'undefined') {
|
|
26
|
+
setShown(true);
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
const observer = new IntersectionObserver(entries => {
|
|
30
|
+
if (entries.some(entry => entry.isIntersecting)) {
|
|
31
|
+
setShown(true);
|
|
32
|
+
observer.disconnect();
|
|
33
|
+
}
|
|
34
|
+
}, {
|
|
35
|
+
rootMargin: '0px 0px -12% 0px',
|
|
36
|
+
threshold: 0.08
|
|
37
|
+
});
|
|
38
|
+
observer.observe(node);
|
|
39
|
+
return () => observer.disconnect();
|
|
40
|
+
}, [reducedMotion, shown]);
|
|
41
|
+
const animate = !reducedMotion && !shown;
|
|
42
|
+
return jsx("div", {
|
|
43
|
+
ref: ref,
|
|
44
|
+
className: className,
|
|
45
|
+
style: {
|
|
46
|
+
opacity: animate ? 0 : 1,
|
|
47
|
+
transform: animate ? OFFSET[direction] : 'none',
|
|
48
|
+
transition: reducedMotion ? undefined : `opacity 620ms cubic-bezier(0.22, 1, 0.36, 1) ${delay}ms, transform 620ms cubic-bezier(0.22, 1, 0.36, 1) ${delay}ms`,
|
|
49
|
+
willChange: animate ? 'opacity, transform' : undefined
|
|
50
|
+
},
|
|
51
|
+
children: children
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/** Counts up to a number when it scrolls into view. Falls back to the final value. */
|
|
55
|
+
function CountUp({
|
|
56
|
+
value,
|
|
57
|
+
durationMs = 1200
|
|
58
|
+
}) {
|
|
59
|
+
const reducedMotion = usePrefersReducedMotion();
|
|
60
|
+
const ref = useRef(null);
|
|
61
|
+
const [display, setDisplay] = useState(value);
|
|
62
|
+
// Split "27%" into 27 and "%", or "3x" into 3 and "x". Anything without a leading
|
|
63
|
+
// number (an em dash placeholder, say) is rendered as-is.
|
|
64
|
+
const match = value.match(/^([^\d-]*)(\d+(?:\.\d+)?)(.*)$/);
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (reducedMotion || !match) return undefined;
|
|
67
|
+
const node = ref.current;
|
|
68
|
+
if (!node || typeof IntersectionObserver === 'undefined') return undefined;
|
|
69
|
+
const [, prefix, digits, suffix] = match;
|
|
70
|
+
const target = parseFloat(digits);
|
|
71
|
+
const decimals = digits.includes('.') ? digits.split('.')[1].length : 0;
|
|
72
|
+
const observer = new IntersectionObserver(entries => {
|
|
73
|
+
if (!entries.some(entry => entry.isIntersecting)) return;
|
|
74
|
+
observer.disconnect();
|
|
75
|
+
const start = performance.now();
|
|
76
|
+
const tick = now => {
|
|
77
|
+
const progress = Math.min((now - start) / durationMs, 1);
|
|
78
|
+
const eased = 1 - Math.pow(1 - progress, 3);
|
|
79
|
+
setDisplay(`${prefix}${(target * eased).toFixed(decimals)}${suffix}`);
|
|
80
|
+
if (progress < 1) requestAnimationFrame(tick);
|
|
81
|
+
};
|
|
82
|
+
setDisplay(`${prefix}${0 .toFixed(decimals)}${suffix}`);
|
|
83
|
+
requestAnimationFrame(tick);
|
|
84
|
+
}, {
|
|
85
|
+
threshold: 0.4
|
|
86
|
+
});
|
|
87
|
+
observer.observe(node);
|
|
88
|
+
return () => observer.disconnect();
|
|
89
|
+
}, [durationMs, match, reducedMotion]);
|
|
90
|
+
return jsx("span", {
|
|
91
|
+
ref: ref,
|
|
92
|
+
children: display
|
|
93
|
+
});
|
|
94
|
+
}export{CountUp,Reveal,Reveal as default};//# sourceMappingURL=Reveal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reveal.js","sources":["../../../src/pages/ProductLandingPage/Reveal.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"+JAKA,MAAM,MAAM,GAAoC;AAC5C,EAAA,EAAA,EAAE,yBAA2B;AAC7B,EAAA,IAAA,EAAI,0BAA4B;AAChC,EAAA,KAAA,EAAK,yBAA2B;AAChC,EAAA,KAAA,EAAK;CACR;AAED;;;;;AAKG;AACa,SAAA,MAAM,CAAC;AAWnB,EAAA,QAAM;AACN,EAAA,YAAY,IAAA;OACN,GAAA,CAAC;;;AAGyB,EAAA,MAAA,uCAAiB,EAAA;AAC7C,EAAA,MAAA,GAAA,GAAM,MAAI,CAAG,IAAI;QACjB,CAAI,eAAS,CAAA,GAAO;YAChB,MAAQ;AACR,IAAA,IAAA,sBAAiB,EAAA,OAAA,SAAA;UACpB,IAAA,GAAA,GAAA,CAAA,OAAA;QAED,CAAM,IAAA,IAAA,2BAAe,KAAoB,WAC3B,EAAE;AACR,MAAA,QAAA,CAAA,IAAW,CAAA;sBACC;;kBAEX,GAAA,IAAA,oBAAA,CAAA,OAAA,IAAA;UACJ,OACC,CAAA,IAAA,CAAU,KAAE,IAAA,KAAA,CAAA,cAAoB,CAAA,EAAW;AAEjD,QAAA,QAAQ,CAAC,IAAA,C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C,IAAA,MAAA,GAAA,MAAA,EAAA,MAAW,EAAG,MAAA,CAAM,GAAG,KAAC;gBACxB,GAAI,iBAAY,CAAA;qBAAuB,MAAA,CAAA,QAAA,CAAA,GAAA,CAAA,GAAK,MAAE,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,GAAA,CAAA;AAClD,IAAA,MAAA,QAAE,GAAA,IAAA,oBAAA,CAAA,OAAA,IAAA;AACF,MAAA,IAAA,CAAA,OAAA,CAAA,IAAW,CAAG,KAAA,IAAS,KAAG,CAAC,iBAAiB;cACvB,CAAA,UAAA,EAAA;AACzB,MAAA,MACE,KAAA,GAAA,WACJ,CAAA,GAAA,EAAA;AACF,MAAA,MAAA,IAAQ,GAAC,GAAA,IAAQ;AACjB,QAAA,MAAA,eAAqB,CAAC,GAAA,CAAA,CAAA,GAAA,QAAa,IAAA,UAAA,EAAA,CAAA,CAAA;QACnC,MAAU,KAAA,OAAS,IAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAgB,EAAA,CAAA,CAAA;AAEvC,QAAA,oBAAgB,CAAA,EAAE,OAAM,GAAA,KAAA,EAAA,QAAe,QAAC,CAAA,CAAA,EAAA,MAAA,CAAA,CAAA,CAAA;AAC5C,QAAC,IAAA,QAAA,GAAA,CAAA,EAAA,qBAAA,CAAA,IAAA,CAAA;AAED,OAAA;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Page composition for product pages.
|
|
3
|
+
*
|
|
4
|
+
* A product page is an ordered list of blocks, not a fixed template. Two products can
|
|
5
|
+
* use the same block and still read differently, and — more importantly — they are not
|
|
6
|
+
* obliged to use the same blocks at all, or in the same order. CRM leads with proof and
|
|
7
|
+
* a sub-product grid; a developer tool can lead with a terminal and skip testimonials
|
|
8
|
+
* entirely. Each product also carries its own `PageTheme`, so the shapes, rhythm and
|
|
9
|
+
* palette shift between pages even where the block set overlaps.
|
|
10
|
+
*/
|
|
11
|
+
export type MockKind = 'rows' | 'chart' | 'board' | 'chat' | 'flow' | 'form' | 'code';
|
|
12
|
+
export interface PageTheme {
|
|
13
|
+
/** Page background. */
|
|
14
|
+
surface: string;
|
|
15
|
+
/** Background for dark bands. */
|
|
16
|
+
ink: string;
|
|
17
|
+
/** Primary accent. */
|
|
18
|
+
accent: string;
|
|
19
|
+
/** Accent used on dark bands, where the primary may be too dark. */
|
|
20
|
+
accentOnInk: string;
|
|
21
|
+
/** Soft accent wash for cards and fills. */
|
|
22
|
+
wash: string;
|
|
23
|
+
/** Corner treatment applied across the page. */
|
|
24
|
+
radius: 'sharp' | 'soft' | 'pill';
|
|
25
|
+
/** Vertical rhythm between sections. */
|
|
26
|
+
density: 'dense' | 'regular' | 'airy';
|
|
27
|
+
}
|
|
28
|
+
export interface Cta {
|
|
29
|
+
label: string;
|
|
30
|
+
to: string;
|
|
31
|
+
}
|
|
32
|
+
export interface HeroCenteredBlock {
|
|
33
|
+
kind: 'heroCentered';
|
|
34
|
+
eyebrow: string;
|
|
35
|
+
headline: string;
|
|
36
|
+
sub: string;
|
|
37
|
+
primary: Cta;
|
|
38
|
+
secondary?: Cta;
|
|
39
|
+
/** Analyst badge, award or certification shown beside the hero. */
|
|
40
|
+
badge?: {
|
|
41
|
+
label: string;
|
|
42
|
+
detail: string;
|
|
43
|
+
};
|
|
44
|
+
note?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface HeroSplitBlock {
|
|
47
|
+
kind: 'heroSplit';
|
|
48
|
+
eyebrow: string;
|
|
49
|
+
headline: string;
|
|
50
|
+
sub: string;
|
|
51
|
+
primary: Cta;
|
|
52
|
+
secondary?: Cta;
|
|
53
|
+
/** Short proof points rendered under the CTAs. */
|
|
54
|
+
points: string[];
|
|
55
|
+
/** Renders this product's specimen in the right column. */
|
|
56
|
+
showSpecimen?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface TrustBarBlock {
|
|
59
|
+
kind: 'trustBar';
|
|
60
|
+
lead: string;
|
|
61
|
+
logos: string[];
|
|
62
|
+
}
|
|
63
|
+
export interface CalloutBlock {
|
|
64
|
+
kind: 'callout';
|
|
65
|
+
eyebrow: string;
|
|
66
|
+
headline: string;
|
|
67
|
+
body: string;
|
|
68
|
+
cta: Cta;
|
|
69
|
+
tone: 'ink' | 'accent';
|
|
70
|
+
}
|
|
71
|
+
export interface FeatureTrioBlock {
|
|
72
|
+
kind: 'featureTrio';
|
|
73
|
+
eyebrow: string;
|
|
74
|
+
headline: string;
|
|
75
|
+
sub?: string;
|
|
76
|
+
items: Array<{
|
|
77
|
+
title: string;
|
|
78
|
+
body: string;
|
|
79
|
+
mock: MockKind;
|
|
80
|
+
}>;
|
|
81
|
+
}
|
|
82
|
+
export interface SpotlightBlock {
|
|
83
|
+
kind: 'spotlight';
|
|
84
|
+
eyebrow: string;
|
|
85
|
+
headline: string;
|
|
86
|
+
rows: Array<{
|
|
87
|
+
title: string;
|
|
88
|
+
body: string;
|
|
89
|
+
bullets: string[];
|
|
90
|
+
mock: MockKind;
|
|
91
|
+
}>;
|
|
92
|
+
}
|
|
93
|
+
export interface ModuleGridBlock {
|
|
94
|
+
kind: 'moduleGrid';
|
|
95
|
+
eyebrow: string;
|
|
96
|
+
headline: string;
|
|
97
|
+
sub?: string;
|
|
98
|
+
tiles: Array<{
|
|
99
|
+
name: string;
|
|
100
|
+
body: string;
|
|
101
|
+
to: string;
|
|
102
|
+
}>;
|
|
103
|
+
}
|
|
104
|
+
export interface TestimonialWallBlock {
|
|
105
|
+
kind: 'testimonialWall';
|
|
106
|
+
headline: string;
|
|
107
|
+
quotes: Array<{
|
|
108
|
+
quote: string;
|
|
109
|
+
author: string;
|
|
110
|
+
role: string;
|
|
111
|
+
}>;
|
|
112
|
+
}
|
|
113
|
+
export interface MetricsBandBlock {
|
|
114
|
+
kind: 'metricsBand';
|
|
115
|
+
headline: string;
|
|
116
|
+
stats: Array<{
|
|
117
|
+
value: string;
|
|
118
|
+
label: string;
|
|
119
|
+
}>;
|
|
120
|
+
/** Where the numbers come from — required, so the page never states an unsourced claim. */
|
|
121
|
+
footnote: string;
|
|
122
|
+
}
|
|
123
|
+
export interface ComplianceBlock {
|
|
124
|
+
kind: 'compliance';
|
|
125
|
+
headline: string;
|
|
126
|
+
body: string;
|
|
127
|
+
certifications: string[];
|
|
128
|
+
}
|
|
129
|
+
export interface SpecimenBlock {
|
|
130
|
+
kind: 'specimen';
|
|
131
|
+
eyebrow: string;
|
|
132
|
+
headline: string;
|
|
133
|
+
}
|
|
134
|
+
export interface FaqBlock {
|
|
135
|
+
kind: 'faq';
|
|
136
|
+
headline: string;
|
|
137
|
+
items: Array<{
|
|
138
|
+
q: string;
|
|
139
|
+
a: string;
|
|
140
|
+
}>;
|
|
141
|
+
}
|
|
142
|
+
export interface GalleryBlock {
|
|
143
|
+
kind: 'gallery';
|
|
144
|
+
eyebrow: string;
|
|
145
|
+
headline: string;
|
|
146
|
+
sub?: string;
|
|
147
|
+
/** Tabs, each showing a real product capture rather than a schematic. */
|
|
148
|
+
items: Array<{
|
|
149
|
+
title: string;
|
|
150
|
+
body: string;
|
|
151
|
+
bullets?: string[];
|
|
152
|
+
image: string;
|
|
153
|
+
color: string;
|
|
154
|
+
}>;
|
|
155
|
+
}
|
|
156
|
+
export interface TemplatesBlock {
|
|
157
|
+
kind: 'templates';
|
|
158
|
+
eyebrow: string;
|
|
159
|
+
headline: string;
|
|
160
|
+
sub?: string;
|
|
161
|
+
/** Product slug whose shipped workflow templates to list. */
|
|
162
|
+
forProduct: string;
|
|
163
|
+
limit?: number;
|
|
164
|
+
cta?: Cta;
|
|
165
|
+
}
|
|
166
|
+
export interface LandingSectionBlock {
|
|
167
|
+
kind: 'landingSection';
|
|
168
|
+
/**
|
|
169
|
+
* Renders the live section from the landing page rather than a restatement of it,
|
|
170
|
+
* so the product page and the landing page can never drift apart.
|
|
171
|
+
*/
|
|
172
|
+
section: 'hrm' | 'books' | 'workflow' | 'timer';
|
|
173
|
+
}
|
|
174
|
+
export interface DemoVideoBlock {
|
|
175
|
+
kind: 'demoVideo';
|
|
176
|
+
eyebrow: string;
|
|
177
|
+
headline: string;
|
|
178
|
+
sub?: string;
|
|
179
|
+
/**
|
|
180
|
+
* YouTube id for this product's demo. Leave undefined until the video exists — the
|
|
181
|
+
* block then plays an auto-advancing tour of `stills` instead of embedding the
|
|
182
|
+
* wrong video, and upgrades itself the moment an id is filled in.
|
|
183
|
+
*/
|
|
184
|
+
youtubeId?: string;
|
|
185
|
+
/** Real product captures used for the fallback tour, and as the poster frame. */
|
|
186
|
+
stills?: Array<{
|
|
187
|
+
image: string;
|
|
188
|
+
caption: string;
|
|
189
|
+
}>;
|
|
190
|
+
cta?: Cta;
|
|
191
|
+
}
|
|
192
|
+
export interface CtaPathsBlock {
|
|
193
|
+
kind: 'ctaPaths';
|
|
194
|
+
headline: string;
|
|
195
|
+
sub?: string;
|
|
196
|
+
paths: Array<{
|
|
197
|
+
label: string;
|
|
198
|
+
detail: string;
|
|
199
|
+
to: string;
|
|
200
|
+
}>;
|
|
201
|
+
}
|
|
202
|
+
export type Block = HeroCenteredBlock | HeroSplitBlock | TrustBarBlock | CalloutBlock | FeatureTrioBlock | SpotlightBlock | ModuleGridBlock | TestimonialWallBlock | MetricsBandBlock | ComplianceBlock | SpecimenBlock | GalleryBlock | TemplatesBlock | LandingSectionBlock | DemoVideoBlock | FaqBlock | CtaPathsBlock;
|
|
203
|
+
export interface ProductPage {
|
|
204
|
+
slug: string;
|
|
205
|
+
theme: PageTheme;
|
|
206
|
+
blocks: Block[];
|
|
207
|
+
/**
|
|
208
|
+
* Set while the copy on this page is still drafted rather than supplied by the
|
|
209
|
+
* business. Pages marked `true` render a build-time-only reminder in the console.
|
|
210
|
+
*/
|
|
211
|
+
draftContent?: boolean;
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=blockTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockTypes.d.ts","sourceRoot":"","sources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AAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED,MAAM,MAAM,KAAK,GACX,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,eAAe,GACf,aAAa,GACb,YAAY,GACZ,cAAc,GACd,mBAAmB,GACnB,cAAc,GACd,QAAQ,GACR,aAAa,CAAC;AAEpB,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-product demo recordings, keyed by catalog slug.
|
|
3
|
+
*
|
|
4
|
+
* Add a YouTube id here and that product's demo block stops showing the screenshot tour
|
|
5
|
+
* and plays the recording instead — nothing else needs changing.
|
|
6
|
+
*
|
|
7
|
+
* The only Clockbook video in the repo today is the general product demo embedded on
|
|
8
|
+
* `/demo` (`c_F7R5d4FcY`). It is deliberately not mapped to any product: a section
|
|
9
|
+
* headed "See CRM working" that plays a general overview is worse than no video.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEMO_VIDEOS: Record<string, string>;
|
|
12
|
+
/** Real captures used for the screenshot tour until a recording exists. */
|
|
13
|
+
export declare const DEMO_STILLS: Record<string, Array<{
|
|
14
|
+
image: string;
|
|
15
|
+
caption: string;
|
|
16
|
+
}>>;
|
|
17
|
+
//# sourceMappingURL=demoVideos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"demoVideos.d.ts","sourceRoot":"","sources":["../../../src/pages/ProductLandingPage/demoVideos.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG9C,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAkCjF,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-product demo recordings, keyed by catalog slug.
|
|
3
|
+
*
|
|
4
|
+
* Add a YouTube id here and that product's demo block stops showing the screenshot tour
|
|
5
|
+
* and plays the recording instead — nothing else needs changing.
|
|
6
|
+
*
|
|
7
|
+
* The only Clockbook video in the repo today is the general product demo embedded on
|
|
8
|
+
* `/demo` (`c_F7R5d4FcY`). It is deliberately not mapped to any product: a section
|
|
9
|
+
* headed "See CRM working" that plays a general overview is worse than no video.
|
|
10
|
+
*/
|
|
11
|
+
const DEMO_VIDEOS = {
|
|
12
|
+
// crm: 'xxxxxxxxxxx',
|
|
13
|
+
// codezen: 'xxxxxxxxxxx',
|
|
14
|
+
};
|
|
15
|
+
/** Real captures used for the screenshot tour until a recording exists. */
|
|
16
|
+
const DEMO_STILLS = {
|
|
17
|
+
hrm: [{
|
|
18
|
+
image: '/static/img/hrm/hrm-dashboard.png',
|
|
19
|
+
caption: 'The HR dashboard — headcount, approvals and what needs attention'
|
|
20
|
+
}, {
|
|
21
|
+
image: '/static/img/hrm/onboarding-tasks.png',
|
|
22
|
+
caption: 'Onboarding, task by task, for every new starter'
|
|
23
|
+
}, {
|
|
24
|
+
image: '/static/img/hrm/timeoff-requests.png',
|
|
25
|
+
caption: 'Leave requests routed to the right approver'
|
|
26
|
+
}, {
|
|
27
|
+
image: '/static/img/hrm/hrm-travel.png',
|
|
28
|
+
caption: 'Travel requests pre-approved before anything is booked'
|
|
29
|
+
}, {
|
|
30
|
+
image: '/static/img/hrm/settings-user-access.png',
|
|
31
|
+
caption: 'Access control, per user and per role'
|
|
32
|
+
}],
|
|
33
|
+
books: [{
|
|
34
|
+
image: '/static/img/books/dashboard-overview.png',
|
|
35
|
+
caption: 'Financial health at a glance'
|
|
36
|
+
}, {
|
|
37
|
+
image: '/static/img/books/purchase-order-form.png',
|
|
38
|
+
caption: 'Raising a purchase order, line by line'
|
|
39
|
+
}, {
|
|
40
|
+
image: '/static/img/books/quote-form.png',
|
|
41
|
+
caption: 'A quote, ready to convert into a sales order'
|
|
42
|
+
}, {
|
|
43
|
+
image: '/static/img/books/expense-form.png',
|
|
44
|
+
caption: 'Expenses captured with the receipt attached'
|
|
45
|
+
}, {
|
|
46
|
+
image: '/static/img/books/vendor-credits-list.png',
|
|
47
|
+
caption: 'Vendor credits, so returns are never written off'
|
|
48
|
+
}],
|
|
49
|
+
'time-tracker': [{
|
|
50
|
+
image: '/static/img/timer/timer-page-overview.png',
|
|
51
|
+
caption: 'The week, entry by entry'
|
|
52
|
+
}, {
|
|
53
|
+
image: '/static/img/timer/timer-running-controls.png',
|
|
54
|
+
caption: 'Start, pause and stop without leaving your work'
|
|
55
|
+
}, {
|
|
56
|
+
image: '/static/img/timer/timer-with-description.png',
|
|
57
|
+
caption: 'Describe the entry as you go, not on Friday'
|
|
58
|
+
}, {
|
|
59
|
+
image: '/static/img/timer/timer-tags-dropdown.png',
|
|
60
|
+
caption: 'Tags that make reporting mean something'
|
|
61
|
+
}, {
|
|
62
|
+
image: '/static/img/timer/timer-dashboard.png',
|
|
63
|
+
caption: 'Utilization and billable ratio across the team'
|
|
64
|
+
}]
|
|
65
|
+
};export{DEMO_STILLS,DEMO_VIDEOS};//# sourceMappingURL=demoVideos.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"demoVideos.js","sources":["../../../src/pages/ProductLandingPage/demoVideos.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;;;;;;;;;AASG;AACU,MAAA,WAAW,GAA2B;AAC/C;AACA;;AAGJ;AACa,MAAA,WAAW,GAA8D;AAClF,EAAA,GAAA,EAAG,CAAE;AACD,IAAA,KAAA,EAAA,mCAAA;AACI,IAAA,OAAA,EAAA;AACA,GAAA,EAAA;AACH,IAAA,KAAA,EAAA,sCAAA;AACD,IAAA;AACA,GAAA,EAAA;AACA,IAAA,KAAA,wCAAyC;AACzC,IAAA;AACH,GAAA,EAAA;AACD,IAAA,KAAK,EAAE,gCAAA;AACH,IAAA;AACA,GAAA,EAAA;AACA,IAAA,KAAA,4CAA6C;AAC7C,IAAA;AACA,GAAA,CAAA;AACI,EAAA,KAAA,EAAA,CAAA;AACA,IAAA,KAAA,EAAA,0CAA2D;AAC9D,IAAA,OAAA,EAAA;AACJ,GAAA,EAAA;AACD,IAAA,KAAA,EAAA,2CAAgB;AACZ,IAAA;AACA,GAAA,EAAA;AACI,IAAA,KAAA,EAAA,kCAAqD;AACrD,IAAA,OAAA,EAAA;AACH,GAAA,EAAA;AACD,IAAA,KAAA,EAAA,oCAAA;AACI,IAAA,OAAA,EAAA;AACA,GAAA,EAAA;AACH,IAAA,KAAA,EAAA,2CAAA;AACD,IAAA;AACA,GAAA,CAAA;AACH,EAAA,cAAA,EAAA,CAAA;IACH,KAAA,EAAA,2CAAA;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ProductPage } from './blockTypes';
|
|
2
|
+
import type { ProductDefinition } from '../productCatalog';
|
|
3
|
+
/** Composes a page for a product that has no hand-written one. */
|
|
4
|
+
export declare function derivePage(product: ProductDefinition): ProductPage;
|
|
5
|
+
export default derivePage;
|
|
6
|
+
//# sourceMappingURL=derivePage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"derivePage.d.ts","sourceRoot":"","sources":["../../../src/pages/ProductLandingPage/derivePage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA8B,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAmT3D,kEAAkE;AAClE,wBAAgB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,WAAW,CAkBlE;AAED,eAAe,UAAU,CAAC"}
|