@npm_leadtech/legal-contracts-ui 0.129.21 → 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/style/themes.css +1 -0
- package/dist/components/AboutUsTemplate.d.ts +2 -0
- package/dist/components/Blockquote.js +9 -9
- package/dist/components/BlogSection.js +8 -8
- package/dist/components/ContactFormSection.d.ts +1 -1
- package/dist/components/ContactUsTemplate.d.ts +1 -1
- package/dist/components/HeroImageShell.js +7 -7
- package/dist/components/HowItWorksLawGeniusSection.js +8 -8
- package/dist/components/HowItWorksTemplate.d.ts +2 -2
- package/dist/components/HowItWorksTemplate.js +80 -95
- package/dist/components/HowItWorksTemplateTokens.d.ts +3 -5
- package/dist/components/HowItWorksTemplateTokens.js +5 -5
- package/dist/components/IntroSection.d.ts +2 -0
- package/dist/components/IntroSection.js +38 -13
- package/dist/components/LawGeniusImageShell.js +4 -4
- package/dist/components/LawGeniusStepCard.js +1 -1
- package/dist/components/OrderedList.js +9 -9
- package/dist/components/PricingTemplate.d.ts +2 -0
- package/dist/components/ProductInfo.js +11 -12
- package/dist/components/RatafiaSection.js +44 -34
- package/dist/components/StepImageShell.js +5 -5
- package/dist/components/TrustSection.js +1 -1
- package/dist/components/TwoColumnSection.js +10 -10
- package/dist/components/globals.d.ts +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/globals.css +1 -328
- package/dist/globals.js +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
html[data-theme=primarygreen]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #eff7f5;--primary-100: #e4f8f3;--primary-200: #c0f7e8;--primary-300: #5dd8c3;--primary-400: #34b2a7;--primary-500: #078080;--primary-700: #05646e;--primary-800: #02374a;--primary-900: #032a38;--secondary-50: #fcf9f5;--secondary-100: #fcf4e5;--secondary-200: #f7e8cf;--secondary-300: #f5dab0;--secondary-400: #f4cc8c;--secondary-500: #f2bd6a;--secondary-600: #cd9a4c;--secondary-700: #936c2f;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=primaryblue]{--background: #ffffff;--foreground: #171717;--font-inter: "Poppins", sans-serif;--font-lora: "Poppins", sans-serif;--font-lora-weight: 700;--primary-50: #e9f5ff;--primary-100: #d7ecff;--primary-200: #b7daff;--primary-300: #8bc1ff;--primary-400: #5e99ff;--primary-500: #3970ff;--primary-700: #1039f5;--primary-800: #163399;--primary-900: #07144b;--secondary-50: #fff6ed;--secondary-100: #fff0d5;--secondary-200: #fedcaa;--secondary-300: #fdc374;--secondary-400: #fb9e3c;--secondary-500: #f98116;--secondary-600: #ea660c;--secondary-700: #d3530d;--neutral-25: #f5f7fa;--neutral-50: #ebeef3;--neutral-200: #d2d9e5;--neutral-400: #abbbce;--neutral-600: #496080;--neutral-800: #2f3a4b;--neutral-900: #1f2532;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryorange]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #fff5ee;--primary-100: #ffe1cc;--primary-200: #ffc59b;--primary-300: #ffa05c;--primary-400: #ff862e;--primary-500: #f26600;--primary-700: #c95500;--primary-800: #4f2100;--primary-900: #220f00;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryblue]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9f9ff;--primary-100: #eceeff;--primary-200: #c3c9ff;--primary-300: #9aa4ff;--primary-400: #717fff;--primary-500: #485aff;--primary-700: #1725a6;--primary-800: #050e5a;--primary-900: #000533;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarypurple]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9f5ff;--primary-100: #e3d1ff;--primary-200: #b68aff;--primary-300: #a56dff;--primary-400: #9e63ff;--primary-500: #7d2eff;--primary-700: #320085;--primary-800: #23005c;--primary-900: #11002d;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarygreen]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #e7fff1;--primary-100: #d5ffe6;--primary-200: #6affa5;--primary-300: #16ff73;--primary-400: #00df59;--primary-500: #00b649;--primary-700: #008e39;--primary-800: #003c18;--primary-900: #001709;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondaryyellow]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #f9ffea;--primary-100: #f0ffc4;--primary-200: #e6ff9f;--primary-300: #c9ff2f;--primary-400: #b1e815;--primary-500: #8ebf00;--primary-700: #6f9600;--primary-800: #384c00;--primary-900: #192101;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=secondarybrown]{--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #fffbf2;--primary-100: #fff6e5;--primary-200: #ffe6b7;--primary-300: #ffc75c;--primary-400: #ffa800;--primary-500: #d68d00;--primary-700: #855800;--primary-800: #3d2800;--primary-900: #231700;--secondary-50: #eff7f5;--secondary-100: #e4f8f3;--secondary-200: #c0f7e8;--secondary-300: #5dd8c3;--secondary-400: #34b2a7;--secondary-500: #078080;--secondary-600: #05646e;--secondary-700: #02374a;--secondary-900: #032a38;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #cacaca;--neutral-600: #6b6e6f;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import l from "clsx";
|
|
3
|
+
const b = ({ children: r, variant: e = "default" }) => {
|
|
4
4
|
const t = {
|
|
5
|
-
default: "
|
|
6
|
-
"about-us": "
|
|
7
|
-
unsubscribe: "
|
|
8
|
-
},
|
|
9
|
-
return /* @__PURE__ */
|
|
5
|
+
default: "border-l-4 border-gray-300 pl-4 text-gray-700 ",
|
|
6
|
+
"about-us": "text-gray-700 bg-neutral-25 pt-4 px-4 pb-0.5",
|
|
7
|
+
unsubscribe: "border-l-4 border-neutral-300 pl-4 text-neutral-700 "
|
|
8
|
+
}, a = t[e] ?? t.default;
|
|
9
|
+
return /* @__PURE__ */ o("blockquote", { className: l("my-4 italic", a), children: r });
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
b as Blockquote
|
|
13
13
|
};
|
|
@@ -2,23 +2,23 @@ import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import o from "clsx";
|
|
4
4
|
import { SectionHeading as c } from "./SectionHeading.js";
|
|
5
|
-
import { LinkWrapper as
|
|
6
|
-
const u = ({ header: r, articles: m, cta:
|
|
5
|
+
import { LinkWrapper as s } from "./LinkWrapper.js";
|
|
6
|
+
const u = ({ header: r, articles: m, cta: t, className: n = "", variant: a = "row" }) => {
|
|
7
7
|
if (m.length === 0) return null;
|
|
8
|
-
const
|
|
9
|
-
return /* @__PURE__ */ e("section", { className: o("mx-auto px-8 lg:px-12 xl:max-w-300 xl:px-0",
|
|
8
|
+
const d = a === "row";
|
|
9
|
+
return /* @__PURE__ */ e("section", { className: o("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: [
|
|
10
10
|
r && /* @__PURE__ */ e(c, { ...r }),
|
|
11
11
|
/* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: m.map((l) => /* @__PURE__ */ i(
|
|
12
12
|
"article",
|
|
13
13
|
{
|
|
14
|
-
className: o("flex flex-col rounded-sm bg-white shadow",
|
|
14
|
+
className: o("flex flex-col rounded-sm bg-white shadow", d && "md:flex-row"),
|
|
15
15
|
children: [
|
|
16
16
|
/* @__PURE__ */ e(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
19
|
className: o(
|
|
20
20
|
"relative h-42 shrink-0 overflow-hidden rounded-t-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover",
|
|
21
|
-
|
|
21
|
+
d && "md:h-auto md:max-w-51 md:self-stretch md:rounded-t-none md:rounded-l-sm"
|
|
22
22
|
),
|
|
23
23
|
children: l.image
|
|
24
24
|
}
|
|
@@ -26,13 +26,13 @@ const u = ({ header: r, articles: m, cta: d, className: s = "", variant: a = "ro
|
|
|
26
26
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
|
|
27
27
|
/* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
|
|
28
28
|
/* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
|
|
29
|
-
/* @__PURE__ */ e(
|
|
29
|
+
/* @__PURE__ */ e(s, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
|
|
30
30
|
] })
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
l.title
|
|
34
34
|
)) }),
|
|
35
|
-
!!
|
|
35
|
+
!!t && /* @__PURE__ */ e(s, { className: "w-full md:w-fit", variant: "secondary-green", children: t })
|
|
36
36
|
] }) });
|
|
37
37
|
};
|
|
38
38
|
export {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
const
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
const a = { w: 1200, h: 900 }, n = "relative mx-auto aspect-[4/3] w-full max-w-79 overflow-hidden rounded-2xl bg-neutral-100 md:mx-0 md:max-w-none", t = "relative mx-auto w-full max-w-79 overflow-hidden rounded-2xl md:mx-0 md:max-w-none", r = ({ empty: e, children: o }) => /* @__PURE__ */ l("div", { className: e ? n : t, "aria-hidden": e ? !0 : void 0, children: e ? null : o }), i = ({ src: e, alt: o, priority: d }) => e ? /* @__PURE__ */ l(r, { children: /* @__PURE__ */ l(
|
|
3
3
|
"img",
|
|
4
4
|
{
|
|
5
|
-
src:
|
|
5
|
+
src: e,
|
|
6
6
|
alt: o,
|
|
7
|
-
width:
|
|
8
|
-
height:
|
|
7
|
+
width: a.w,
|
|
8
|
+
height: a.h,
|
|
9
9
|
className: "h-auto w-full max-w-full object-cover",
|
|
10
10
|
...d ? { loading: "eager" } : { loading: "lazy" }
|
|
11
11
|
}
|
|
12
|
-
) }) : /* @__PURE__ */
|
|
12
|
+
) }) : /* @__PURE__ */ l(r, { empty: !0 });
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
i as HeroImageShell
|
|
15
15
|
};
|
|
@@ -4,25 +4,25 @@ import { LawGeniusImageShell as p } from "./LawGeniusImageShell.js";
|
|
|
4
4
|
import { Markdown as t } from "./Markdown.js";
|
|
5
5
|
const v = ({
|
|
6
6
|
sectionTitle: s,
|
|
7
|
-
contentMarkdown:
|
|
7
|
+
contentMarkdown: r,
|
|
8
8
|
descriptionMarkdown: a,
|
|
9
|
-
steps:
|
|
9
|
+
steps: m,
|
|
10
10
|
belowStepsMarkdown: i,
|
|
11
11
|
cta: n,
|
|
12
12
|
imageUrl: c,
|
|
13
13
|
imageAlt: x
|
|
14
14
|
}) => {
|
|
15
|
-
const
|
|
16
|
-
return /* @__PURE__ */ e("section", { className: "bg-neutral-25 lg:px-ds-10xl px-6 pt-16 pb-12 sm:px-10", children: /* @__PURE__ */ e("div", { className: "bg-
|
|
15
|
+
const d = a.trim().length > 0, o = i.trim().length > 0;
|
|
16
|
+
return /* @__PURE__ */ e("section", { className: "bg-neutral-25 lg:px-ds-10xl px-6 pt-16 pb-12 sm:px-10", children: /* @__PURE__ */ e("div", { className: "bg-ratafia mx-auto w-full max-w-6xl rounded-3xl px-8 pt-16 pb-8 text-white shadow-[0_25px_80px_rgba(3,42,56,0.35)] sm:px-10 sm:pt-16 sm:pb-10", children: /* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:gap-10", children: [
|
|
17
17
|
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-center text-white", children: [
|
|
18
18
|
/* @__PURE__ */ e("h2", { className: "lg:text-super-large text-3xl font-bold lg:leading-tight", children: s }),
|
|
19
|
-
/* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content:
|
|
20
|
-
|
|
19
|
+
/* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: r }) }),
|
|
20
|
+
d && /* @__PURE__ */ e("div", { className: "[&_p]:text-medium [&_p]:text-white/80 [&_p:last-child]:mb-0", children: /* @__PURE__ */ e(t, { variant: "ratafia", content: a }) })
|
|
21
21
|
] }),
|
|
22
22
|
/* @__PURE__ */ l("div", { className: "flex w-full flex-col gap-8 lg:grid lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] lg:items-stretch lg:gap-10", children: [
|
|
23
23
|
/* @__PURE__ */ l("div", { className: "flex min-h-0 flex-col gap-6", children: [
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
m,
|
|
25
|
+
o && /* @__PURE__ */ e(
|
|
26
26
|
t,
|
|
27
27
|
{
|
|
28
28
|
variant: "ratafia",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
|
|
3
4
|
export declare type HowItWorksExamplesProps = {
|
|
4
5
|
eyebrow: string;
|
|
@@ -58,8 +59,7 @@ export declare interface HowItWorksTemplateProps {
|
|
|
58
59
|
contentMarkdown: string;
|
|
59
60
|
steps: HowItWorksLawGeniusStep[];
|
|
60
61
|
belowStepsMarkdown: string;
|
|
61
|
-
|
|
62
|
-
imageAlt: string;
|
|
62
|
+
image: ReactNode;
|
|
63
63
|
cta: {
|
|
64
64
|
href: string;
|
|
65
65
|
label: string;
|
|
@@ -1,139 +1,124 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as w } from "react/jsx-runtime";
|
|
2
|
-
import { clsx as
|
|
3
|
-
import { howItWorksLawGeniusCtaLinkClassName as
|
|
4
|
-
import { HeroImageShell as
|
|
5
|
-
import { RatafiaSection as
|
|
6
|
-
import { LawGeniusStepCard as
|
|
7
|
-
import { ResourcesImageShell as
|
|
2
|
+
import { clsx as h } from "clsx";
|
|
3
|
+
import { howItWorksLawGeniusCtaLinkClassName as N, howItWorksHeroCtaLinkClassName as b, howItWorksLawGeniusBelowStepsMarkdownClassName as k, howItWorksResourcesSupportBodyClassName as C, howItWorksResourcesCtaLinkClassName as y } from "./HowItWorksTemplateTokens.js";
|
|
4
|
+
import { HeroImageShell as v } from "./HeroImageShell.js";
|
|
5
|
+
import { RatafiaSection as S } from "./RatafiaSection.js";
|
|
6
|
+
import { LawGeniusStepCard as M } from "./LawGeniusStepCard.js";
|
|
7
|
+
import { ResourcesImageShell as I } from "./ResourcesImageShell.js";
|
|
8
8
|
import { StepImageShell as W } from "./StepImageShell.js";
|
|
9
|
-
import {
|
|
10
|
-
import { IntroSection as
|
|
11
|
-
import { Markdown as
|
|
12
|
-
import { TwoColumnSection as
|
|
13
|
-
import {
|
|
9
|
+
import { LinkWrapper as L } from "./LinkWrapper.js";
|
|
10
|
+
import { IntroSection as B } from "./IntroSection.js";
|
|
11
|
+
import { Markdown as m } from "./Markdown.js";
|
|
12
|
+
import { TwoColumnSection as o } from "./TwoColumnSection.js";
|
|
13
|
+
import { Button as A } from "./Button.js";
|
|
14
14
|
const U = (t) => {
|
|
15
|
-
const
|
|
16
|
-
/* @__PURE__ */ e("h2", { className: "
|
|
17
|
-
/* @__PURE__ */ e("div", { className: "text-
|
|
18
|
-
] }),
|
|
19
|
-
return
|
|
20
|
-
}, J = ({ hero: t, processSteps:
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
children: /* @__PURE__ */ e("a", { href: a.cta.href, className: b, children: a.cta.label })
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
return /* @__PURE__ */ r("main", { className: "flex w-full max-w-full min-w-0 flex-1 flex-col", children: [
|
|
31
|
-
/* @__PURE__ */ e("section", { className: "bg-primary-50 lg:px-ds-10xl px-6 pt-4 pb-12 sm:px-10", children: /* @__PURE__ */ r("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: [
|
|
32
|
-
/* @__PURE__ */ r("div", { className: "text-center", children: [
|
|
33
|
-
/* @__PURE__ */ r("div", { className: "mx-auto inline-flex max-w-full flex-col items-center gap-2", children: [
|
|
34
|
-
/* @__PURE__ */ e("p", { className: "text-small font-semibold tracking-[0.3em] whitespace-nowrap text-neutral-600 uppercase", children: t.eyebrow }),
|
|
35
|
-
/* @__PURE__ */ e("span", { className: "h-px w-full max-w-[7.5rem] min-w-[5.5rem] shrink-0 bg-neutral-400", "aria-hidden": !0 })
|
|
36
|
-
] }),
|
|
37
|
-
/* @__PURE__ */ e("h1", { className: "font-lora mx-auto mt-12 max-w-[48rem] text-4xl leading-tight font-bold tracking-tight text-neutral-800 sm:text-5xl sm:leading-tight", children: t.title })
|
|
15
|
+
const i = /* @__PURE__ */ r("div", { className: "w-full min-w-0 space-y-6 text-neutral-800 md:shrink md:grow-0 md:basis-1/2", children: [
|
|
16
|
+
/* @__PURE__ */ e("h2", { className: "text-super-large font-bold text-neutral-800", children: t.title }),
|
|
17
|
+
/* @__PURE__ */ e("div", { className: "text-medium space-y-3 text-neutral-800", children: /* @__PURE__ */ e(m, { variant: "legal", content: t.bodyMarkdown }) })
|
|
18
|
+
] }), l = /* @__PURE__ */ e("div", { className: "w-full min-w-0 md:shrink md:grow-0 md:basis-1/2", children: /* @__PURE__ */ e(W, { src: t.imageUrl, alt: t.imageAlt }) });
|
|
19
|
+
return { firstColumn: i, secondColumn: l };
|
|
20
|
+
}, J = ({ hero: t, processSteps: i, lawGenius: l, resources: n }) => {
|
|
21
|
+
const c = t.introMarkdown.trim().length > 0, d = t.closingMarkdown.trim().length > 0, p = n.supportBodyMarkdown.trim().length > 0, x = l.belowStepsMarkdown.trim().length > 0, { examples: s } = n, f = /* @__PURE__ */ e(L, { size: "default", variant: "primary-green", className: "shrink-0 font-bold", children: /* @__PURE__ */ e("a", { href: l.cta.href, className: N, children: l.cta.label }) });
|
|
22
|
+
return /* @__PURE__ */ r("main", { className: "flex w-full max-w-full min-w-0 flex-1 flex-col overflow-x-clip", children: [
|
|
23
|
+
/* @__PURE__ */ e("section", { className: "bg-primary-50 lg:px-ds-10xl px-6 pt-4 pb-12", children: /* @__PURE__ */ r("div", { className: "mx-auto flex max-w-6xl flex-col items-center gap-12", children: [
|
|
24
|
+
/* @__PURE__ */ r("div", { className: "flex w-full flex-col items-center gap-2", children: [
|
|
25
|
+
/* @__PURE__ */ e("p", { className: "text-small text-center font-semibold tracking-[0.3em] text-neutral-600 uppercase", children: t.eyebrow }),
|
|
26
|
+
/* @__PURE__ */ e("span", { className: "max-w-ds-10xl min-w-ds-7xl h-px w-full shrink-0 bg-neutral-400", "aria-hidden": !0 })
|
|
38
27
|
] }),
|
|
28
|
+
/* @__PURE__ */ e("h1", { className: "font-lora text-super-hero mx-auto max-w-3xl text-center font-normal text-neutral-800", children: t.title }),
|
|
39
29
|
/* @__PURE__ */ e(
|
|
40
|
-
|
|
30
|
+
B,
|
|
41
31
|
{
|
|
42
|
-
className: "bg-transparent",
|
|
43
|
-
containerClassName: "w-full !max-w-none flex-col gap-
|
|
44
|
-
|
|
32
|
+
className: "w-full bg-transparent",
|
|
33
|
+
containerClassName: "w-full !max-w-none !flex-col !gap-8 !px-0 !py-0 md:!flex-row md:!items-stretch md:!gap-16",
|
|
34
|
+
firstColumnClassName: "!mb-0",
|
|
35
|
+
secondColumnClassName: "!mt-0",
|
|
36
|
+
image: /* @__PURE__ */ e(v, { src: t.imageUrl, alt: t.imageAlt, priority: t.imagePriority }),
|
|
45
37
|
cta: {
|
|
46
|
-
size: "
|
|
38
|
+
size: "default",
|
|
47
39
|
variant: "primary-green",
|
|
48
|
-
className: "text-medium
|
|
49
|
-
children: /* @__PURE__ */ e("a", { href: t.cta.href, className:
|
|
40
|
+
className: "text-medium w-full shrink-0 justify-center font-bold md:w-fit md:justify-start",
|
|
41
|
+
children: /* @__PURE__ */ e("a", { href: t.cta.href, className: b, children: t.cta.label })
|
|
50
42
|
},
|
|
51
|
-
children: /* @__PURE__ */ r("div", { className: "text-medium space-y-4 [&_ul]:my-
|
|
52
|
-
|
|
53
|
-
/* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: t.bullets.map((
|
|
43
|
+
children: /* @__PURE__ */ r("div", { className: "text-medium space-y-4 [&_ul]:my-4 [&_ul]:list-disc [&_ul]:pl-[1.2rem]", children: [
|
|
44
|
+
c && /* @__PURE__ */ e(m, { variant: "legal", content: t.introMarkdown }),
|
|
45
|
+
/* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: t.bullets.map((a) => /* @__PURE__ */ r("li", { className: "flex items-start gap-2", children: [
|
|
54
46
|
/* @__PURE__ */ e("span", { className: "bg-primary-600 mt-1 h-2.5 w-2.5", "aria-hidden": !0 }),
|
|
55
47
|
/* @__PURE__ */ r("span", { children: [
|
|
56
48
|
/* @__PURE__ */ r("strong", { children: [
|
|
57
|
-
|
|
49
|
+
a.strong,
|
|
58
50
|
" "
|
|
59
51
|
] }),
|
|
60
|
-
|
|
52
|
+
a.text
|
|
61
53
|
] })
|
|
62
|
-
] },
|
|
63
|
-
|
|
54
|
+
] }, a.id)) }),
|
|
55
|
+
d && /* @__PURE__ */ e(m, { variant: "legal", content: t.closingMarkdown })
|
|
64
56
|
] })
|
|
65
57
|
}
|
|
66
58
|
)
|
|
67
59
|
] }) }),
|
|
68
|
-
|
|
69
|
-
const { firstColumn: u, secondColumn:
|
|
60
|
+
i.map((a) => {
|
|
61
|
+
const { firstColumn: u, secondColumn: g } = U(a);
|
|
70
62
|
return /* @__PURE__ */ e(
|
|
71
|
-
|
|
63
|
+
o,
|
|
72
64
|
{
|
|
73
|
-
className: `${
|
|
74
|
-
containerClassName:
|
|
75
|
-
"!mx-auto !w-full !max-w-6xl !px-0 !py-0 !gap-8 md
|
|
76
|
-
|
|
65
|
+
className: `${a.background} lg:px-ds-10xl px-6 py-12`,
|
|
66
|
+
containerClassName: h(
|
|
67
|
+
"!mx-auto !w-full !max-w-6xl !px-0 !py-0 !gap-8 md:items-center lg:!gap-20",
|
|
68
|
+
a.imageFirstOnMobile ? "!flex-col md:!flex-row" : "!flex-col-reverse md:!flex-row",
|
|
69
|
+
a.reverse && "md:!flex-row-reverse"
|
|
77
70
|
),
|
|
78
71
|
firstColumn: u,
|
|
79
|
-
secondColumn:
|
|
72
|
+
secondColumn: g
|
|
80
73
|
},
|
|
81
|
-
|
|
74
|
+
a.id
|
|
82
75
|
);
|
|
83
76
|
}),
|
|
84
77
|
/* @__PURE__ */ e(
|
|
85
|
-
|
|
78
|
+
S,
|
|
86
79
|
{
|
|
87
|
-
title:
|
|
88
|
-
content:
|
|
89
|
-
stepsSlot: /* @__PURE__ */ e(w, { children:
|
|
90
|
-
|
|
80
|
+
title: l.title,
|
|
81
|
+
content: l.contentMarkdown,
|
|
82
|
+
stepsSlot: /* @__PURE__ */ e(w, { children: l.steps.map((a) => /* @__PURE__ */ e(
|
|
83
|
+
M,
|
|
91
84
|
{
|
|
92
|
-
title:
|
|
93
|
-
descriptionMarkdown:
|
|
94
|
-
iconUrl:
|
|
95
|
-
iconAlt:
|
|
85
|
+
title: a.title,
|
|
86
|
+
descriptionMarkdown: a.descriptionMarkdown,
|
|
87
|
+
iconUrl: a.iconUrl,
|
|
88
|
+
iconAlt: a.iconAlt ?? ""
|
|
96
89
|
},
|
|
97
|
-
|
|
90
|
+
a.id
|
|
98
91
|
)) }),
|
|
99
|
-
belowStepsSlot:
|
|
100
|
-
|
|
92
|
+
belowStepsSlot: x ? /* @__PURE__ */ e(
|
|
93
|
+
m,
|
|
101
94
|
{
|
|
102
95
|
variant: "ratafia",
|
|
103
|
-
content:
|
|
104
|
-
className:
|
|
96
|
+
content: l.belowStepsMarkdown,
|
|
97
|
+
className: k
|
|
105
98
|
}
|
|
106
99
|
) : null,
|
|
107
100
|
cta: f,
|
|
108
101
|
skipCtaWrapper: !0,
|
|
109
|
-
image:
|
|
110
|
-
sectionClassName:
|
|
102
|
+
image: l.image,
|
|
103
|
+
sectionClassName: l.sectionClassName ?? "bg-primary-50 px-6 py-12 lg:px-ds-10xl"
|
|
111
104
|
}
|
|
112
105
|
),
|
|
113
106
|
/* @__PURE__ */ e(
|
|
114
|
-
|
|
107
|
+
o,
|
|
115
108
|
{
|
|
116
|
-
className: "
|
|
117
|
-
containerClassName: "!mx-auto !w-full !max-w-6xl !items-start !gap-8 !px-0 !py-0 md:!
|
|
118
|
-
firstColumn: /* @__PURE__ */ e("div", { className: "w-full min-w-0 shrink-0
|
|
119
|
-
secondColumn: /* @__PURE__ */ r("div", { className: "w-full space-y-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
/* @__PURE__ */ e("dt", { className: "font-semibold", children:
|
|
125
|
-
/* @__PURE__ */ e("dd", { children:
|
|
126
|
-
] }, `${
|
|
127
|
-
|
|
128
|
-
/* @__PURE__ */ e(
|
|
129
|
-
o,
|
|
130
|
-
{
|
|
131
|
-
size: "small",
|
|
132
|
-
variant: "primary-green",
|
|
133
|
-
className: "text-small inline-flex w-auto justify-center font-bold",
|
|
134
|
-
children: /* @__PURE__ */ e("a", { href: s.cta.href, className: v, children: s.cta.label })
|
|
135
|
-
}
|
|
136
|
-
)
|
|
109
|
+
className: "lg:px-ds-10xl bg-white px-6 pt-12 pb-14",
|
|
110
|
+
containerClassName: "!mx-auto !w-full !max-w-6xl !flex-col !items-start !gap-8 !px-0 !py-0 md:!flex-row md:!items-center lg:!gap-20",
|
|
111
|
+
firstColumn: /* @__PURE__ */ e("div", { className: "w-full min-w-0 md:shrink md:grow-0 md:basis-1/2", children: /* @__PURE__ */ e(I, { src: n.imageUrl, alt: n.imageAlt }) }),
|
|
112
|
+
secondColumn: /* @__PURE__ */ r("div", { className: "w-full min-w-0 space-y-6 md:shrink md:grow-0 md:basis-1/2", children: [
|
|
113
|
+
s.eyebrow && /* @__PURE__ */ e("p", { className: "text-xs font-semibold tracking-[0.2em] text-neutral-500 uppercase", children: s.eyebrow }),
|
|
114
|
+
s.title && /* @__PURE__ */ e("h3", { className: "text-super-large font-bold text-neutral-800", children: s.title }),
|
|
115
|
+
p && /* @__PURE__ */ e("div", { className: `text-medium space-y-3 text-neutral-800 ${C}`, children: /* @__PURE__ */ e(m, { variant: "legal", content: n.supportBodyMarkdown }) }),
|
|
116
|
+
s.rows.length > 0 && /* @__PURE__ */ e("dl", { className: "text-medium space-y-2 text-neutral-800", children: s.rows.map((a) => /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-x-2", children: [
|
|
117
|
+
/* @__PURE__ */ e("dt", { className: "font-semibold", children: a.label }),
|
|
118
|
+
/* @__PURE__ */ e("dd", { children: a.value })
|
|
119
|
+
] }, `${a.label}-${a.value}`)) }),
|
|
120
|
+
s.footer && /* @__PURE__ */ e("p", { className: "text-medium text-neutral-600", children: s.footer }),
|
|
121
|
+
/* @__PURE__ */ e(A, { size: "default", variant: "primary-green", className: "self-start font-bold", children: /* @__PURE__ */ e("a", { href: n.cta.href, className: y, children: n.cta.label }) })
|
|
137
122
|
] })
|
|
138
123
|
}
|
|
139
124
|
)
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
/** Tailwind class strings for `next/link` / markdown in How It Works Strapi mappers (consumed by legal-contracts-web). */
|
|
2
1
|
export declare const howItWorksHeroCtaLinkClassName = "font-semibold text-white";
|
|
3
2
|
|
|
4
|
-
export declare const howItWorksLawGeniusBelowStepsMarkdownClassName = "text-medium";
|
|
3
|
+
export declare const howItWorksLawGeniusBelowStepsMarkdownClassName = "text-medium text-white";
|
|
5
4
|
|
|
6
|
-
export declare const howItWorksLawGeniusCtaLinkClassName = "font-
|
|
5
|
+
export declare const howItWorksLawGeniusCtaLinkClassName = "font-bold text-white whitespace-nowrap";
|
|
7
6
|
|
|
8
7
|
export declare const howItWorksResourcesCtaLinkClassName = "font-semibold";
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
export declare const howItWorksResourcesSupportBodyClassName = "[&_h2]:mb-8";
|
|
9
|
+
export declare const howItWorksResourcesSupportBodyClassName = "[&_h2]:text-super-large [&_h2]:mx-0 [&_h2]:mb-8 [&_h2]:bg-transparent [&_h2]:px-0 [&_h2]:font-bold [&_h2]:text-neutral-800";
|
|
12
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = "font-semibold text-white", e = "font-bold text-white whitespace-nowrap", o = "font-semibold", s = "text-medium text-white", a = "[&_h2]:text-super-large [&_h2]:mx-0 [&_h2]:mb-8 [&_h2]:bg-transparent [&_h2]:px-0 [&_h2]:font-bold [&_h2]:text-neutral-800";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
t as howItWorksHeroCtaLinkClassName,
|
|
4
|
+
s as howItWorksLawGeniusBelowStepsMarkdownClassName,
|
|
5
|
+
e as howItWorksLawGeniusCtaLinkClassName,
|
|
6
|
+
o as howItWorksResourcesCtaLinkClassName,
|
|
7
7
|
a as howItWorksResourcesSupportBodyClassName
|
|
8
8
|
};
|
|
@@ -1,18 +1,43 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { clsx as i } from "clsx";
|
|
3
|
+
import { TwoColumnSection as t } from "./TwoColumnSection.js";
|
|
4
|
+
import { LinkWrapper as p } from "./LinkWrapper.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
image: o,
|
|
7
|
+
children: n,
|
|
8
|
+
cta: m,
|
|
9
|
+
className: s,
|
|
10
|
+
containerClassName: e,
|
|
11
|
+
firstColumnClassName: l,
|
|
12
|
+
secondColumnClassName: a
|
|
13
|
+
}) => /* @__PURE__ */ r(
|
|
14
|
+
t,
|
|
6
15
|
{
|
|
7
|
-
className:
|
|
8
|
-
containerClassName:
|
|
9
|
-
firstColumn: /* @__PURE__ */
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
className: s ?? "",
|
|
17
|
+
containerClassName: i("gap-6 md:gap-10", e),
|
|
18
|
+
firstColumn: /* @__PURE__ */ r(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
className: i("mb-4 min-h-0 w-full min-w-0 md:mb-0 md:shrink md:grow-0 md:basis-1/2", l),
|
|
22
|
+
children: o
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
secondColumn: /* @__PURE__ */ d(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: i(
|
|
29
|
+
"mt-4 w-full min-w-0 md:mt-0 md:shrink md:grow-0 md:basis-1/2",
|
|
30
|
+
m && "flex flex-col gap-8",
|
|
31
|
+
a
|
|
32
|
+
),
|
|
33
|
+
children: [
|
|
34
|
+
n,
|
|
35
|
+
m && /* @__PURE__ */ r(p, { variant: "primary-green", ...m })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
)
|
|
14
39
|
}
|
|
15
40
|
);
|
|
16
41
|
export {
|
|
17
|
-
|
|
42
|
+
u as IntroSection
|
|
18
43
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const a = { w: 898, h: 1100 }, i = "aspect-[449/550]", n = "relative w-full max-w-md overflow-hidden rounded-lg", r =
|
|
2
|
+
const a = { w: 898, h: 1100 }, i = "aspect-[449/550]", n = "relative w-full max-w-md overflow-hidden rounded-lg", r = n, o = `${n} ${i}`, t = ({ empty: l, children: s }) => l ? /* @__PURE__ */ e("div", { className: o, "aria-hidden": !0 }) : /* @__PURE__ */ e("div", { className: r, children: s }), c = ({ src: l, alt: s }) => l ? /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(
|
|
3
3
|
"img",
|
|
4
4
|
{
|
|
5
5
|
src: l,
|
|
6
|
-
alt:
|
|
6
|
+
alt: s,
|
|
7
7
|
width: a.w,
|
|
8
8
|
height: a.h,
|
|
9
9
|
className: "h-auto w-full max-w-full object-cover",
|
|
10
10
|
loading: "lazy"
|
|
11
11
|
}
|
|
12
|
-
) }) : /* @__PURE__ */ e(
|
|
12
|
+
) }) : /* @__PURE__ */ e(t, { empty: !0 });
|
|
13
13
|
export {
|
|
14
|
-
|
|
14
|
+
c as LawGeniusImageShell
|
|
15
15
|
};
|
|
@@ -5,7 +5,7 @@ const m = ({
|
|
|
5
5
|
descriptionMarkdown: i,
|
|
6
6
|
iconUrl: e,
|
|
7
7
|
iconAlt: n = ""
|
|
8
|
-
}) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex flex-col gap-2 rounded
|
|
8
|
+
}) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex w-full flex-col gap-2 rounded p-6", children: [
|
|
9
9
|
/* @__PURE__ */ a("div", { className: "flex w-full items-start gap-2", children: [
|
|
10
10
|
/* @__PURE__ */ t("span", { className: "flex h-5 w-5 shrink-0 items-center justify-center [&_img]:h-5 [&_img]:w-5 [&_img]:object-contain [&_svg]:h-5 [&_svg]:w-5", children: e ? /* @__PURE__ */ t("img", { src: e, alt: n, className: "h-5 w-5 object-contain" }) : /* @__PURE__ */ t("span", { className: "inline-block h-5 w-5 shrink-0", "aria-hidden": !0 }) }),
|
|
11
11
|
/* @__PURE__ */ t("p", { className: "text-big min-w-0 flex-1 font-bold tracking-tight text-neutral-800", children: l })
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import a from "clsx";
|
|
3
|
-
const
|
|
3
|
+
const u = ({ variant: e = "default", children: s }) => {
|
|
4
4
|
const t = {
|
|
5
|
-
default: "mb-4 list-inside
|
|
6
|
-
legal: "list-outside
|
|
7
|
-
ratafia: "mb-3 list-outside
|
|
8
|
-
unsubscribe: "mb-4 w-full list-outside
|
|
9
|
-
}
|
|
10
|
-
return /* @__PURE__ */
|
|
5
|
+
default: "mb-4 list-inside space-y-2 text-gray-900",
|
|
6
|
+
legal: "mb-4 list-outside space-y-4 pl-8 text-neutral-800",
|
|
7
|
+
ratafia: "mb-3 list-outside space-y-2 pl-5 text-white/85 marker:text-white/60",
|
|
8
|
+
unsubscribe: "mb-4 w-full list-outside space-y-2 pl-10 text-neutral-800"
|
|
9
|
+
};
|
|
10
|
+
return /* @__PURE__ */ l("ol", { className: a("list-decimal", t[e] ?? t.default), children: s });
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
u as OrderedList
|
|
14
14
|
};
|