@npm_leadtech/legal-contracts-ui 0.97.0 → 0.97.2

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.
@@ -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: ReactNode;
47
+ children?: ReactNode;
48
+ className?: string;
49
+ contentClassName?: string;
50
+ childrenClassName?: string;
47
51
  }
48
52
 
49
53
  export interface ExpertsSectionProps {
@@ -7,12 +7,11 @@ export declare type AiLegalDocumentReviewerTemplateProps = {
7
7
  hero: Omit<Hero2SectionProps, 'variant'>;
8
8
  howItWorks: HowItWorksSectionProps;
9
9
  fastAndSimple: Omit<FastAndSimpleSectionProps, 'variant'>;
10
- conversion: ConversionSectionProps;
11
10
  insights: FeaturesSectionProps;
11
+ signAndSend: BannerTagSectionProps;
12
12
  trustPilot: ReactNode;
13
13
  askQuestions: BannerTagSectionProps;
14
14
  faq: FaqSectionProps;
15
- toast?: ToastProps;
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 {
@@ -117,14 +109,6 @@ export interface TagProps {
117
109
  className?: string;
118
110
  }
119
111
 
120
- export interface ToastProps {
121
- show: boolean;
122
- title: string;
123
- message: string;
124
- type?: 'success' | 'error' | 'default';
125
- onClose: () => void;
126
- }
127
-
128
112
  export interface UploadZoneProps {
129
113
  uploadPromptText: string;
130
114
  addDocumentLabel: string;
@@ -1,33 +1,32 @@
1
- import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
- import { ConversionSection as s } from "./ConversionSection.js";
3
- import { Hero2Section as x } from "./Hero2Section.js";
4
- import { HowItWorksSection as f } from "./HowItWorksSection.js";
5
- import { FastAndSimpleSection as g } from "./FastAndSimpleSection.js";
6
- import { FeaturesSection as u } from "./FeaturesSection.js";
7
- import { BannerTagSection as S } from "./BannerTagSection.js";
8
- import { FaqSection as w } from "./FaqSection.js";
9
- import { Toast as d } from "./Toast.js";
10
- const H = ({
1
+ import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
+ import { Hero2Section as f } from "./Hero2Section.js";
3
+ import { HowItWorksSection as x } from "./HowItWorksSection.js";
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: t,
13
- fastAndSimple: e,
14
- conversion: i,
10
+ howItWorks: r,
11
+ fastAndSimple: t,
15
12
  insights: m,
13
+ signAndSend: i,
16
14
  trustPilot: n,
17
15
  askQuestions: l,
18
- faq: p,
19
- toast: a
20
- }) => /* @__PURE__ */ c("main", { className: "bg-neutral-25 w-full flex-1", children: [
21
- /* @__PURE__ */ r(x, { ...o, variant: "ratafia" }),
22
- /* @__PURE__ */ r(f, { ...t }),
23
- /* @__PURE__ */ r(g, { ...e, variant: "ratafia" }),
24
- /* @__PURE__ */ r(u, { ...m }),
25
- /* @__PURE__ */ r(s, { ...i }),
26
- /* @__PURE__ */ r("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ r("div", { className: "mx-auto w-full max-w-254 md:h-34", children: n }) }),
27
- /* @__PURE__ */ r(S, { ...l, variant: "ratafia" }),
28
- /* @__PURE__ */ r(w, { ...p, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
29
- a && /* @__PURE__ */ r(d, { ...a })
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
- H as AiLegalDocumentReviewerTemplate
31
+ y as AiLegalDocumentReviewerTemplate
33
32
  };
@@ -13,7 +13,6 @@ export declare interface BannerTagSectionProps {
13
13
  middle: TagProps | null;
14
14
  bottom: TagProps | null;
15
15
  };
16
- variant: 'esign' | 'ratafia';
17
16
  }
18
17
 
19
18
  export interface TagProps {
@@ -1,29 +1,29 @@
1
- import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
- import d from "clsx";
3
- import { Markdown as m } from "./Markdown.js";
4
- import { LinkWrapper as p } from "./LinkWrapper.js";
5
- const s = ({ title: t, icon: r, variant: i, className: o = "" }) => /* @__PURE__ */ l("div", { className: d("text-small flex items-center gap-1 rounded shadow-lg", {
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
- r,
11
- t
12
- ] }), g = ({ title: t, description: r, cta: i, rightImage: o, tags: a, variant: n }) => /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ l("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__ */ l("div", { className: "flex flex-col gap-8 lg:pb-12", children: [
14
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
15
- /* @__PURE__ */ e("h3", { className: "text-super-large text-primary-900 font-bold", children: t }),
16
- /* @__PURE__ */ e(m, { className: "text-medium text-neutral-800 [&_p:last-child]:mb-0", content: r })
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(p, { className: "w-fit", variant: "primary-green", children: i })
18
+ /* @__PURE__ */ e(m, { className: "w-fit", variant: "primary-green", children: i })
19
19
  ] }),
20
- /* @__PURE__ */ l("div", { className: "relative hidden shrink-0 self-end lg:block", children: [
21
- /* @__PURE__ */ e("div", { className: d("overflow-hidden", n === "ratafia" && "rounded-t-md shadow-sm"), children: o }),
22
- a.top && /* @__PURE__ */ e(s, { ...a.top, className: "absolute -top-3 left-50/100 translate-x-[-50%]" }),
23
- a.middle && /* @__PURE__ */ e(s, { ...a.middle, className: "absolute bottom-36 -left-4" }),
24
- a.bottom && /* @__PURE__ */ e(s, { ...a.bottom, className: "absolute top-19 -right-4" })
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
- g as BannerTagSection
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: ReactNode;
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 { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import { Button as t } from "./Button.js";
3
- const d = ({ title: r, cta: l, children: s }) => /* @__PURE__ */ e("section", { className: "px-4 py-16", children: /* @__PURE__ */ a("div", { className: "bg-primary-50 mx-auto max-w-6xl rounded-3xl p-10 shadow-sm lg:flex lg:items-center lg:gap-10", children: [
4
- /* @__PURE__ */ a("div", { className: "flex-1 space-y-6", children: [
5
- /* @__PURE__ */ e("p", { className: "text-super-large text-primary-900 font-bold", children: r }),
6
- /* @__PURE__ */ e(t, { size: "large", variant: "primary-darkgreen", ...l })
7
- ] }),
8
- /* @__PURE__ */ e("div", { className: "mt-10 lg:mt-0", children: /* @__PURE__ */ e("div", { className: "relative rounded-3xl bg-white shadow-lg", children: s }) })
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
- d as CtaSection
49
+ u as CtaFeatureTag,
50
+ o as CtaSample,
51
+ p as CtaSection,
52
+ g as CtaSummarizedTag
12
53
  };
@@ -11,7 +11,6 @@ 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>;
@@ -6,25 +6,25 @@ import { FeaturesSection as f } from "./FeaturesSection.js";
6
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 T = ({
10
- hero: i,
11
- howItWorks: r,
12
- fastAndSimple: t,
13
- benefits: m,
9
+ const b = ({
10
+ hero: r,
11
+ howItWorks: i,
12
+ fastAndSimple: m,
13
+ benefits: t,
14
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__ */ o(s, { ...i, variant: "esign" }),
20
- /* @__PURE__ */ o(c, { ...r }),
21
- /* @__PURE__ */ o(x, { ...t, variant: "esign" }),
22
- /* @__PURE__ */ o(f, { ...m }),
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
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, variant: "esign" }),
25
- /* @__PURE__ */ o(u, { ...l, className: "mx-auto max-w-250 px-6 py-12 lg:px-8 lg:pb-20 xl:px-0" }),
24
+ /* @__PURE__ */ o(g, { ...n }),
25
+ /* @__PURE__ */ o(u, { ...l, className: "mx-auto max-w-4xl px-4 py-16" }),
26
26
  e && /* @__PURE__ */ o(S, { ...e })
27
27
  ] });
28
28
  export {
29
- T as ElectronicSignatureTemplate
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: s,
7
- description: o,
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-ratafia",
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: s }),
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: o
31
+ content: s
32
32
  }
33
33
  )
34
34
  ] }),
@@ -1,73 +1,75 @@
1
- import { jsxs as l, Fragment as p, jsx as a } from "react/jsx-runtime";
2
- import { UploadZone as f } from "./UploadZone.js";
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 { renderRatafiaTitle as h } from "./Hero2SectionTitle.utils.js";
5
- import { Markdown as s } from "./Markdown.js";
6
- const v = ({
7
- title: i,
8
- description: o,
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: d,
12
- bgLeft: n,
13
- bgRight: m
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 px-6 pt-10 pb-20 md:pb-20 lg:px-8 lg:pt-20 xl:gap-20 xl:px-0",
21
- e && "bg-ratafia",
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
- !e && /* @__PURE__ */ l(p, { children: [
26
- !!n && /* @__PURE__ */ a("div", { className: "absolute -left-25 hidden lg:block xl:left-0", children: n }),
27
- !!m && /* @__PURE__ */ a("div", { className: "absolute -right-15 bottom-0 xl:right-5", children: m })
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
- !e && "text-primary-900",
37
- e && "text-white"
38
+ e && "text-white",
39
+ !e && "text-primary-900"
38
40
  ),
39
- children: e ? h(i) : i
41
+ children: n
40
42
  }
41
43
  ),
42
44
  /* @__PURE__ */ a(
43
- s,
45
+ h,
44
46
  {
45
47
  className: t("text-medium [&_p:last-child]:mb-0", e ? "text-white" : "text-neutral-800"),
46
- content: o
48
+ content: m
47
49
  }
48
50
  ),
49
- /* @__PURE__ */ a("div", { className: "flex flex-wrap gap-4", children: c.map((r) => /* @__PURE__ */ l(
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 px-2 py-1",
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
- /* @__PURE__ */ a("span", { className: "flex shrink-0", children: r.icon }),
59
- /* @__PURE__ */ a(s, { content: r.label, className: "text-small [&_p:last-child]:mb-0" })
60
+ i.icon,
61
+ i.label
60
62
  ]
61
63
  },
62
- r.id
64
+ i.id
63
65
  )) })
64
66
  ] }),
65
- /* @__PURE__ */ a(f, { ...d, containerClassName: "md:min-w-85 lg:min-w-115 xl:min-w-140" })
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
- v as Hero2Section
74
+ u as Hero2Section
73
75
  };
@@ -1,20 +1,20 @@
1
1
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import { Markdown as c } from "./Markdown.js";
3
- const m = ({ media: d, title: i, description: r, 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: d }),
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
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: i }),
7
- !!r && /* @__PURE__ */ e(c, { className: "text-medium [&_a]:text-primary-700 [&_p:last-child]:mb-0", content: r }),
8
- /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-3 xl:grid-cols-1", children: s.map((a) => /* @__PURE__ */ e("article", { className: "bg-neutral-25 rounded p-6", children: /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-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
9
  /* @__PURE__ */ l("div", { className: "flex justify-center gap-2", children: [
10
- a.icon,
11
- /* @__PURE__ */ e("p", { className: "text-medium font-bold", children: a.title })
10
+ r.icon,
11
+ /* @__PURE__ */ e("p", { className: "text-medium font-bold", children: r.title })
12
12
  ] }),
13
13
  /* @__PURE__ */ l("p", { className: "text-small", children: [
14
- a.description,
14
+ r.description,
15
15
  " "
16
16
  ] })
17
- ] }) }, a.id)) })
17
+ ] }) }, r.id)) })
18
18
  ] })
19
19
  ] }) });
20
20
  export {
@@ -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
  ] })