@npm_leadtech/legal-contracts-ui 0.80.3 → 0.80.4

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.
@@ -89,20 +89,31 @@ export interface FastAndSimpleSectionProps {
89
89
  variant?: 'default' | 'lawgeniusDark';
90
90
  }
91
91
 
92
- export type Hero2Highlight = {
92
+ export type Hero2Highlight = string | {
93
93
  id: string;
94
94
  label: string;
95
95
  icon: ReactNode;
96
96
  };
97
97
 
98
98
  export interface Hero2SectionProps {
99
- bgLeft: ReactNode | null;
100
- bgRight: ReactNode | null;
99
+ backgroundRight?: string;
100
+ backgroundLeft?: string;
101
+ subtitle?: string;
101
102
  title: string;
102
103
  description: string;
103
104
  highlights: Hero2Highlight[];
104
- variant: 'esign' | 'ratafia';
105
- uploadZone: UploadZoneProps;
105
+ /** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
106
+ theme?: 'light' | 'dark';
107
+ /** Shown under highlight pills (e.g. Lawgenius) */
108
+ footnote?: string;
109
+ addDocumentIcon?: string;
110
+ uploadPromptText?: string;
111
+ addDocumentLabel?: string;
112
+ fileSizeText?: string;
113
+ disclaimer?: ReactNode;
114
+ onAddDocument?: () => void;
115
+ /** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
116
+ uploadSlot?: ReactNode;
106
117
  }
107
118
 
108
119
  export interface HowItWorksSectionProps {
@@ -176,14 +187,4 @@ export interface TrustpilotSectionProps {
176
187
  header: SectionHeadingProps;
177
188
  children: ReactNode;
178
189
  }
179
-
180
- export interface UploadZoneProps {
181
- uploadPromptText: string;
182
- addDocumentLabel: string;
183
- fileSizeText: string;
184
- disclaimer: string;
185
- containerClassName?: string;
186
- onAddDocument?: () => void;
187
- onDropDocument?: () => void;
188
- }
189
190
 
@@ -1,50 +1,50 @@
1
- import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
- import { AiLegalDocumentInsightsSection as x } from "./AiLegalDocumentInsightsSection.js";
3
- import { DocumentReviewUploadCard as S } from "./DocumentReviewUploadCard.js";
4
- import { FaqSection as w } from "./FaqSection.js";
1
+ import { jsxs as x, jsx as o } from "react/jsx-runtime";
2
+ import { AiLegalDocumentInsightsSection as w } from "./AiLegalDocumentInsightsSection.js";
3
+ import { DocumentReviewUploadCard as t } from "./DocumentReviewUploadCard.js";
4
+ import { FaqSection as h } from "./FaqSection.js";
5
5
  import { FastAndSimpleSection as k } from "./FastAndSimpleSection.js";
6
6
  import { Hero2Section as D } from "./Hero2Section.js";
7
- import { HowItWorksSection as h } from "./HowItWorksSection.js";
8
- import { LawgeniusAskQuestionsSection as v } from "./LawgeniusAskQuestionsSection.js";
9
- import { LawgeniusFloatingTagsIllustration as A } from "./LawgeniusFloatingTagsIllustration.js";
10
- import { SignAndSendSection as R } from "./SignAndSendSection.js";
11
- import { TrustpilotSection as I } from "./TrustpilotSection.js";
12
- const O = ({
13
- hero: t,
14
- howItWorks: i,
15
- fastAndSimple: e,
16
- insights: r,
17
- signAndSend: n,
18
- trustpilot: a,
19
- askQuestions: s,
7
+ import { HowItWorksSection as v } from "./HowItWorksSection.js";
8
+ import { LawgeniusAskQuestionsSection as A } from "./LawgeniusAskQuestionsSection.js";
9
+ import { LawgeniusFloatingTagsIllustration as R } from "./LawgeniusFloatingTagsIllustration.js";
10
+ import { SignAndSendSection as I } from "./SignAndSendSection.js";
11
+ import { TrustpilotSection as L } from "./TrustpilotSection.js";
12
+ const P = ({
13
+ hero: i,
14
+ howItWorks: e,
15
+ fastAndSimple: r,
16
+ insights: n,
17
+ signAndSend: a,
18
+ trustpilot: s,
19
+ askQuestions: l,
20
20
  faq: m
21
21
  }) => {
22
- const { ...l } = t, { upload: c, leadingIcon: p, ...u } = n, { illustration: g, ...f } = s;
23
- return /* @__PURE__ */ d("main", { className: "flex w-full flex-col", children: [
24
- /* @__PURE__ */ o(D, { ...l }),
25
- /* @__PURE__ */ o(h, { ...i }),
26
- /* @__PURE__ */ o(k, { ...e, variant: "lawgeniusDark" }),
27
- /* @__PURE__ */ o(x, { ...r }),
22
+ const { upload: p, ...c } = i, { upload: u, leadingIcon: d, ...g } = a, { illustration: f, ...S } = l;
23
+ return /* @__PURE__ */ x("main", { className: "flex w-full flex-col", children: [
24
+ /* @__PURE__ */ o(D, { ...c, uploadSlot: /* @__PURE__ */ o(t, { ...p }) }),
25
+ /* @__PURE__ */ o(v, { ...e }),
26
+ /* @__PURE__ */ o(k, { ...r, variant: "lawgeniusDark" }),
27
+ /* @__PURE__ */ o(w, { ...n }),
28
28
  /* @__PURE__ */ o(
29
- R,
29
+ I,
30
30
  {
31
- ...u,
31
+ ...g,
32
32
  variant: "lawgeniusDark",
33
- leadingIcon: p,
34
- rightColumn: /* @__PURE__ */ o(S, { ...c, variant: "embeddedOnDark" })
33
+ leadingIcon: d,
34
+ rightColumn: /* @__PURE__ */ o(t, { ...u, variant: "embeddedOnDark" })
35
35
  }
36
36
  ),
37
- /* @__PURE__ */ o(I, { ...a }),
37
+ /* @__PURE__ */ o(L, { ...s }),
38
38
  /* @__PURE__ */ o(
39
- v,
39
+ A,
40
40
  {
41
- ...f,
42
- illustration: /* @__PURE__ */ o(A, { ...g })
41
+ ...S,
42
+ illustration: /* @__PURE__ */ o(R, { ...f })
43
43
  }
44
44
  ),
45
- /* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(w, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
45
+ /* @__PURE__ */ o("section", { className: "bg-neutral-25 px-6 py-16 sm:px-10 lg:px-32", children: /* @__PURE__ */ o(h, { ...m, className: "mx-auto max-w-6xl space-y-6" }) })
46
46
  ] });
47
47
  };
48
48
  export {
49
- O as AiLegalDocumentReviewerTemplate
49
+ P as AiLegalDocumentReviewerTemplate
50
50
  };
@@ -13,6 +13,7 @@ export declare interface BlogSectionProps {
13
13
  }[];
14
14
  cta: ReactNode | null;
15
15
  className?: string;
16
+ variant?: 'column' | 'row';
16
17
  }
17
18
 
18
19
  export interface SectionHeadingProps {
@@ -1,20 +1,40 @@
1
1
  import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
2
  import "react";
3
- import t from "clsx";
4
- import { SectionHeading as a } from "./SectionHeading.js";
5
- import { LinkWrapper as d } from "./LinkWrapper.js";
6
- const p = ({ header: m, articles: r, cta: o, className: n = "" }) => r.length === 0 ? null : /* @__PURE__ */ e("section", { className: t("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", n), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
7
- m && /* @__PURE__ */ e(a, { ...m }),
8
- /* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: r.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
9
- /* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-t-sm md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
10
- /* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
11
- /* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
12
- /* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
13
- /* @__PURE__ */ e(d, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
14
- ] })
15
- ] }, l.title)) }),
16
- !!o && /* @__PURE__ */ e(d, { className: "w-full md:w-fit", variant: "secondary-green", children: o })
17
- ] }) });
3
+ import o from "clsx";
4
+ import { SectionHeading as c } from "./SectionHeading.js";
5
+ import { LinkWrapper as t } from "./LinkWrapper.js";
6
+ const u = ({ header: r, articles: m, cta: d, className: s = "", variant: a = "row" }) => {
7
+ if (m.length === 0) return null;
8
+ const n = a === "row";
9
+ return /* @__PURE__ */ e("section", { className: o("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0", s), children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
10
+ r && /* @__PURE__ */ e(c, { ...r }),
11
+ /* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: m.map((l) => /* @__PURE__ */ i(
12
+ "article",
13
+ {
14
+ className: o("flex flex-col rounded-sm bg-white shadow", n && "md:flex-row"),
15
+ children: [
16
+ /* @__PURE__ */ e(
17
+ "div",
18
+ {
19
+ className: o(
20
+ "relative h-42 shrink-0 overflow-hidden rounded-t-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover",
21
+ n && "md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm"
22
+ ),
23
+ children: l.image
24
+ }
25
+ ),
26
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
27
+ /* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
28
+ /* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
29
+ /* @__PURE__ */ e(t, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
30
+ ] })
31
+ ]
32
+ },
33
+ l.title
34
+ )) }),
35
+ !!d && /* @__PURE__ */ e(t, { className: "w-full md:w-fit", variant: "secondary-green", children: d })
36
+ ] }) });
37
+ };
18
38
  export {
19
- p as BlogSection
39
+ u as BlogSection
20
40
  };
