@npm_leadtech/legal-contracts-ui 0.63.1 → 0.63.3
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/dist/components/AboutUsTemplate.js +12 -12
- package/dist/components/BenefitsOfSigningSection.d.ts +23 -0
- package/dist/components/BenefitsOfSigningSection.js +56 -0
- package/dist/components/Button.utils.js +1 -1
- package/dist/components/ElectronicSignatureTemplate.d.ts +112 -0
- package/dist/components/ElectronicSignatureTemplate.js +28 -0
- package/dist/components/FastAndSimpleSection.d.ts +17 -0
- package/dist/components/FastAndSimpleSection.js +38 -0
- package/dist/components/Hero2Section.d.ts +20 -0
- package/dist/components/Hero2Section.js +88 -0
- package/dist/components/HowItWorksSection.d.ts +18 -0
- package/dist/components/HowItWorksSection.js +35 -0
- package/dist/components/JumboDocs.d.ts +18 -0
- package/dist/components/JumboDocs.js +61 -0
- package/dist/components/LinkWrapper.js +1 -1
- package/dist/components/NotFoundTemplate.js +1 -1
- package/dist/components/ProductTemplate.d.ts +11 -1
- package/dist/components/ProductTemplate.js +38 -35
- package/dist/components/Select.js +12 -12
- package/dist/components/SignAndSendSection.d.ts +12 -0
- package/dist/components/SignAndSendSection.js +45 -0
- package/dist/globals.css +1 -1
- package/package.json +5 -1
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -16
|
@@ -5,12 +5,12 @@ import { Storyline as b } from "./Storyline.js";
|
|
|
5
5
|
import { WeHelpSection as d } from "./WeHelpSection.js";
|
|
6
6
|
import { GuidelinesSection as j } from "./GuidelinesSection.js";
|
|
7
7
|
import { ExpertsSection as y } from "./ExpertsSection.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
8
|
+
import { PartnersSection as C } from "./PartnersSection.js";
|
|
9
|
+
import { CtaSection as N } from "./CtaSection.js";
|
|
10
|
+
import { ContactUsSection as T } from "./ContactUsSection.js";
|
|
11
|
+
import { Jumbotron2 as U } from "./Jumbotron2.js";
|
|
12
|
+
import { IntroSection as g } from "./IntroSection.js";
|
|
13
|
+
import { TrustpilotSection as h } from "./TrustpilotSection.js";
|
|
14
14
|
const v = ({
|
|
15
15
|
jumbotron: t,
|
|
16
16
|
intro: r,
|
|
@@ -25,18 +25,18 @@ const v = ({
|
|
|
25
25
|
cta: l,
|
|
26
26
|
contactUs: a
|
|
27
27
|
}) => /* @__PURE__ */ S("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
|
|
28
|
-
/* @__PURE__ */ o(
|
|
29
|
-
/* @__PURE__ */ o(
|
|
28
|
+
/* @__PURE__ */ o(U, { ...t }),
|
|
29
|
+
/* @__PURE__ */ o(g, { ...r, className: "bg-primary-50" }),
|
|
30
30
|
/* @__PURE__ */ o(u, { ...m }),
|
|
31
31
|
/* @__PURE__ */ o(x, { ...i }),
|
|
32
32
|
/* @__PURE__ */ o(b, { ...e }),
|
|
33
33
|
/* @__PURE__ */ o(d, { ...n }),
|
|
34
34
|
/* @__PURE__ */ o(j, { ...p }),
|
|
35
35
|
/* @__PURE__ */ o(y, { ...f }),
|
|
36
|
-
/* @__PURE__ */ o(
|
|
37
|
-
/* @__PURE__ */ o(
|
|
38
|
-
/* @__PURE__ */ o(
|
|
39
|
-
/* @__PURE__ */ o(
|
|
36
|
+
/* @__PURE__ */ o(h, { ...s }),
|
|
37
|
+
/* @__PURE__ */ o(C, { ...c }),
|
|
38
|
+
/* @__PURE__ */ o(N, { ...l }),
|
|
39
|
+
/* @__PURE__ */ o(T, { ...a })
|
|
40
40
|
] });
|
|
41
41
|
export {
|
|
42
42
|
v as AboutUsTemplate
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const BenefitsOfSigningSection: FC<BenefitsOfSigningSectionProps>;
|
|
4
|
+
|
|
5
|
+
export declare interface BenefitsOfSigningSectionProps {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
benefits: OnlineBenefit[];
|
|
9
|
+
upcomingFeature: {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
keyFactsIcon: string;
|
|
14
|
+
requestIcon: string;
|
|
15
|
+
overviewImageSrc: string;
|
|
16
|
+
overviewImageAlt: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export declare interface OnlineBenefit {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as o } from "./SectionHeading.js";
|
|
3
|
+
const p = ({
|
|
4
|
+
title: i,
|
|
5
|
+
description: s,
|
|
6
|
+
benefits: r,
|
|
7
|
+
upcomingFeature: a,
|
|
8
|
+
keyFactsIcon: c,
|
|
9
|
+
requestIcon: n,
|
|
10
|
+
overviewImageSrc: d,
|
|
11
|
+
overviewImageAlt: m
|
|
12
|
+
}) => /* @__PURE__ */ e("section", { className: "bg-white px-4 py-16", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-6xl flex-col gap-10 lg:flex-row", children: [
|
|
13
|
+
/* @__PURE__ */ l("div", { className: "flex-1 space-y-6", children: [
|
|
14
|
+
/* @__PURE__ */ e(o, { title: i, description: s, align: "start" }),
|
|
15
|
+
/* @__PURE__ */ l("div", { className: "space-y-4", children: [
|
|
16
|
+
r.map((t) => /* @__PURE__ */ l(
|
|
17
|
+
"article",
|
|
18
|
+
{
|
|
19
|
+
className: "bg-neutral-25 rounded-lg p-6",
|
|
20
|
+
style: { boxShadow: "var(--shadow-small)" },
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ l("div", { className: "bg-primary-800 text-small text-neutral-25 mb-4 inline-flex items-center gap-2 rounded px-3 py-1 font-semibold", children: [
|
|
23
|
+
/* @__PURE__ */ e("img", { src: c, alt: "Key facts icon", width: 24, height: 24 }),
|
|
24
|
+
t.title
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: t.description })
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
t.title
|
|
30
|
+
)),
|
|
31
|
+
/* @__PURE__ */ l("article", { className: "bg-neutral-25 rounded-lg p-6 opacity-70", style: { boxShadow: "var(--shadow-small)" }, children: [
|
|
32
|
+
/* @__PURE__ */ l("div", { className: "mb-4 flex flex-wrap items-center gap-3", children: [
|
|
33
|
+
/* @__PURE__ */ l("div", { className: "text-small text-primary-900 inline-flex items-center gap-2 rounded bg-white px-3 py-1 font-semibold", children: [
|
|
34
|
+
/* @__PURE__ */ e("img", { src: n, alt: "Request signature icon", width: 24, height: 24 }),
|
|
35
|
+
a.title
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ e("span", { className: "text-extra-small text-primary-900 rounded bg-neutral-200 px-2 py-1 font-semibold", children: "Coming soon" })
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: a.description })
|
|
40
|
+
] })
|
|
41
|
+
] })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
|
|
44
|
+
"img",
|
|
45
|
+
{
|
|
46
|
+
src: d,
|
|
47
|
+
alt: m,
|
|
48
|
+
width: 624,
|
|
49
|
+
height: 664,
|
|
50
|
+
className: "h-full w-full rounded-lg object-cover shadow-lg"
|
|
51
|
+
}
|
|
52
|
+
) })
|
|
53
|
+
] }) });
|
|
54
|
+
export {
|
|
55
|
+
p as BenefitsOfSigningSection
|
|
56
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export interface BenefitsOfSigningSectionProps {
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
benefits: OnlineBenefit[];
|
|
8
|
+
upcomingFeature: {
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
keyFactsIcon: string;
|
|
13
|
+
requestIcon: string;
|
|
14
|
+
overviewImageSrc: string;
|
|
15
|
+
overviewImageAlt: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export declare const ElectronicSignatureTemplate: FC<ElectronicSignatureTemplateProps>;
|
|
19
|
+
|
|
20
|
+
export declare interface ElectronicSignatureTemplateProps {
|
|
21
|
+
hero: Hero2SectionProps;
|
|
22
|
+
howItWorks: HowItWorksSectionProps;
|
|
23
|
+
fastAndSimple: FastAndSimpleSectionProps;
|
|
24
|
+
benefitsOfSigning: BenefitsOfSigningSectionProps;
|
|
25
|
+
trustpilot: TrustpilotSectionProps;
|
|
26
|
+
signAndSend: SignAndSendSectionProps;
|
|
27
|
+
faq: FaqSectionProps;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface FaqItemProps {
|
|
31
|
+
question: string;
|
|
32
|
+
answer: string;
|
|
33
|
+
showMoreText?: string;
|
|
34
|
+
collapsedButtonText?: string;
|
|
35
|
+
expandedButtonText?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface FaqSectionProps {
|
|
39
|
+
title: string;
|
|
40
|
+
description: string;
|
|
41
|
+
faqItems: FaqItemProps[];
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface FastAndSimpleSectionProps {
|
|
46
|
+
graphicSrc: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description: string;
|
|
49
|
+
benefits: QuickBenefit[];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface Hero2SectionProps {
|
|
53
|
+
backgroundRight: string;
|
|
54
|
+
backgroundLeft: string;
|
|
55
|
+
subtitle?: string;
|
|
56
|
+
title: string;
|
|
57
|
+
description: string;
|
|
58
|
+
highlights: string[];
|
|
59
|
+
addDocumentIcon: string;
|
|
60
|
+
uploadPromptText: string;
|
|
61
|
+
addDocumentLabel: string;
|
|
62
|
+
fileSizeText: string;
|
|
63
|
+
disclaimer: ReactNode;
|
|
64
|
+
onAddDocument?: () => void;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface HowItWorksSectionProps {
|
|
68
|
+
imageSrc: string;
|
|
69
|
+
imageAlt: string;
|
|
70
|
+
title: string;
|
|
71
|
+
description: string;
|
|
72
|
+
steps: HowItWorksStep[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface HowItWorksStep {
|
|
76
|
+
title: string;
|
|
77
|
+
description: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface OnlineBenefit {
|
|
82
|
+
title: string;
|
|
83
|
+
description: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface QuickBenefit {
|
|
87
|
+
title: string;
|
|
88
|
+
description: string;
|
|
89
|
+
icon: string;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface SectionHeadingProps {
|
|
93
|
+
title: string;
|
|
94
|
+
description?: string;
|
|
95
|
+
align?: 'start' | 'center';
|
|
96
|
+
titleClass?: string;
|
|
97
|
+
className?: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface SignAndSendSectionProps {
|
|
101
|
+
title: string;
|
|
102
|
+
description: string;
|
|
103
|
+
ctaLabel: string;
|
|
104
|
+
imageSrc: string;
|
|
105
|
+
imageAlt: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface TrustpilotSectionProps {
|
|
109
|
+
header: SectionHeadingProps;
|
|
110
|
+
children: ReactNode;
|
|
111
|
+
}
|
|
112
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Hero2Section as a } from "./Hero2Section.js";
|
|
3
|
+
import { HowItWorksSection as f } from "./HowItWorksSection.js";
|
|
4
|
+
import { FastAndSimpleSection as l } from "./FastAndSimpleSection.js";
|
|
5
|
+
import { BenefitsOfSigningSection as s } from "./BenefitsOfSigningSection.js";
|
|
6
|
+
import { TrustpilotSection as S } from "./TrustpilotSection.js";
|
|
7
|
+
import { SignAndSendSection as x } from "./SignAndSendSection.js";
|
|
8
|
+
import { FaqSection as g } from "./FaqSection.js";
|
|
9
|
+
const T = ({
|
|
10
|
+
hero: t,
|
|
11
|
+
howItWorks: i,
|
|
12
|
+
fastAndSimple: r,
|
|
13
|
+
benefitsOfSigning: m,
|
|
14
|
+
trustpilot: e,
|
|
15
|
+
signAndSend: n,
|
|
16
|
+
faq: p
|
|
17
|
+
}) => /* @__PURE__ */ c("main", { className: "w-full flex-1 bg-neutral-50", children: [
|
|
18
|
+
/* @__PURE__ */ o(a, { ...t }),
|
|
19
|
+
/* @__PURE__ */ o(f, { ...i }),
|
|
20
|
+
/* @__PURE__ */ o(l, { ...r }),
|
|
21
|
+
/* @__PURE__ */ o(s, { ...m }),
|
|
22
|
+
/* @__PURE__ */ o(S, { ...e }),
|
|
23
|
+
/* @__PURE__ */ o(x, { ...n }),
|
|
24
|
+
/* @__PURE__ */ o(g, { ...p, className: "mx-auto max-w-4xl px-4 py-16" })
|
|
25
|
+
] });
|
|
26
|
+
export {
|
|
27
|
+
T as ElectronicSignatureTemplate
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const FastAndSimpleSection: FC<FastAndSimpleSectionProps>;
|
|
4
|
+
|
|
5
|
+
export declare interface FastAndSimpleSectionProps {
|
|
6
|
+
graphicSrc: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
benefits: QuickBenefit[];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare interface QuickBenefit {
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l, Fragment as s } from "react/jsx-runtime";
|
|
2
|
+
import { Card as n } from "./Card.js";
|
|
3
|
+
import { SectionHeading as c } from "./SectionHeading.js";
|
|
4
|
+
const p = ({ graphicSrc: i, title: a, description: r, benefits: d }) => /* @__PURE__ */ e("section", { className: "px-4 pb-16", children: /* @__PURE__ */ l(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: "relative mx-auto flex w-full max-w-6xl flex-col gap-10 overflow-hidden rounded-2xl bg-neutral-50 px-6 py-10 lg:px-12",
|
|
8
|
+
style: { boxShadow: "var(--shadow-medium)" },
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
"img",
|
|
12
|
+
{
|
|
13
|
+
src: i,
|
|
14
|
+
alt: "",
|
|
15
|
+
width: 189,
|
|
16
|
+
height: 482,
|
|
17
|
+
className: "pointer-events-none absolute top-1/2 -right-6 hidden -translate-y-1/2 opacity-60 lg:block",
|
|
18
|
+
"aria-hidden": !0
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "max-w-2xl space-y-4", children: /* @__PURE__ */ e(c, { title: a, description: r, align: "start" }) }),
|
|
22
|
+
/* @__PURE__ */ e("div", { className: "grid gap-4 md:grid-cols-3", children: d.map((t) => /* @__PURE__ */ e(
|
|
23
|
+
n,
|
|
24
|
+
{
|
|
25
|
+
title: /* @__PURE__ */ l(s, { children: [
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "mb-4 inline-flex h-12 w-12 items-center justify-center rounded-md bg-neutral-50", children: /* @__PURE__ */ e("img", { src: t.icon, alt: "", width: 32, height: 32 }) }),
|
|
27
|
+
/* @__PURE__ */ e("p", { className: "text-big text-primary-900 font-bold", children: t.title })
|
|
28
|
+
] }),
|
|
29
|
+
children: /* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children: t.description })
|
|
30
|
+
},
|
|
31
|
+
t.title
|
|
32
|
+
)) })
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
) });
|
|
36
|
+
export {
|
|
37
|
+
p as FastAndSimpleSection
|
|
38
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Hero2Section: FC<Hero2SectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface Hero2SectionProps {
|
|
7
|
+
backgroundRight: string;
|
|
8
|
+
backgroundLeft: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
highlights: string[];
|
|
13
|
+
addDocumentIcon: string;
|
|
14
|
+
uploadPromptText: string;
|
|
15
|
+
addDocumentLabel: string;
|
|
16
|
+
fileSizeText: string;
|
|
17
|
+
disclaimer: ReactNode;
|
|
18
|
+
onAddDocument?: () => void;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Button as u } from "./Button.js";
|
|
3
|
+
import { ChevronRightIcon as g } from "./ChevronRightIcon.js";
|
|
4
|
+
const w = ({
|
|
5
|
+
backgroundRight: i,
|
|
6
|
+
backgroundLeft: r,
|
|
7
|
+
subtitle: l,
|
|
8
|
+
title: s,
|
|
9
|
+
description: n,
|
|
10
|
+
highlights: m,
|
|
11
|
+
addDocumentIcon: c,
|
|
12
|
+
uploadPromptText: d,
|
|
13
|
+
addDocumentLabel: o,
|
|
14
|
+
fileSizeText: h,
|
|
15
|
+
disclaimer: x,
|
|
16
|
+
onAddDocument: p
|
|
17
|
+
}) => /* @__PURE__ */ t("section", { className: "relative overflow-hidden bg-neutral-50", children: [
|
|
18
|
+
/* @__PURE__ */ e(
|
|
19
|
+
"img",
|
|
20
|
+
{
|
|
21
|
+
src: i,
|
|
22
|
+
alt: "",
|
|
23
|
+
width: 400,
|
|
24
|
+
height: 400,
|
|
25
|
+
className: "pointer-events-none absolute top-8 -right-20 z-0 hidden opacity-40 mix-blend-luminosity lg:block",
|
|
26
|
+
"aria-hidden": !0
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ e(
|
|
30
|
+
"img",
|
|
31
|
+
{
|
|
32
|
+
src: r,
|
|
33
|
+
alt: "",
|
|
34
|
+
width: 420,
|
|
35
|
+
height: 420,
|
|
36
|
+
className: "pointer-events-none absolute -top-20 -left-40 z-0 hidden opacity-40 mix-blend-luminosity lg:block",
|
|
37
|
+
"aria-hidden": !0
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ t("div", { className: "relative z-10 mx-auto flex w-full max-w-6xl flex-col gap-12 px-4 py-12 lg:flex-row lg:items-center lg:gap-16 lg:py-16", children: [
|
|
41
|
+
/* @__PURE__ */ t("div", { className: "flex-1 space-y-6", children: [
|
|
42
|
+
/* @__PURE__ */ t("div", { className: "space-y-2", children: [
|
|
43
|
+
l != null && l !== "" && /* @__PURE__ */ e("p", { className: "text-extra-small font-bold tracking-[0.2em] text-neutral-600 uppercase", children: l }),
|
|
44
|
+
/* @__PURE__ */ e("h1", { className: "font-lora text-extra-large text-primary-900 md:text-hero", children: s })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: n }),
|
|
47
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-3", children: m.map((a) => /* @__PURE__ */ t(
|
|
48
|
+
"span",
|
|
49
|
+
{
|
|
50
|
+
className: "bg-primary-800 text-small text-primary-50 inline-flex items-center gap-2 rounded-md px-3 py-1 font-semibold",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ e(g, { className: "text-primary-50 h-4 w-4", "aria-hidden": !0 }),
|
|
53
|
+
a
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
a
|
|
57
|
+
)) })
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ e("div", { className: "flex flex-1 justify-center", children: /* @__PURE__ */ e(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
className: "relative w-full max-w-xl rounded-[24px] bg-white/70 p-4 backdrop-blur",
|
|
63
|
+
style: { boxShadow: "var(--shadow-medium)" },
|
|
64
|
+
children: /* @__PURE__ */ t("div", { className: "rounded-2xl bg-white p-8 text-center shadow-lg", children: [
|
|
65
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children: d }),
|
|
66
|
+
/* @__PURE__ */ t(
|
|
67
|
+
u,
|
|
68
|
+
{
|
|
69
|
+
size: "large",
|
|
70
|
+
variant: "primary-white",
|
|
71
|
+
className: "bg-primary-700 hover:bg-primary-600 focus-visible:outline-primary-700 mt-6 w-full justify-center text-white",
|
|
72
|
+
onClick: p,
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ e("img", { src: c, alt: "", width: 24, height: 24 }),
|
|
75
|
+
/* @__PURE__ */ e("span", { className: "text-medium font-bold", children: o })
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
/* @__PURE__ */ e("p", { className: "text-extra-small mt-6 text-neutral-400", children: h }),
|
|
80
|
+
/* @__PURE__ */ e("p", { className: "text-tiny mt-2 text-neutral-400", children: x })
|
|
81
|
+
] })
|
|
82
|
+
}
|
|
83
|
+
) })
|
|
84
|
+
] })
|
|
85
|
+
] });
|
|
86
|
+
export {
|
|
87
|
+
w as Hero2Section
|
|
88
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const HowItWorksSection: FC<HowItWorksSectionProps>;
|
|
4
|
+
|
|
5
|
+
export declare interface HowItWorksSectionProps {
|
|
6
|
+
imageSrc: string;
|
|
7
|
+
imageAlt: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
steps: HowItWorksStep[];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare interface HowItWorksStep {
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as d } from "./SectionHeading.js";
|
|
3
|
+
const n = ({ imageSrc: i, imageAlt: r, title: s, description: t, steps: c }) => /* @__PURE__ */ e("section", { className: "bg-white px-4 py-16", children: /* @__PURE__ */ a("div", { className: "mx-auto grid w-full max-w-6xl gap-12 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]", children: [
|
|
4
|
+
/* @__PURE__ */ e("div", { className: "order-2 lg:order-1", children: /* @__PURE__ */ e(
|
|
5
|
+
"img",
|
|
6
|
+
{
|
|
7
|
+
src: i,
|
|
8
|
+
alt: r,
|
|
9
|
+
width: 737,
|
|
10
|
+
height: 524,
|
|
11
|
+
className: "h-full w-full rounded-lg object-cover shadow-lg"
|
|
12
|
+
}
|
|
13
|
+
) }),
|
|
14
|
+
/* @__PURE__ */ a("div", { className: "order-1 space-y-6 lg:order-2", children: [
|
|
15
|
+
/* @__PURE__ */ e(d, { title: s, description: t, align: "start" }),
|
|
16
|
+
/* @__PURE__ */ e("div", { className: "space-y-4", children: c.map((l) => /* @__PURE__ */ e(
|
|
17
|
+
"article",
|
|
18
|
+
{
|
|
19
|
+
className: "bg-neutral-25 rounded-lg p-5",
|
|
20
|
+
style: { boxShadow: "var(--shadow-small)" },
|
|
21
|
+
children: /* @__PURE__ */ a("div", { className: "flex items-start gap-3", children: [
|
|
22
|
+
/* @__PURE__ */ e("img", { src: l.icon, alt: "", width: 24, height: 24, className: "h-6 w-6" }),
|
|
23
|
+
/* @__PURE__ */ a("div", { children: [
|
|
24
|
+
/* @__PURE__ */ e("p", { className: "text-medium font-bold text-neutral-800", children: l.title }),
|
|
25
|
+
/* @__PURE__ */ e("p", { className: "text-small text-neutral-800", children: l.description })
|
|
26
|
+
] })
|
|
27
|
+
] })
|
|
28
|
+
},
|
|
29
|
+
l.title
|
|
30
|
+
)) })
|
|
31
|
+
] })
|
|
32
|
+
] }) });
|
|
33
|
+
export {
|
|
34
|
+
n as HowItWorksSection
|
|
35
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const JumboDocs: FC<JumboDocsProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface JumboDocsProps {
|
|
7
|
+
trustedBadge: TrustedBadgeProps;
|
|
8
|
+
imagePreview: ReactNode | null;
|
|
9
|
+
title: string;
|
|
10
|
+
freeDocTexts: string[];
|
|
11
|
+
pdfDownload: ReactNode;
|
|
12
|
+
wordDownload: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface TrustedBadgeProps {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as l, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { useState as u, useRef as g, useEffect as b } from "react";
|
|
4
|
+
import { TrustedBadge as N } from "./TrustedBadge.js";
|
|
5
|
+
import { LinkWrapper as s } from "./LinkWrapper.js";
|
|
6
|
+
const I = ({
|
|
7
|
+
trustedBadge: m,
|
|
8
|
+
imagePreview: d,
|
|
9
|
+
freeDocTexts: r,
|
|
10
|
+
title: o,
|
|
11
|
+
pdfDownload: t,
|
|
12
|
+
wordDownload: c
|
|
13
|
+
}) => {
|
|
14
|
+
const [f, x] = u(!1), n = g(null);
|
|
15
|
+
return b(() => {
|
|
16
|
+
const a = n.current;
|
|
17
|
+
if (!a) return;
|
|
18
|
+
const i = new IntersectionObserver(
|
|
19
|
+
([p]) => {
|
|
20
|
+
x(!p.isIntersecting);
|
|
21
|
+
},
|
|
22
|
+
{ threshold: 0 }
|
|
23
|
+
);
|
|
24
|
+
return i.observe(a), () => {
|
|
25
|
+
i.disconnect();
|
|
26
|
+
};
|
|
27
|
+
}, []), /* @__PURE__ */ l(h, { children: [
|
|
28
|
+
/* @__PURE__ */ e("section", { className: "bg-neutral-25 pt-8 text-neutral-800 sm:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ l(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
ref: n,
|
|
32
|
+
className: "relative mx-auto flex max-w-300 flex-col items-center gap-8 rounded bg-white px-6 py-8 shadow-md sm:px-4 md:flex-row lg:px-14",
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ e(N, { ...m }),
|
|
35
|
+
d,
|
|
36
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-8 self-start", children: [
|
|
37
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
|
|
38
|
+
/* @__PURE__ */ e("h2", { className: "text-big md:text-large font-bold", children: o }),
|
|
39
|
+
/* @__PURE__ */ e("span", { className: "h-px w-full bg-neutral-200" }),
|
|
40
|
+
r.length > 0 && /* @__PURE__ */ e("ul", { className: "flex flex-col gap-4 md:gap-8", children: r.map((a) => /* @__PURE__ */ l("li", { className: "text-small flex gap-2", children: [
|
|
41
|
+
/* @__PURE__ */ e("span", { className: "text-primary-500", children: "•" }),
|
|
42
|
+
a
|
|
43
|
+
] }, a)) })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ l("div", { className: "flex w-full gap-4", children: [
|
|
46
|
+
/* @__PURE__ */ e(s, { className: "w-full md:w-26.25", variant: "secondary-black", children: t }),
|
|
47
|
+
/* @__PURE__ */ e(s, { className: "w-full md:w-26.25", variant: "secondary-black", children: c })
|
|
48
|
+
] })
|
|
49
|
+
] })
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
) }),
|
|
53
|
+
f && /* @__PURE__ */ l("div", { className: "fixed bottom-0 left-0 z-50 flex w-full gap-4 bg-white px-6 py-4 shadow sm:hidden", children: [
|
|
54
|
+
/* @__PURE__ */ e(s, { className: "w-full", variant: "secondary-black", children: t }),
|
|
55
|
+
/* @__PURE__ */ e(s, { className: "w-full", variant: "secondary-black", children: c })
|
|
56
|
+
] })
|
|
57
|
+
] });
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
I as JumboDocs
|
|
61
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as f } from "react/jsx-runtime";
|
|
2
2
|
import { getButtonClasses as l } from "./Button.utils.js";
|
|
3
|
-
import { clsx as m } from "
|
|
3
|
+
import { clsx as m } from "clsx";
|
|
4
4
|
const b = ({ size: e, variant: s, iconPosition: o, disabled: r = !1, className: t, children: a }) => {
|
|
5
5
|
const n = l(e, s, o, r, t);
|
|
6
6
|
return /* @__PURE__ */ f("span", { className: m(n, 'relative [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]'), children: a });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { IntroSection as c } from "./IntroSection.js";
|
|
3
|
-
import { Card as o } from "./Card.js";
|
|
4
3
|
import { ContactMethodsSection as n } from "./ContactMethodsSection.js";
|
|
4
|
+
import { Card as o } from "./Card.js";
|
|
5
5
|
import { DocumentItem as s } from "./DocumentItem.js";
|
|
6
6
|
import { SearchBar as f } from "./SearchBar.js";
|
|
7
7
|
const g = ({ intro: m, popularDocuments: r, searchBar: t, contactMethods: i }) => /* @__PURE__ */ l("main", { className: "flex-1", children: [
|
|
@@ -78,6 +78,15 @@ export type InputFieldData = {
|
|
|
78
78
|
onChange: (str: string) => void;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
+
export interface JumboDocsProps {
|
|
82
|
+
trustedBadge: TrustedBadgeProps;
|
|
83
|
+
imagePreview: ReactNode | null;
|
|
84
|
+
title: string;
|
|
85
|
+
freeDocTexts: string[];
|
|
86
|
+
pdfDownload: ReactNode;
|
|
87
|
+
wordDownload: ReactNode;
|
|
88
|
+
}
|
|
89
|
+
|
|
81
90
|
export interface JumbotronProps {
|
|
82
91
|
title: string;
|
|
83
92
|
description: string;
|
|
@@ -133,7 +142,8 @@ export declare const ProductTemplate: FC<ProductTemplateProps>;
|
|
|
133
142
|
|
|
134
143
|
export declare interface ProductTemplateProps {
|
|
135
144
|
jumbotron: JumbotronProps;
|
|
136
|
-
|
|
145
|
+
jumboDocs?: JumboDocsProps;
|
|
146
|
+
preform?: PreformProps;
|
|
137
147
|
productInfo: ProductInfoProps;
|
|
138
148
|
benefitsBar: BenefitsBarProps;
|
|
139
149
|
breadcrumb: BreadcrumbProps;
|