@npm_leadtech/legal-contracts-ui 0.97.1 → 0.97.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.d.ts +5 -1
- package/dist/components/AiLegalDocumentReviewerTemplate.d.ts +4 -21
- package/dist/components/AiLegalDocumentReviewerTemplate.js +24 -25
- package/dist/components/BannerTagSection.d.ts +0 -1
- package/dist/components/BannerTagSection.js +19 -19
- package/dist/components/CtaSection.d.ts +23 -1
- package/dist/components/CtaSection.js +51 -10
- package/dist/components/ElectronicSignatureTemplate.d.ts +3 -5
- package/dist/components/ElectronicSignatureTemplate.js +18 -18
- package/dist/components/FastAndSimpleSection.js +5 -5
- package/dist/components/Hero2Section.js +31 -29
- package/dist/components/HowItWorksSection.d.ts +0 -1
- package/dist/components/HowItWorksSection.js +19 -32
- package/dist/components/UploadZone.js +1 -1
- package/dist/globals.css +1 -1
- package/package.json +1 -9
- package/dist/components/ConversionSection.d.ts +0 -21
- package/dist/components/ConversionSection.js +0 -12
- package/dist/components/Hero2SectionTitle.utils.d.ts +0 -4
- package/dist/components/Hero2SectionTitle.utils.js +0 -18
- package/dist/components/index.d.ts +0 -1166
|
@@ -42,8 +42,12 @@ export interface ContactUsSectionProps {
|
|
|
42
42
|
|
|
43
43
|
export interface CtaSectionProps {
|
|
44
44
|
title: string;
|
|
45
|
+
paragraph?: ReactNode;
|
|
45
46
|
cta: ButtonProps;
|
|
46
|
-
children
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
className?: string;
|
|
49
|
+
contentClassName?: string;
|
|
50
|
+
childrenClassName?: string;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
export interface ExpertsSectionProps {
|
|
@@ -5,14 +5,13 @@ export declare const AiLegalDocumentReviewerTemplate: FC<AiLegalDocumentReviewer
|
|
|
5
5
|
|
|
6
6
|
export declare type AiLegalDocumentReviewerTemplateProps = {
|
|
7
7
|
hero: Omit<Hero2SectionProps, 'variant'>;
|
|
8
|
-
howItWorks:
|
|
8
|
+
howItWorks: HowItWorksSectionProps;
|
|
9
9
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
10
|
-
conversion: ConversionSectionProps;
|
|
11
10
|
insights: FeaturesSectionProps;
|
|
11
|
+
signAndSend: BannerTagSectionProps;
|
|
12
12
|
trustPilot: ReactNode;
|
|
13
|
-
askQuestions:
|
|
14
|
-
faq:
|
|
15
|
-
toast?: ToastProps;
|
|
13
|
+
askQuestions: BannerTagSectionProps;
|
|
14
|
+
faq: FaqSectionProps;
|
|
16
15
|
};
|
|
17
16
|
|
|
18
17
|
export interface BannerTagSectionProps {
|
|
@@ -25,13 +24,6 @@ export interface BannerTagSectionProps {
|
|
|
25
24
|
middle: TagProps | null;
|
|
26
25
|
bottom: TagProps | null;
|
|
27
26
|
};
|
|
28
|
-
variant: 'esign' | 'ratafia';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface ConversionSectionProps {
|
|
32
|
-
icon: ReactNode;
|
|
33
|
-
title: string;
|
|
34
|
-
uploadZone: UploadZoneProps;
|
|
35
27
|
}
|
|
36
28
|
|
|
37
29
|
export interface FaqItemProps {
|
|
@@ -94,7 +86,6 @@ export interface HowItWorksSectionProps {
|
|
|
94
86
|
title: string;
|
|
95
87
|
description: string;
|
|
96
88
|
steps: HowItWorksStep[];
|
|
97
|
-
variant: 'esign' | 'ratafia';
|
|
98
89
|
}
|
|
99
90
|
|
|
100
91
|
export interface HowItWorksStep {
|
|
@@ -118,14 +109,6 @@ export interface TagProps {
|
|
|
118
109
|
className?: string;
|
|
119
110
|
}
|
|
120
111
|
|
|
121
|
-
export interface ToastProps {
|
|
122
|
-
show: boolean;
|
|
123
|
-
title: string;
|
|
124
|
-
message: string;
|
|
125
|
-
type?: 'success' | 'error' | 'default';
|
|
126
|
-
onClose: () => void;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
112
|
export interface UploadZoneProps {
|
|
130
113
|
uploadPromptText: string;
|
|
131
114
|
addDocumentLabel: string;
|
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ConversionSection as s } from "./ConversionSection.js";
|
|
1
|
+
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
3
2
|
import { Hero2Section as f } from "./Hero2Section.js";
|
|
4
3
|
import { HowItWorksSection as x } from "./HowItWorksSection.js";
|
|
5
|
-
import { FastAndSimpleSection as
|
|
6
|
-
import { FeaturesSection as
|
|
7
|
-
import { BannerTagSection as
|
|
8
|
-
import { FaqSection as
|
|
9
|
-
|
|
10
|
-
const H = ({
|
|
4
|
+
import { FastAndSimpleSection as u } from "./FastAndSimpleSection.js";
|
|
5
|
+
import { FeaturesSection as S } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as a } from "./BannerTagSection.js";
|
|
7
|
+
import { FaqSection as d } from "./FaqSection.js";
|
|
8
|
+
const y = ({
|
|
11
9
|
hero: o,
|
|
12
|
-
howItWorks:
|
|
13
|
-
fastAndSimple:
|
|
14
|
-
conversion: e,
|
|
10
|
+
howItWorks: r,
|
|
11
|
+
fastAndSimple: t,
|
|
15
12
|
insights: m,
|
|
13
|
+
signAndSend: i,
|
|
16
14
|
trustPilot: n,
|
|
17
15
|
askQuestions: l,
|
|
18
|
-
faq:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
] });
|
|
16
|
+
faq: s
|
|
17
|
+
}) => {
|
|
18
|
+
const { ...c } = o;
|
|
19
|
+
return /* @__PURE__ */ p("main", { className: "flex w-full flex-col", children: [
|
|
20
|
+
/* @__PURE__ */ e(f, { ...c, variant: "ratafia" }),
|
|
21
|
+
/* @__PURE__ */ e(x, { ...r }),
|
|
22
|
+
/* @__PURE__ */ e(u, { ...t, variant: "ratafia" }),
|
|
23
|
+
/* @__PURE__ */ e(S, { ...m }),
|
|
24
|
+
/* @__PURE__ */ e(a, { ...i }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "w-full max-w-254 md:h-34", children: n }),
|
|
26
|
+
/* @__PURE__ */ e(a, { ...l }),
|
|
27
|
+
/* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ e(d, { ...s, className: "mx-auto max-w-6xl space-y-6" }) })
|
|
28
|
+
] });
|
|
29
|
+
};
|
|
31
30
|
export {
|
|
32
|
-
|
|
31
|
+
y as AiLegalDocumentReviewerTemplate
|
|
33
32
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Markdown as
|
|
4
|
-
import { LinkWrapper as
|
|
5
|
-
const s = ({ title:
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import n from "clsx";
|
|
3
|
+
import { Markdown as d } from "./Markdown.js";
|
|
4
|
+
import { LinkWrapper as m } from "./LinkWrapper.js";
|
|
5
|
+
const s = ({ title: r, icon: a, variant: i, className: o = "" }) => /* @__PURE__ */ t("div", { className: n("text-small flex items-center gap-1 rounded shadow-lg", {
|
|
6
6
|
default: "text-neutral-600 bg-neutral-25 p-2",
|
|
7
7
|
highlight: "text-primary-500 font-bold bg-primary-100 border border-primary-300 p-1",
|
|
8
8
|
dark: "text-white font-bold bg-primary-800 p-2"
|
|
9
9
|
}[i], o), children: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
] }),
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */ e("h3", { className: "text-super-large text-primary-900 font-bold", children:
|
|
16
|
-
/* @__PURE__ */ e(
|
|
10
|
+
a,
|
|
11
|
+
r
|
|
12
|
+
] }), b = ({ title: r, description: a, cta: i, rightImage: o, tags: l }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ t("div", { className: "bg-neutral-25 mx-auto flex w-full max-w-298 rounded-2xl p-8 lg:gap-20 lg:px-16 lg:pt-12 lg:pb-0", children: [
|
|
13
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-8 lg:pb-12", children: [
|
|
14
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-4", children: [
|
|
15
|
+
/* @__PURE__ */ e("h3", { className: "text-super-large text-primary-900 font-bold", children: r }),
|
|
16
|
+
/* @__PURE__ */ e(d, { className: "text-medium text-neutral-800 [&_p:last-child]:mb-0", content: a })
|
|
17
17
|
] }),
|
|
18
|
-
/* @__PURE__ */ e(
|
|
18
|
+
/* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children: i })
|
|
19
19
|
] }),
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */ e("div", { className:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
/* @__PURE__ */ t("div", { className: "relative hidden shrink-0 self-end lg:block", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "overflow-hidden", children: o }),
|
|
22
|
+
l.top && /* @__PURE__ */ e(s, { ...l.top, className: "absolute -top-3 left-20" }),
|
|
23
|
+
l.middle && /* @__PURE__ */ e(s, { ...l.middle, className: "absolute bottom-36 -left-4" }),
|
|
24
|
+
l.bottom && /* @__PURE__ */ e(s, { ...l.bottom, className: "absolute top-19 -right-4" })
|
|
25
25
|
] })
|
|
26
26
|
] }) });
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
b as BannerTagSection
|
|
29
29
|
};
|
|
@@ -13,14 +13,36 @@ export type ButtonSize = 'small' | 'default' | 'large';
|
|
|
13
13
|
|
|
14
14
|
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
15
15
|
|
|
16
|
+
export declare const CtaFeatureTag: FC<CtaFeatureTagProps>;
|
|
17
|
+
|
|
18
|
+
export declare interface CtaFeatureTagProps {
|
|
19
|
+
icon: string;
|
|
20
|
+
text: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare const CtaSample: FC<CtaSampleProps>;
|
|
25
|
+
|
|
26
|
+
export declare interface CtaSampleProps {
|
|
27
|
+
image: ReactNode;
|
|
28
|
+
children?: ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
16
32
|
export declare const CtaSection: FC<CtaSectionProps>;
|
|
17
33
|
|
|
18
34
|
export declare interface CtaSectionProps {
|
|
19
35
|
title: string;
|
|
36
|
+
paragraph?: ReactNode;
|
|
20
37
|
cta: ButtonProps;
|
|
21
|
-
children
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
contentClassName?: string;
|
|
41
|
+
childrenClassName?: string;
|
|
22
42
|
}
|
|
23
43
|
|
|
44
|
+
export declare const CtaSummarizedTag: FC<CtaFeatureTagProps>;
|
|
45
|
+
|
|
24
46
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
25
47
|
|
|
26
48
|
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
@@ -1,12 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Button as
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Button as c } from "./Button.js";
|
|
3
|
+
const p = ({
|
|
4
|
+
title: a,
|
|
5
|
+
paragraph: l,
|
|
6
|
+
cta: t,
|
|
7
|
+
children: s,
|
|
8
|
+
className: m = "",
|
|
9
|
+
contentClassName: i = "",
|
|
10
|
+
childrenClassName: d = "hidden lg:flex"
|
|
11
|
+
}) => /* @__PURE__ */ e("section", { className: `flex w-full justify-center px-6 py-8 md:px-8 md:py-12 ${m}`, children: /* @__PURE__ */ r(
|
|
12
|
+
"div",
|
|
13
|
+
{
|
|
14
|
+
className: `bg-primary-50 mx-auto flex w-full max-w-6xl flex-col items-center rounded-[1.25rem] px-8 pt-8 pb-0 md:px-16 md:pt-12 md:pb-0 lg:flex-row lg:items-stretch lg:gap-20 xl:pr-20 xl:pl-16 ${i}`,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ r("div", { className: "flex flex-1 flex-col items-start justify-center gap-8 pb-8 md:pb-12 lg:pb-[3rem]", children: [
|
|
17
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col items-start gap-4", children: [
|
|
18
|
+
/* @__PURE__ */ e("h2", { className: "text-primary-900 text-[28px] leading-[32px] font-bold tracking-tight", children: a }),
|
|
19
|
+
!!l && /* @__PURE__ */ e("div", { className: "text-super-medium text-neutral-500", children: l })
|
|
20
|
+
] }),
|
|
21
|
+
/* @__PURE__ */ e(c, { size: "large", variant: "primary-darkgreen", className: "px-4 py-2.5", ...t })
|
|
22
|
+
] }),
|
|
23
|
+
!!s && /* @__PURE__ */ e("div", { className: `w-full justify-center lg:w-auto lg:items-end ${d}`, children: s })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
) }), o = ({ image: a, children: l, className: t = "" }) => /* @__PURE__ */ r("div", { className: `relative flex items-end ${t}`, children: [
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "[&_img]:rounded-t-[0.75rem] [&_img]:shadow-[0px_-2px_6px_0px_rgba(2,55,74,0.15)] md:[&_img]:max-w-[25rem] lg:[&_img]:max-h-[30rem]", children: a }),
|
|
28
|
+
l
|
|
29
|
+
] }), g = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: `bg-primary-50 border-primary-200 shadow-small absolute flex items-center justify-center gap-1 rounded-md border p-1 ${t}`,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-4 w-4" }),
|
|
35
|
+
/* @__PURE__ */ e("span", { className: "text-primary-900 text-small font-bold", children: l })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
), u = ({ icon: a, text: l, className: t = "" }) => /* @__PURE__ */ r(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: `shadow-small absolute flex items-center justify-center gap-1 rounded-md bg-neutral-50 p-2 ${t}`,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ e("img", { src: a, alt: "", role: "img", className: "h-5 w-5" }),
|
|
44
|
+
/* @__PURE__ */ e("span", { className: "text-small text-neutral-500", children: l })
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
);
|
|
10
48
|
export {
|
|
11
|
-
|
|
49
|
+
u as CtaFeatureTag,
|
|
50
|
+
o as CtaSample,
|
|
51
|
+
p as CtaSection,
|
|
52
|
+
g as CtaSummarizedTag
|
|
12
53
|
};
|
|
@@ -11,19 +11,18 @@ export interface BannerTagSectionProps {
|
|
|
11
11
|
middle: TagProps | null;
|
|
12
12
|
bottom: TagProps | null;
|
|
13
13
|
};
|
|
14
|
-
variant: 'esign' | 'ratafia';
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
export declare const ElectronicSignatureTemplate: FC<ElectronicSignatureTemplateProps>;
|
|
18
17
|
|
|
19
18
|
export declare interface ElectronicSignatureTemplateProps {
|
|
20
19
|
hero: Omit<Hero2SectionProps, 'variant'>;
|
|
21
|
-
howItWorks:
|
|
20
|
+
howItWorks: HowItWorksSectionProps;
|
|
22
21
|
fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
|
|
23
22
|
benefits: FeaturesSectionProps;
|
|
24
23
|
trustPilot: ReactNode;
|
|
25
|
-
signAndSend:
|
|
26
|
-
faq:
|
|
24
|
+
signAndSend: BannerTagSectionProps;
|
|
25
|
+
faq: FaqSectionProps;
|
|
27
26
|
toast?: ToastProps;
|
|
28
27
|
}
|
|
29
28
|
|
|
@@ -87,7 +86,6 @@ export interface HowItWorksSectionProps {
|
|
|
87
86
|
title: string;
|
|
88
87
|
description: string;
|
|
89
88
|
steps: HowItWorksStep[];
|
|
90
|
-
variant: 'esign' | 'ratafia';
|
|
91
89
|
}
|
|
92
90
|
|
|
93
91
|
export interface HowItWorksStep {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as p, jsx as
|
|
1
|
+
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Hero2Section as s } from "./Hero2Section.js";
|
|
3
3
|
import { HowItWorksSection as c } from "./HowItWorksSection.js";
|
|
4
4
|
import { FastAndSimpleSection as x } from "./FastAndSimpleSection.js";
|
|
5
|
-
import { FeaturesSection as
|
|
6
|
-
import { BannerTagSection as
|
|
5
|
+
import { FeaturesSection as f } from "./FeaturesSection.js";
|
|
6
|
+
import { BannerTagSection as g } from "./BannerTagSection.js";
|
|
7
7
|
import { Toast as S } from "./Toast.js";
|
|
8
8
|
import { FaqSection as u } from "./FaqSection.js";
|
|
9
|
-
const
|
|
10
|
-
hero:
|
|
11
|
-
howItWorks:
|
|
12
|
-
fastAndSimple:
|
|
13
|
-
benefits:
|
|
14
|
-
trustPilot:
|
|
9
|
+
const b = ({
|
|
10
|
+
hero: r,
|
|
11
|
+
howItWorks: i,
|
|
12
|
+
fastAndSimple: m,
|
|
13
|
+
benefits: t,
|
|
14
|
+
trustPilot: a,
|
|
15
15
|
signAndSend: n,
|
|
16
16
|
faq: l,
|
|
17
17
|
toast: e
|
|
18
18
|
}) => /* @__PURE__ */ p("main", { className: "bg-neutral-25 w-full flex-1", children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
e && /* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ o(s, { ...r, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ o(c, { ...i }),
|
|
21
|
+
/* @__PURE__ */ o(x, { ...m, variant: "esign" }),
|
|
22
|
+
/* @__PURE__ */ o(f, { ...t }),
|
|
23
|
+
/* @__PURE__ */ o("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ o("div", { className: "mx-auto w-full max-w-254 md:h-34", children: a }) }),
|
|
24
|
+
/* @__PURE__ */ o(g, { ...n }),
|
|
25
|
+
/* @__PURE__ */ o(u, { ...l, className: "mx-auto max-w-4xl px-4 py-16" }),
|
|
26
|
+
e && /* @__PURE__ */ o(S, { ...e })
|
|
27
27
|
] });
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
b as ElectronicSignatureTemplate
|
|
30
30
|
};
|
|
@@ -3,8 +3,8 @@ import t from "clsx";
|
|
|
3
3
|
import { Markdown as n } from "./Markdown.js";
|
|
4
4
|
const g = ({
|
|
5
5
|
bgImage: r,
|
|
6
|
-
title:
|
|
7
|
-
description:
|
|
6
|
+
title: o,
|
|
7
|
+
description: s,
|
|
8
8
|
benefits: c,
|
|
9
9
|
variant: d
|
|
10
10
|
}) => {
|
|
@@ -14,13 +14,13 @@ const g = ({
|
|
|
14
14
|
{
|
|
15
15
|
className: t(
|
|
16
16
|
"relative mx-auto flex w-full max-w-300 flex-col gap-8 overflow-hidden rounded-2xl p-6 md:p-8 lg:p-12",
|
|
17
|
-
l && "bg-
|
|
17
|
+
l && "from-primary-900 to-primary-800 bg-linear-to-r",
|
|
18
18
|
!l && "bg-neutral-50"
|
|
19
19
|
),
|
|
20
20
|
children: [
|
|
21
21
|
!!r && /* @__PURE__ */ e("div", { className: "pointer-events-none absolute top-35/100 -right-35 md:-right-50 lg:top-0 lg:right-5", children: r }),
|
|
22
22
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4", children: [
|
|
23
|
-
/* @__PURE__ */ e("p", { className: t("text-super-large font-bold", l ? "text-white" : "text-neutral-900"), children:
|
|
23
|
+
/* @__PURE__ */ e("p", { className: t("text-super-large font-bold", l ? "text-white" : "text-neutral-900"), children: o }),
|
|
24
24
|
/* @__PURE__ */ e(
|
|
25
25
|
n,
|
|
26
26
|
{
|
|
@@ -28,7 +28,7 @@ const g = ({
|
|
|
28
28
|
"text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0",
|
|
29
29
|
l ? "text-white" : "text-neutral-800"
|
|
30
30
|
),
|
|
31
|
-
content:
|
|
31
|
+
content: s
|
|
32
32
|
}
|
|
33
33
|
)
|
|
34
34
|
] }),
|
|
@@ -1,73 +1,75 @@
|
|
|
1
|
-
import { jsxs as l,
|
|
2
|
-
import { UploadZone as
|
|
1
|
+
import { jsxs as l, jsx as a, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { UploadZone as p } from "./UploadZone.js";
|
|
3
3
|
import t from "clsx";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
highlights: c,
|
|
4
|
+
import { Markdown as h } from "./Markdown.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
title: n,
|
|
7
|
+
description: m,
|
|
8
|
+
highlights: o,
|
|
10
9
|
variant: x,
|
|
11
|
-
uploadZone:
|
|
12
|
-
bgLeft:
|
|
13
|
-
bgRight:
|
|
10
|
+
uploadZone: c,
|
|
11
|
+
bgLeft: r,
|
|
12
|
+
bgRight: s
|
|
14
13
|
}) => {
|
|
15
14
|
const e = x === "ratafia";
|
|
16
15
|
return /* @__PURE__ */ l(
|
|
17
16
|
"section",
|
|
18
17
|
{
|
|
19
18
|
className: t(
|
|
20
|
-
"relative flex justify-center overflow-hidden
|
|
21
|
-
e && "bg-
|
|
19
|
+
"relative flex justify-center overflow-hidden",
|
|
20
|
+
e && "bg-primary-900 isolate px-6 py-16 text-white sm:px-10 lg:px-24",
|
|
22
21
|
!e && "bg-neutral-50"
|
|
23
22
|
),
|
|
24
23
|
children: [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
e ? /* @__PURE__ */ l("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
25
|
+
/* @__PURE__ */ a("div", { className: "from-primary-800/70 via-primary-900 to-primary-900 absolute inset-0 bg-linear-to-br" }),
|
|
26
|
+
/* @__PURE__ */ a("div", { className: "absolute inset-0 bg-white/10 mix-blend-lighten" })
|
|
27
|
+
] }) : /* @__PURE__ */ l(d, { children: [
|
|
28
|
+
!!r && /* @__PURE__ */ a("div", { className: "absolute -left-25 hidden lg:block xl:left-0", children: r }),
|
|
29
|
+
!!s && /* @__PURE__ */ a("div", { className: "absolute -right-15 bottom-0 xl:right-5", children: s })
|
|
28
30
|
] }),
|
|
29
|
-
/* @__PURE__ */ l("div", { className: "mx-auto flex max-w-300 shrink flex-col gap-10 md:flex-row md:items-center xl:gap-20", children: [
|
|
31
|
+
/* @__PURE__ */ l("div", { className: "mx-auto flex max-w-300 shrink flex-col gap-10 px-6 pt-10 pb-20 md:flex-row md:items-center md:pb-26 lg:px-8 lg:pt-20 xl:gap-20 xl:px-0", children: [
|
|
30
32
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
|
|
31
33
|
/* @__PURE__ */ a(
|
|
32
34
|
"h1",
|
|
33
35
|
{
|
|
34
36
|
className: t(
|
|
35
37
|
"text-extra-large leading-tight font-bold",
|
|
36
|
-
|
|
37
|
-
e && "text-
|
|
38
|
+
e && "text-white",
|
|
39
|
+
!e && "text-primary-900"
|
|
38
40
|
),
|
|
39
|
-
children:
|
|
41
|
+
children: n
|
|
40
42
|
}
|
|
41
43
|
),
|
|
42
44
|
/* @__PURE__ */ a(
|
|
43
|
-
|
|
45
|
+
h,
|
|
44
46
|
{
|
|
45
47
|
className: t("text-medium [&_p:last-child]:mb-0", e ? "text-white" : "text-neutral-800"),
|
|
46
|
-
content:
|
|
48
|
+
content: m
|
|
47
49
|
}
|
|
48
50
|
),
|
|
49
|
-
/* @__PURE__ */ a("div", { className: "flex
|
|
51
|
+
/* @__PURE__ */ a("div", { className: "flex gap-4", children: o.map((i) => /* @__PURE__ */ l(
|
|
50
52
|
"span",
|
|
51
53
|
{
|
|
52
54
|
className: t(
|
|
53
|
-
"text-small flex flex-nowrap items-center gap-1 rounded
|
|
55
|
+
"text-small flex flex-nowrap items-center gap-1 rounded p-1",
|
|
54
56
|
e && "bg-primary-50 text-primary-800 font-semibold",
|
|
55
57
|
!e && "bg-primary-800 text-primary-50"
|
|
56
58
|
),
|
|
57
59
|
children: [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
i.icon,
|
|
61
|
+
i.label
|
|
60
62
|
]
|
|
61
63
|
},
|
|
62
|
-
|
|
64
|
+
i.id
|
|
63
65
|
)) })
|
|
64
66
|
] }),
|
|
65
|
-
/* @__PURE__ */ a(
|
|
67
|
+
/* @__PURE__ */ a(p, { ...c, containerClassName: "md:min-w-85 lg:min-w-115 xl:min-w-140" })
|
|
66
68
|
] })
|
|
67
69
|
]
|
|
68
70
|
}
|
|
69
71
|
);
|
|
70
72
|
};
|
|
71
73
|
export {
|
|
72
|
-
|
|
74
|
+
u as Hero2Section
|
|
73
75
|
};
|
|
@@ -1,35 +1,22 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/* @__PURE__ */ e(
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: t.map((r) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-2", children: [
|
|
21
|
-
/* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
|
|
22
|
-
r.icon,
|
|
23
|
-
/* @__PURE__ */ e("p", { className: "text-medium font-bold", children: r.title })
|
|
24
|
-
] }),
|
|
25
|
-
/* @__PURE__ */ l("p", { className: "text-small", children: [
|
|
26
|
-
r.description,
|
|
27
|
-
" "
|
|
28
|
-
] })
|
|
29
|
-
] }) }, r.id)) })
|
|
30
|
-
] })
|
|
31
|
-
] }) });
|
|
32
|
-
};
|
|
2
|
+
import { Markdown as c } from "./Markdown.js";
|
|
3
|
+
const m = ({ media: a, title: d, description: i, steps: s }) => /* @__PURE__ */ e("section", { className: "bg-white", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full flex-col gap-8 px-6 py-8 md:gap-12 lg:px-8 lg:py-12 xl:max-w-300 xl:flex-row xl:items-center xl:px-0", children: [
|
|
4
|
+
/* @__PURE__ */ e("div", { className: "relative order-2 overflow-hidden rounded-md shadow md:order-1 lg:mx-auto xl:shrink-0", children: a }),
|
|
5
|
+
/* @__PURE__ */ l("div", { className: "order-1 flex flex-col gap-6 text-neutral-800 md:order-2", children: [
|
|
6
|
+
/* @__PURE__ */ e("h2", { className: "text-super-large font-bold", children: d }),
|
|
7
|
+
/* @__PURE__ */ e(c, { className: "text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0", content: i }),
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: s.map((r) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-2", children: [
|
|
9
|
+
/* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
|
|
10
|
+
r.icon,
|
|
11
|
+
/* @__PURE__ */ e("p", { className: "text-medium font-bold", children: r.title })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ l("p", { className: "text-small", children: [
|
|
14
|
+
r.description,
|
|
15
|
+
" "
|
|
16
|
+
] })
|
|
17
|
+
] }) }, r.id)) })
|
|
18
|
+
] })
|
|
19
|
+
] }) });
|
|
33
20
|
export {
|
|
34
|
-
|
|
21
|
+
m as HowItWorksSection
|
|
35
22
|
};
|
|
@@ -39,7 +39,7 @@ const N = ({
|
|
|
39
39
|
] })
|
|
40
40
|
] }),
|
|
41
41
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-2", children: [
|
|
42
|
-
/* @__PURE__ */ t("p", { className: "text-extra-small text-neutral-400", children: o }),
|
|
42
|
+
/* @__PURE__ */ t("p", { className: "text-extra-small text-nowrap text-neutral-400", children: o }),
|
|
43
43
|
/* @__PURE__ */ t(d, { className: "text-tiny text-neutral-400 [&_a]:text-neutral-400", content: i })
|
|
44
44
|
] })
|
|
45
45
|
] })
|