@@ -11,6 +11,7 @@ export interface BlogSectionProps {
11
11
  }[];
12
12
  cta: ReactNode | null;
13
13
  className?: string;
14
+ variant?: 'column' | 'row';
14
15
  }
15
16
 
16
17
  export interface BreadcrumbProps {
@@ -5,7 +5,7 @@ import { DocumentSection as n } from "./DocumentSection.js";
5
5
  import { Breadcrumb as x } from "./Breadcrumb.js";
6
6
  import { FaqSection as f } from "./FaqSection.js";
7
7
  import { BlogSection as d } from "./BlogSection.js";
8
- const w = ({
8
+ const v = ({
9
9
  jumbo: r,
10
10
  breadcrumb: o,
11
11
  categories: m,
@@ -25,6 +25,8 @@ const w = ({
25
25
  d,
26
26
  {
27
27
  ...a,
28
+ className: "px-0!",
29
+ variant: "column",
28
30
  header: a.header ? {
29
31
  ...a.header,
30
32
  align: "start",
@@ -37,5 +39,5 @@ const w = ({
37
39
  ] })
38
40
  ] });
39
41
  export {
40
- w as CategoryProductTemplate
42
+ v as CategoryProductTemplate
41
43
  };
@@ -1,12 +1,12 @@
1
- import { jsx as i } from "react/jsx-runtime";
1
+ import { jsx as l } from "react/jsx-runtime";
2
2
  import "react";
3
- const o = (l) => /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "none", viewBox: "0 0 32 32", ...l, children: /* @__PURE__ */ i(
3
+ const i = (o) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "none", viewBox: "0 0 32 32", ...o, children: /* @__PURE__ */ l(
4
4
  "path",
5
5
  {
6
- fill: l.fill ?? "var(--color-primary-700)",
6
+ fill: "var(--color-primary-700)",
7
7
  d: "M8 29.333a2.57 2.57 0 0 1-1.883-.783 2.57 2.57 0 0 1-.784-1.884V5.334q0-1.099.784-1.883A2.57 2.57 0 0 1 8 2.666h9.567a2.63 2.63 0 0 1 1.866.767L25.9 9.9q.367.367.567.85.2.482.2 1.017v2.1a.97.97 0 0 1-.217.633 1.33 1.33 0 0 1-.55.4 5 5 0 0 0-1.016.516 5.5 5.5 0 0 0-.884.717l-7.2 7.2a2.8 2.8 0 0 0-.583.85A2.5 2.5 0 0 0 16 25.2V28q0 .566-.383.95a1.3 1.3 0 0 1-.95.383zM18.667 28v-2.2q0-.267.1-.517t.3-.45l6.967-6.933q.3-.3.666-.433.368-.134.733-.134a2 2 0 0 1 1.434.6l1.233 1.233q.267.3.417.667t.15.734-.134.75A1.8 1.8 0 0 1 30.1 22l-6.933 6.933a1.3 1.3 0 0 1-.45.3 1.4 1.4 0 0 1-.517.1H20a1.3 1.3 0 0 1-.95-.383 1.3 1.3 0 0 1-.383-.95m8.766-6.134 1.234-1.3-1.234-1.233-1.266 1.267zM18.667 12H24l-6.666-6.667v5.333q0 .567.383.95.383.384.95.384"
8
8
  }
9
9
  ) });
10
10
  export {
11
- o as DocEditFillIcon
11
+ i as DocEditFillIcon
12
12
  };
@@ -52,20 +52,31 @@ export interface FastAndSimpleSectionProps {
52
52
  variant?: 'default' | 'lawgeniusDark';
53
53
  }
54
54
 
55
- export type Hero2Highlight = {
55
+ export type Hero2Highlight = string | {
56
56
  id: string;
57
57
  label: string;
58
58
  icon: ReactNode;
59
59
  };
60
60
 
61
61
  export interface Hero2SectionProps {
62
- bgLeft: ReactNode | null;
63
- bgRight: ReactNode | null;
62
+ backgroundRight?: string;
63
+ backgroundLeft?: string;
64
+ subtitle?: string;
64
65
  title: string;
65
66
  description: string;
66
67
  highlights: Hero2Highlight[];
67
- variant: 'esign' | 'ratafia';
68
- uploadZone: UploadZoneProps;
68
+ /** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
69
+ theme?: 'light' | 'dark';
70
+ /** Shown under highlight pills (e.g. Lawgenius) */
71
+ footnote?: string;
72
+ addDocumentIcon?: string;
73
+ uploadPromptText?: string;
74
+ addDocumentLabel?: string;
75
+ fileSizeText?: string;
76
+ disclaimer?: ReactNode;
77
+ onAddDocument?: () => void;
78
+ /** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
79
+ uploadSlot?: ReactNode;
69
80
  }
70
81
 
71
82
  export interface HowItWorksSectionProps {
@@ -121,14 +132,4 @@ export interface TrustpilotSectionProps {
121
132
  header: SectionHeadingProps;
122
133
  children: ReactNode;
123
134
  }
124
-
125
- export interface UploadZoneProps {
126
- uploadPromptText: string;
127
- addDocumentLabel: string;
128
- fileSizeText: string;
129
- disclaimer: string;
130
- containerClassName?: string;
131
- onAddDocument?: () => void;
132
- onDropDocument?: () => void;
133
- }
134
135
 
@@ -1,7 +1,7 @@
1
1
  import { FC } from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
- export declare type Hero2Highlight = {
4
+ export declare type Hero2Highlight = string | {
5
5
  id: string;
6
6
  label: string;
7
7
  icon: ReactNode;
@@ -10,22 +10,23 @@ export declare type Hero2Highlight = {
10
10
  export declare const Hero2Section: FC<Hero2SectionProps>;
11
11
 
12
12
  export declare interface Hero2SectionProps {
13
- bgLeft: ReactNode | null;
14
- bgRight: ReactNode | null;
13
+ backgroundRight?: string;
14
+ backgroundLeft?: string;
15
+ subtitle?: string;
15
16
  title: string;
16
17
  description: string;
17
18
  highlights: Hero2Highlight[];
18
- variant: 'esign' | 'ratafia';
19
- uploadZone: UploadZoneProps;
20
- }
21
-
22
- export interface UploadZoneProps {
23
- uploadPromptText: string;
24
- addDocumentLabel: string;
25
- fileSizeText: string;
26
- disclaimer: string;
27
- containerClassName?: string;
19
+ /** Light (e-sign): default pills with chevron. Dark (Lawgenius): gradient hero, optional icon pills */
20
+ theme?: 'light' | 'dark';
21
+ /** Shown under highlight pills (e.g. Lawgenius) */
22
+ footnote?: string;
23
+ addDocumentIcon?: string;
24
+ uploadPromptText?: string;
25
+ addDocumentLabel?: string;
26
+ fileSizeText?: string;
27
+ disclaimer?: ReactNode;
28
28
  onAddDocument?: () => void;
29
- onDropDocument?: () => void;
29
+ /** Replaces the default upload card (e.g. wrap `DocumentReviewUploadCard`) */
30
+ uploadSlot?: ReactNode;
30
31
  }
31
32
 
@@ -1,75 +1,137 @@
1
- import { jsxs as l, jsx as a, Fragment as d } from "react/jsx-runtime";
2
- import { UploadZone as p } from "./UploadZone.js";
3
- import t from "clsx";
4
- import { Markdown as h } from "./Markdown.js";
5
- const u = ({
6
- title: n,
7
- description: m,
8
- highlights: o,
9
- variant: x,
10
- uploadZone: c,
11
- bgLeft: r,
12
- bgRight: s
1
+ import { jsxs as l, jsx as e, Fragment as w } from "react/jsx-runtime";
2
+ import { ChevronRightIcon as v } from "./ChevronRightIcon.js";
3
+ import { Button as N } from "./Button.js";
4
+ const B = ({
5
+ backgroundRight: s = "",
6
+ backgroundLeft: n = "",
7
+ subtitle: i,
8
+ title: p,
9
+ description: u,
10
+ highlights: g,
11
+ theme: f = "light",
12
+ footnote: r,
13
+ addDocumentIcon: m,
14
+ uploadPromptText: d,
15
+ addDocumentLabel: c,
16
+ fileSizeText: x,
17
+ disclaimer: o,
18
+ onAddDocument: y,
19
+ uploadSlot: h
13
20
  }) => {
14
- const e = x === "ratafia";
21
+ const t = f === "dark", b = h == null && m != null && d != null && c != null && x != null && o != null;
15
22
  return /* @__PURE__ */ l(
16
23
  "section",
17
24
  {
18
- className: t(
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",
21
- !e && "bg-neutral-50"
22
- ),
25
+ className: t ? "bg-primary-900 relative isolate overflow-hidden px-6 py-16 text-white sm:px-10 lg:px-24" : "relative overflow-hidden bg-neutral-50",
23
26
  children: [
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 })
27
+ t ? /* @__PURE__ */ l("div", { className: "pointer-events-none absolute inset-0", children: [
28
+ /* @__PURE__ */ e("div", { className: "from-primary-800/70 via-primary-900 to-primary-900 absolute inset-0 bg-gradient-to-br" }),
29
+ /* @__PURE__ */ e("div", { className: "absolute inset-0 bg-white/10 mix-blend-lighten" })
30
+ ] }) : /* @__PURE__ */ l(w, { children: [
31
+ s !== "" && /* @__PURE__ */ e(
32
+ "img",
33
+ {
34
+ src: s,
35
+ alt: "",
36
+ width: 400,
37
+ height: 400,
38
+ className: "pointer-events-none absolute top-8 -right-20 z-0 hidden opacity-40 mix-blend-luminosity lg:block",
39
+ "aria-hidden": !0
40
+ }
41
+ ),
42
+ n !== "" && /* @__PURE__ */ e(
43
+ "img",
44
+ {
45
+ src: n,
46
+ alt: "",
47
+ width: 420,
48
+ height: 420,
49
+ className: "pointer-events-none absolute -top-20 -left-40 z-0 hidden opacity-40 mix-blend-luminosity lg:block",
50
+ "aria-hidden": !0
51
+ }
52
+ )
30
53
  ] }),
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: [
32
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-4", children: [
33
- /* @__PURE__ */ a(
34
- "h1",
35
- {
36
- className: t(
37
- "text-extra-large leading-tight font-bold",
38
- e && "text-white",
39
- !e && "text-primary-900"
40
- ),
41
- children: n
42
- }
43
- ),
44
- /* @__PURE__ */ a(
45
- h,
46
- {
47
- className: t("text-medium [&_p:last-child]:mb-0", e ? "text-white" : "text-neutral-800"),
48
- content: m
49
- }
50
- ),
51
- /* @__PURE__ */ a("div", { className: "flex gap-4", children: o.map((i) => /* @__PURE__ */ l(
52
- "span",
53
- {
54
- className: t(
55
- "text-small flex flex-nowrap items-center gap-1 rounded p-1",
56
- e && "bg-primary-50 text-primary-800 font-semibold",
57
- !e && "bg-primary-800 text-primary-50"
58
- ),
59
- children: [
60
- i.icon,
61
- i.label
62
- ]
63
- },
64
- i.id
65
- )) })
66
- ] }),
67
- /* @__PURE__ */ a(p, { ...c, containerClassName: "md:min-w-85 lg:min-w-115 xl:min-w-140" })
68
- ] })
54
+ /* @__PURE__ */ l(
55
+ "div",
56
+ {
57
+ className: t ? "relative mx-auto grid max-w-6xl gap-12 lg:grid-cols-2" : "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",
58
+ children: [
59
+ /* @__PURE__ */ l("div", { className: `space-y-6 ${t ? "" : "flex-1"}`, children: [
60
+ /* @__PURE__ */ l("div", { className: "space-y-2", children: [
61
+ i != null && i !== "" && /* @__PURE__ */ e(
62
+ "p",
63
+ {
64
+ className: t ? "text-small text-secondary-300 font-semibold tracking-[0.3em] uppercase" : "text-extra-small font-bold tracking-[0.2em] text-neutral-600 uppercase",
65
+ children: i
66
+ }
67
+ ),
68
+ /* @__PURE__ */ e(
69
+ "h1",
70
+ {
71
+ className: t ? "text-4xl leading-tight font-semibold text-white sm:text-5xl lg:text-6xl" : "font-lora text-extra-large text-primary-900 md:text-hero",
72
+ children: p
73
+ }
74
+ )
75
+ ] }),
76
+ /* @__PURE__ */ e("p", { className: t ? "text-medium text-white/80" : "text-medium text-neutral-800", children: u }),
77
+ /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-3", children: g.map(
78
+ (a) => typeof a == "string" ? /* @__PURE__ */ l(
79
+ "span",
80
+ {
81
+ className: "bg-primary-800 text-small text-primary-50 inline-flex items-center gap-2 rounded-md px-3 py-1 font-semibold",
82
+ children: [
83
+ /* @__PURE__ */ e(v, { className: "text-primary-50 h-4 w-4", "aria-hidden": !0 }),
84
+ a
85
+ ]
86
+ },
87
+ a
88
+ ) : /* @__PURE__ */ l(
89
+ "span",
90
+ {
91
+ className: "text-small inline-flex items-center gap-2 rounded-full bg-white/10 px-4 py-2 font-semibold text-white",
92
+ children: [
93
+ a.icon,
94
+ a.label
95
+ ]
96
+ },
97
+ a.id
98
+ )
99
+ ) }),
100
+ r != null && r !== "" && /* @__PURE__ */ e("p", { className: t ? "text-small text-white/80" : "text-small text-neutral-700", children: r })
101
+ ] }),
102
+ /* @__PURE__ */ e("div", { className: t ? "" : "flex flex-1 justify-center", children: h ?? (b ? /* @__PURE__ */ e("div", { className: "flex flex-1 justify-center", children: /* @__PURE__ */ e(
103
+ "div",
104
+ {
105
+ className: "relative w-full max-w-xl rounded-3xl bg-white/70 p-4 backdrop-blur",
106
+ style: { boxShadow: "var(--shadow-medium)" },
107
+ children: /* @__PURE__ */ l("div", { className: "rounded-2xl bg-white p-8 text-center shadow-lg", children: [
108
+ /* @__PURE__ */ e("p", { className: "text-medium text-neutral-400", children: d }),
109
+ /* @__PURE__ */ l(
110
+ N,
111
+ {
112
+ size: "large",
113
+ variant: "primary-white",
114
+ className: "bg-primary-700 hover:bg-primary-600 focus-visible:outline-primary-700 mt-6 w-full justify-center text-white",
115
+ onClick: y,
116
+ type: "button",
117
+ children: [
118
+ /* @__PURE__ */ e("img", { src: m, alt: "", width: 24, height: 24 }),
119
+ /* @__PURE__ */ e("span", { className: "text-medium font-bold", children: c })
120
+ ]
121
+ }
122
+ ),
123
+ /* @__PURE__ */ e("p", { className: "text-extra-small mt-6 text-neutral-400", children: x }),
124
+ /* @__PURE__ */ e("p", { className: "text-tiny mt-2 text-neutral-400", children: o })
125
+ ] })
126
+ }
127
+ ) }) : null) })
128
+ ]
129
+ }
130
+ )
69
131
  ]
70
132
  }
71
133
  );
72
134
  };
73
135
  export {
74
- u as Hero2Section
136
+ B as Hero2Section
75
137
  };
@@ -11,6 +11,7 @@ export interface BlogSectionProps {
11
11
  }[];
12
12
  cta: ReactNode | null;
13
13
  className?: string;
14
+ variant?: 'column' | 'row';
14
15
  }
15
16
 
16
17
  export interface CategoriesSectionProps {
@@ -1,14 +1,14 @@
1
- import { jsx as c } from "react/jsx-runtime";
1
+ import { jsx as l } from "react/jsx-runtime";
2
2
  import "react";
3
- const e = (l) => /* @__PURE__ */ c("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", ...l, children: /* @__PURE__ */ c(
3
+ const i = (c) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", ...c, children: /* @__PURE__ */ l(
4
4
  "path",
5
5
  {
6
- fill: l.fill ?? "var(--color-primary-700)",
6
+ fill: "var(--color-primary-700)",
7
7
  fillRule: "evenodd",
8
8
  d: "M13.174 1.14c-.228-.631-1.12-.631-1.348 0l-.333.922a.72.72 0 0 1-.431.431l-.923.333c-.63.228-.63 1.12 0 1.348l.923.333c.2.072.358.23.43.43l.334.923c.227.632 1.12.632 1.348 0l.333-.922c.072-.2.23-.359.43-.43l.923-.334c.631-.228.631-1.12 0-1.348l-.923-.333a.72.72 0 0 1-.43-.43zm-5.14 3.101c-.455-1.262-2.24-1.262-2.696 0l-.76 2.104c-.144.401-.46.717-.86.862l-2.105.759c-1.262.455-1.262 2.24 0 2.696l2.104.76c.401.144.717.46.862.86l.759 2.105c.455 1.262 2.24 1.262 2.696 0l.76-2.104c.144-.401.46-.717.86-.862l2.105-.76c1.262-.455 1.262-2.24 0-2.695l-2.104-.76a1.43 1.43 0 0 1-.862-.861z",
9
9
  clipRule: "evenodd"
10
10
  }
11
11
  ) });
12
12
  export {
13
- e as StarsIcon
13
+ i as StarsIcon
14
14
  };