@npm_leadtech/legal-contracts-ui 0.122.1 → 0.122.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 +2 -2
- package/dist/components/ContactUsTemplate.d.ts +2 -2
- package/dist/components/FaqsTemplate.d.ts +3 -2
- package/dist/components/HeroImageShell.d.ts +10 -0
- package/dist/components/HeroImageShell.js +15 -0
- package/dist/components/HomeTemplate.js +8 -8
- package/dist/components/HowItWorksLawGeniusSection.d.ts +16 -0
- package/dist/components/HowItWorksLawGeniusSection.js +41 -0
- package/dist/components/HowItWorksTemplate.d.ts +30 -38
- package/dist/components/HowItWorksTemplate.js +91 -67
- package/dist/components/Jumbotron2.d.ts +3 -2
- package/dist/components/LawGeniusImageShell.d.ts +9 -0
- package/dist/components/LawGeniusImageShell.js +15 -0
- package/dist/components/LawGeniusStepCard.d.ts +11 -0
- package/dist/components/LawGeniusStepCard.js +17 -0
- package/dist/components/PricingTemplate.d.ts +2 -2
- package/dist/components/ResourcesImageShell.d.ts +9 -0
- package/dist/components/ResourcesImageShell.js +15 -0
- package/dist/components/StepImageShell.d.ts +9 -0
- package/dist/components/StepImageShell.js +15 -0
- package/dist/components/UiComponents.d.ts +6 -6
- package/dist/components/index.d.ts +53 -2
- package/dist/globals.css +1 -1
- package/package.json +25 -1
|
@@ -79,10 +79,10 @@ export interface IntroSectionProps {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export interface Jumbotron2Props {
|
|
82
|
-
title:
|
|
82
|
+
title: ReactNode;
|
|
83
83
|
subtitle?: string;
|
|
84
84
|
className?: string;
|
|
85
|
-
children?:
|
|
85
|
+
children?: ReactNode;
|
|
86
86
|
variant?: 'default' | 'contact';
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -101,10 +101,10 @@ export declare interface ContactUsTemplateProps {
|
|
|
101
101
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
102
102
|
|
|
103
103
|
export interface Jumbotron2Props {
|
|
104
|
-
title:
|
|
104
|
+
title: ReactNode;
|
|
105
105
|
subtitle?: string;
|
|
106
106
|
className?: string;
|
|
107
|
-
children?:
|
|
107
|
+
children?: ReactNode;
|
|
108
108
|
variant?: 'default' | 'contact';
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
|
|
3
4
|
export interface AsideNavMenuProps {
|
|
4
5
|
menuItems: Array<{
|
|
@@ -33,10 +34,10 @@ export declare interface FaqsTemplateProps {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export interface Jumbotron2Props {
|
|
36
|
-
title:
|
|
37
|
+
title: ReactNode;
|
|
37
38
|
subtitle?: string;
|
|
38
39
|
className?: string;
|
|
39
|
-
children?:
|
|
40
|
+
children?: ReactNode;
|
|
40
41
|
variant?: 'default' | 'contact';
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const r = { w: 1200, h: 900 }, h = "relative aspect-[4/3] w-full overflow-hidden rounded-2xl bg-neutral-100 shadow-[0_25px_60px_rgba(3,42,56,0.12)]", t = "relative w-full overflow-hidden rounded-2xl shadow-[0_25px_60px_rgba(3,42,56,0.12)]", a = ({ empty: l, children: o }) => /* @__PURE__ */ e("div", { className: l ? h : t, "aria-hidden": l ? !0 : void 0, children: l ? null : o }), n = ({ src: l, alt: o, priority: d }) => l ? /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
|
|
3
|
+
"img",
|
|
4
|
+
{
|
|
5
|
+
src: l,
|
|
6
|
+
alt: o,
|
|
7
|
+
width: r.w,
|
|
8
|
+
height: r.h,
|
|
9
|
+
className: "h-auto w-full max-w-full object-cover",
|
|
10
|
+
...d ? { loading: "eager" } : { loading: "lazy" }
|
|
11
|
+
}
|
|
12
|
+
) }) : /* @__PURE__ */ e(a, { empty: !0 });
|
|
13
|
+
export {
|
|
14
|
+
n as HeroImageShell
|
|
15
|
+
};
|
|
@@ -4,10 +4,10 @@ import { HeroSection as n } from "./HeroSection.js";
|
|
|
4
4
|
import { MoreTemplatesSection as f } from "./MoreTemplatesSection.js";
|
|
5
5
|
import { ProcessSection as l } from "./ProcessSection.js";
|
|
6
6
|
import { CategoriesSection as S } from "./CategoriesSection.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { TrustSection as x } from "./TrustSection.js";
|
|
8
|
+
import { FaqTeaserSection as T } from "./FaqTeaserSection.js";
|
|
9
|
+
import { BlogSection as b } from "./BlogSection.js";
|
|
10
|
+
import { RatafiaSection as g } from "./RatafiaSection.js";
|
|
11
11
|
const M = ({
|
|
12
12
|
hero: t,
|
|
13
13
|
moreTemplates: m,
|
|
@@ -22,10 +22,10 @@ const M = ({
|
|
|
22
22
|
/* @__PURE__ */ o(f, { ...m }),
|
|
23
23
|
/* @__PURE__ */ o(l, { ...e }),
|
|
24
24
|
r && /* @__PURE__ */ o(S, { ...r }),
|
|
25
|
-
/* @__PURE__ */ o(
|
|
26
|
-
/* @__PURE__ */ o(
|
|
27
|
-
/* @__PURE__ */ o(
|
|
28
|
-
/* @__PURE__ */ o(
|
|
25
|
+
/* @__PURE__ */ o(g, { ...i }),
|
|
26
|
+
/* @__PURE__ */ o(x, { ...p }),
|
|
27
|
+
/* @__PURE__ */ o(T, { ...s }),
|
|
28
|
+
/* @__PURE__ */ o(b, { className: "pt-10 pb-12 lg:pb-14", ...a })
|
|
29
29
|
] });
|
|
30
30
|
export {
|
|
31
31
|
M as HomeTemplate
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const HowItWorksLawGeniusSection: FC<HowItWorksLawGeniusSectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface HowItWorksLawGeniusSectionProps {
|
|
7
|
+
sectionTitle: string;
|
|
8
|
+
contentMarkdown: string;
|
|
9
|
+
descriptionMarkdown: string;
|
|
10
|
+
steps: ReactNode;
|
|
11
|
+
belowStepsMarkdown: string;
|
|
12
|
+
cta: ReactNode;
|
|
13
|
+
imageUrl: string | null;
|
|
14
|
+
imageAlt: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { howItWorksLawGeniusBelowStepsMarkdownClassName as h } from "./HowItWorksTemplateTokens.js";
|
|
3
|
+
import { LawGeniusImageShell as p } from "./LawGeniusImageShell.js";
|
|
4
|
+
import { Markdown as t } from "./Markdown.js";
|
|
5
|
+
const v = ({
|
|
6
|
+
sectionTitle: s,
|
|
7
|
+
contentMarkdown: m,
|
|
8
|
+
descriptionMarkdown: a,
|
|
9
|
+
steps: r,
|
|
10
|
+
belowStepsMarkdown: i,
|
|
11
|
+
cta: n,
|
|
12
|
+
imageUrl: c,
|
|
13
|
+
imageAlt: x
|
|
14
|
+
}) => {
|
|
15
|
+
const o = a.trim().length > 0, d = 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-law-genius-section 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
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-4 text-center text-white", children: [
|
|
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: m }) }),
|
|
20
|
+
o && /* @__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
|
+
] }),
|
|
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
|
+
/* @__PURE__ */ l("div", { className: "flex min-h-0 flex-col gap-6", children: [
|
|
24
|
+
r,
|
|
25
|
+
d && /* @__PURE__ */ e(
|
|
26
|
+
t,
|
|
27
|
+
{
|
|
28
|
+
variant: "ratafia",
|
|
29
|
+
content: i,
|
|
30
|
+
className: h
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ e("div", { className: "w-full lg:w-fit", children: n })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "relative z-10 mx-auto flex min-h-0 w-full max-w-77 shrink-0 items-center justify-center overflow-hidden rounded-lg md:mx-0 md:max-w-none", children: /* @__PURE__ */ e(p, { src: c, alt: x }) })
|
|
36
|
+
] })
|
|
37
|
+
] }) }) });
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
v as HowItWorksLawGeniusSection
|
|
41
|
+
};
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from 'react';
|
|
2
1
|
import { FC } from 'react';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
|
|
5
|
-
export interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
size?: ButtonSize;
|
|
8
|
-
variant?: ResponsiveButtonVariant;
|
|
9
|
-
iconPosition?: IconPosition;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type ButtonSize = 'small' | 'default' | 'large';
|
|
13
|
-
|
|
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
2
|
|
|
16
3
|
export declare type HowItWorksExamplesProps = {
|
|
17
4
|
eyebrow: string;
|
|
@@ -32,15 +19,17 @@ export declare type HowItWorksHeroBullet = {
|
|
|
32
19
|
export declare type HowItWorksLawGeniusStep = {
|
|
33
20
|
id: string;
|
|
34
21
|
title: string;
|
|
35
|
-
|
|
36
|
-
|
|
22
|
+
descriptionMarkdown: string;
|
|
23
|
+
iconUrl: string | null;
|
|
24
|
+
iconAlt?: string;
|
|
37
25
|
};
|
|
38
26
|
|
|
39
27
|
export declare type HowItWorksProcessStep = {
|
|
40
28
|
id: string;
|
|
41
29
|
title: string;
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
bodyMarkdown: string;
|
|
31
|
+
imageUrl: string | null;
|
|
32
|
+
imageAlt: string;
|
|
44
33
|
background: 'bg-white' | 'bg-neutral-25';
|
|
45
34
|
reverse?: boolean;
|
|
46
35
|
imageFirstOnMobile?: boolean;
|
|
@@ -52,37 +41,40 @@ export declare interface HowItWorksTemplateProps {
|
|
|
52
41
|
hero: {
|
|
53
42
|
eyebrow: string;
|
|
54
43
|
title: string;
|
|
55
|
-
|
|
56
|
-
|
|
44
|
+
imageUrl: string | null;
|
|
45
|
+
imageAlt: string;
|
|
46
|
+
imagePriority?: boolean;
|
|
47
|
+
introMarkdown: string;
|
|
57
48
|
bullets: HowItWorksHeroBullet[];
|
|
58
|
-
|
|
59
|
-
cta:
|
|
49
|
+
closingMarkdown: string;
|
|
50
|
+
cta: {
|
|
51
|
+
href: string;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
60
54
|
};
|
|
61
55
|
processSteps: HowItWorksProcessStep[];
|
|
62
56
|
lawGenius: {
|
|
63
57
|
title: string;
|
|
64
|
-
|
|
58
|
+
contentMarkdown: string;
|
|
65
59
|
steps: HowItWorksLawGeniusStep[];
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
belowStepsMarkdown: string;
|
|
61
|
+
imageUrl: string | null;
|
|
62
|
+
imageAlt: string;
|
|
63
|
+
cta: {
|
|
64
|
+
href: string;
|
|
65
|
+
label: string;
|
|
66
|
+
};
|
|
69
67
|
sectionClassName?: string;
|
|
70
68
|
};
|
|
71
69
|
resources: {
|
|
72
70
|
examples: HowItWorksExamplesProps;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
supportBodyMarkdown: string;
|
|
72
|
+
imageUrl: string | null;
|
|
73
|
+
imageAlt: string;
|
|
74
|
+
cta: {
|
|
75
|
+
href: string;
|
|
76
|
+
label: string;
|
|
77
|
+
};
|
|
76
78
|
};
|
|
77
79
|
}
|
|
78
|
-
|
|
79
|
-
export type IconPosition = 'left' | 'right' | 'top';
|
|
80
|
-
|
|
81
|
-
export type ResponsiveButtonVariant = ButtonVariant | {
|
|
82
|
-
initial?: ButtonVariant;
|
|
83
|
-
sm?: ButtonVariant;
|
|
84
|
-
md?: ButtonVariant;
|
|
85
|
-
lg?: ButtonVariant;
|
|
86
|
-
xl?: ButtonVariant;
|
|
87
|
-
};
|
|
88
80
|
|
|
@@ -1,93 +1,113 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { clsx as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { RatafiaSection as
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as w } from "react/jsx-runtime";
|
|
2
|
+
import { clsx as N } from "clsx";
|
|
3
|
+
import { howItWorksLawGeniusCtaLinkClassName as b, howItWorksHeroCtaLinkClassName as k, howItWorksLawGeniusBelowStepsMarkdownClassName as y, howItWorksResourcesSupportBodyClassName as C, howItWorksResourcesCtaLinkClassName as v } from "./HowItWorksTemplateTokens.js";
|
|
4
|
+
import { HeroImageShell as S } from "./HeroImageShell.js";
|
|
5
|
+
import { RatafiaSection as M } from "./RatafiaSection.js";
|
|
6
|
+
import { LawGeniusStepCard as I } from "./LawGeniusStepCard.js";
|
|
7
|
+
import { ResourcesImageShell as L } from "./ResourcesImageShell.js";
|
|
8
|
+
import { StepImageShell as W } from "./StepImageShell.js";
|
|
9
|
+
import { Button as o } from "./Button.js";
|
|
10
|
+
import { IntroSection as A } from "./IntroSection.js";
|
|
11
|
+
import { Markdown as i } from "./Markdown.js";
|
|
6
12
|
import { TwoColumnSection as c } from "./TwoColumnSection.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/* @__PURE__ */ e("
|
|
11
|
-
|
|
12
|
-
/* @__PURE__ */ e("div", { className: "
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/* @__PURE__ */ a("div", { className: "mx-auto inline-flex max-w-full flex-col items-center gap-2", children: [
|
|
30
|
-
/* @__PURE__ */ e("p", { className: "text-small font-semibold tracking-[0.3em] whitespace-nowrap text-neutral-600 uppercase", children: l.eyebrow }),
|
|
13
|
+
import { LawGeniusImageShell as B } from "./LawGeniusImageShell.js";
|
|
14
|
+
const U = (t) => {
|
|
15
|
+
const m = /* @__PURE__ */ r("div", { className: "min-w-0 space-y-4 text-neutral-800 lg:basis-[47%]", children: [
|
|
16
|
+
/* @__PURE__ */ e("h2", { className: "font-lora text-[2.05rem] leading-[1.15] font-bold text-neutral-800", children: t.title }),
|
|
17
|
+
/* @__PURE__ */ e("div", { className: "text-small space-y-3 text-neutral-700", children: /* @__PURE__ */ e(i, { variant: "legal", content: t.bodyMarkdown }) })
|
|
18
|
+
] }), a = /* @__PURE__ */ e("div", { className: "w-full shrink-0 lg:w-1/2 lg:max-w-[50%]", children: /* @__PURE__ */ e(W, { src: t.imageUrl, alt: t.imageAlt }) });
|
|
19
|
+
return t.reverse ? { firstColumn: a, secondColumn: m } : { firstColumn: m, secondColumn: a };
|
|
20
|
+
}, J = ({ hero: t, processSteps: m, lawGenius: a, resources: s }) => {
|
|
21
|
+
const d = t.introMarkdown.trim().length > 0, p = t.closingMarkdown.trim().length > 0, x = s.supportBodyMarkdown.trim().length > 0, g = a.belowStepsMarkdown.trim().length > 0, { examples: n } = s, f = /* @__PURE__ */ e(
|
|
22
|
+
o,
|
|
23
|
+
{
|
|
24
|
+
size: "large",
|
|
25
|
+
variant: "primary-green",
|
|
26
|
+
className: "text-medium w-full justify-center !rounded-md font-bold lg:w-auto",
|
|
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 }),
|
|
31
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 })
|
|
32
36
|
] }),
|
|
33
|
-
/* @__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:
|
|
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 })
|
|
34
38
|
] }),
|
|
35
39
|
/* @__PURE__ */ e(
|
|
36
|
-
|
|
40
|
+
A,
|
|
37
41
|
{
|
|
38
42
|
className: "bg-transparent",
|
|
39
43
|
containerClassName: "w-full !max-w-none flex-col gap-10 !px-0 !py-0 lg:flex-row lg:items-stretch",
|
|
40
|
-
image:
|
|
44
|
+
image: /* @__PURE__ */ e(S, { src: t.imageUrl, alt: t.imageAlt, priority: t.imagePriority }),
|
|
41
45
|
cta: {
|
|
42
46
|
size: "large",
|
|
43
47
|
variant: "primary-green",
|
|
44
48
|
className: "text-medium mt-8 w-full justify-center font-bold",
|
|
45
|
-
|
|
49
|
+
children: /* @__PURE__ */ e("a", { href: t.cta.href, className: k, children: t.cta.label })
|
|
46
50
|
},
|
|
47
|
-
children: /* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
/* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children:
|
|
51
|
+
children: /* @__PURE__ */ r("div", { className: "text-medium space-y-4 [&_ul]:my-8 [&_ul]:list-disc [&_ul]:pl-[1.2rem]", children: [
|
|
52
|
+
d && /* @__PURE__ */ e(i, { variant: "legal", content: t.introMarkdown }),
|
|
53
|
+
/* @__PURE__ */ e("ul", { className: "text-medium space-y-3", children: t.bullets.map((l) => /* @__PURE__ */ r("li", { className: "flex items-start gap-2", children: [
|
|
50
54
|
/* @__PURE__ */ e("span", { className: "bg-primary-600 mt-1 h-2.5 w-2.5", "aria-hidden": !0 }),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
|
|
55
|
+
/* @__PURE__ */ r("span", { children: [
|
|
56
|
+
/* @__PURE__ */ r("strong", { children: [
|
|
57
|
+
l.strong,
|
|
54
58
|
" "
|
|
55
59
|
] }),
|
|
56
|
-
|
|
60
|
+
l.text
|
|
57
61
|
] })
|
|
58
|
-
] },
|
|
59
|
-
|
|
62
|
+
] }, l.id)) }),
|
|
63
|
+
p && /* @__PURE__ */ e(i, { variant: "legal", content: t.closingMarkdown })
|
|
60
64
|
] })
|
|
61
65
|
}
|
|
62
66
|
)
|
|
63
67
|
] }) }),
|
|
64
|
-
|
|
65
|
-
const { firstColumn:
|
|
68
|
+
m.map((l) => {
|
|
69
|
+
const { firstColumn: u, secondColumn: h } = U(l);
|
|
66
70
|
return /* @__PURE__ */ e(
|
|
67
71
|
c,
|
|
68
72
|
{
|
|
69
|
-
className: `${
|
|
70
|
-
containerClassName:
|
|
73
|
+
className: `${l.background} lg:px-ds-10xl px-6 py-12 sm:px-10`,
|
|
74
|
+
containerClassName: N(
|
|
71
75
|
"!mx-auto !w-full !max-w-6xl !px-0 !py-0 !gap-8 md:!gap-10 lg:items-start",
|
|
72
|
-
|
|
76
|
+
l.imageFirstOnMobile ? "!flex-col-reverse md:!flex-row" : "!flex-col md:!flex-row"
|
|
73
77
|
),
|
|
74
|
-
firstColumn:
|
|
75
|
-
secondColumn:
|
|
78
|
+
firstColumn: u,
|
|
79
|
+
secondColumn: h
|
|
76
80
|
},
|
|
77
|
-
|
|
81
|
+
l.id
|
|
78
82
|
);
|
|
79
83
|
}),
|
|
80
84
|
/* @__PURE__ */ e(
|
|
81
|
-
|
|
85
|
+
M,
|
|
82
86
|
{
|
|
83
|
-
title:
|
|
84
|
-
content:
|
|
85
|
-
stepsSlot: /* @__PURE__ */ e(
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
title: a.title,
|
|
88
|
+
content: a.contentMarkdown,
|
|
89
|
+
stepsSlot: /* @__PURE__ */ e(w, { children: a.steps.map((l) => /* @__PURE__ */ e(
|
|
90
|
+
I,
|
|
91
|
+
{
|
|
92
|
+
title: l.title,
|
|
93
|
+
descriptionMarkdown: l.descriptionMarkdown,
|
|
94
|
+
iconUrl: l.iconUrl,
|
|
95
|
+
iconAlt: l.iconAlt ?? ""
|
|
96
|
+
},
|
|
97
|
+
l.id
|
|
98
|
+
)) }),
|
|
99
|
+
belowStepsSlot: g ? /* @__PURE__ */ e(
|
|
100
|
+
i,
|
|
101
|
+
{
|
|
102
|
+
variant: "ratafia",
|
|
103
|
+
content: a.belowStepsMarkdown,
|
|
104
|
+
className: y
|
|
105
|
+
}
|
|
106
|
+
) : null,
|
|
107
|
+
cta: f,
|
|
88
108
|
skipCtaWrapper: !0,
|
|
89
|
-
image:
|
|
90
|
-
sectionClassName:
|
|
109
|
+
image: /* @__PURE__ */ e(B, { src: a.imageUrl, alt: a.imageAlt }),
|
|
110
|
+
sectionClassName: a.sectionClassName ?? "bg-neutral-25 px-6 pt-16 pb-12 sm:px-10 lg:px-ds-10xl"
|
|
91
111
|
}
|
|
92
112
|
),
|
|
93
113
|
/* @__PURE__ */ e(
|
|
@@ -95,19 +115,23 @@ const h = ({ title: l, description: n, icon: t }) => /* @__PURE__ */ a("div", {
|
|
|
95
115
|
{
|
|
96
116
|
className: "bg-neutral-25 lg:px-ds-10xl px-6 py-12 sm:px-10",
|
|
97
117
|
containerClassName: "!mx-auto !w-full !max-w-6xl !items-start !gap-8 !px-0 !py-0 md:!gap-10 lg:!items-stretch",
|
|
98
|
-
firstColumn: /* @__PURE__ */ e("div", { className: "w-full min-w-0 shrink-0 rounded-2xl border border-neutral-100 bg-white p-4 lg:basis-[48%] lg:p-5", children:
|
|
99
|
-
secondColumn: /* @__PURE__ */
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/* @__PURE__ */ e("div", { className:
|
|
103
|
-
|
|
118
|
+
firstColumn: /* @__PURE__ */ e("div", { className: "w-full min-w-0 shrink-0 rounded-2xl border border-neutral-100 bg-white p-4 lg:basis-[48%] lg:p-5", children: /* @__PURE__ */ e(L, { src: s.imageUrl, alt: s.imageAlt }) }),
|
|
119
|
+
secondColumn: /* @__PURE__ */ r("div", { className: "w-full space-y-4 lg:basis-[52%]", children: [
|
|
120
|
+
n.eyebrow && /* @__PURE__ */ e("p", { className: "text-xs font-semibold tracking-[0.2em] text-neutral-500 uppercase", children: n.eyebrow }),
|
|
121
|
+
n.title && /* @__PURE__ */ e("h3", { className: "font-lora text-[2rem] leading-[1.2] font-bold text-neutral-800", children: n.title }),
|
|
122
|
+
x && /* @__PURE__ */ e("div", { className: `text-small space-y-3 text-neutral-700 ${C}`, children: /* @__PURE__ */ e(i, { variant: "legal", content: s.supportBodyMarkdown }) }),
|
|
123
|
+
n.rows.length > 0 && /* @__PURE__ */ e("dl", { className: "text-small space-y-2 text-neutral-700", children: n.rows.map((l) => /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-x-2", children: [
|
|
124
|
+
/* @__PURE__ */ e("dt", { className: "font-semibold", children: l.label }),
|
|
125
|
+
/* @__PURE__ */ e("dd", { children: l.value })
|
|
126
|
+
] }, `${l.label}-${l.value}`)) }),
|
|
127
|
+
n.footer && /* @__PURE__ */ e("p", { className: "text-small text-neutral-600", children: n.footer }),
|
|
104
128
|
/* @__PURE__ */ e(
|
|
105
|
-
|
|
129
|
+
o,
|
|
106
130
|
{
|
|
107
131
|
size: "small",
|
|
108
132
|
variant: "primary-green",
|
|
109
133
|
className: "text-small inline-flex w-auto justify-center font-bold",
|
|
110
|
-
|
|
134
|
+
children: /* @__PURE__ */ e("a", { href: s.cta.href, className: v, children: s.cta.label })
|
|
111
135
|
}
|
|
112
136
|
)
|
|
113
137
|
] })
|
|
@@ -116,5 +140,5 @@ const h = ({ title: l, description: n, icon: t }) => /* @__PURE__ */ a("div", {
|
|
|
116
140
|
] });
|
|
117
141
|
};
|
|
118
142
|
export {
|
|
119
|
-
|
|
143
|
+
J as HowItWorksTemplate
|
|
120
144
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
|
|
3
4
|
export declare const Jumbotron2: FC<Jumbotron2Props>;
|
|
4
5
|
|
|
5
6
|
export declare interface Jumbotron2Props {
|
|
6
|
-
title:
|
|
7
|
+
title: ReactNode;
|
|
7
8
|
subtitle?: string;
|
|
8
9
|
className?: string;
|
|
9
|
-
children?:
|
|
10
|
+
children?: ReactNode;
|
|
10
11
|
variant?: 'default' | 'contact';
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -0,0 +1,15 @@
|
|
|
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 = `${n} bg-white`, o = `${n} bg-neutral-100 ${i}`, s = ({ empty: l, children: t }) => l ? /* @__PURE__ */ e("div", { className: o, "aria-hidden": !0 }) : /* @__PURE__ */ e("div", { className: r, children: t }), h = ({ src: l, alt: t }) => l ? /* @__PURE__ */ e(s, { children: /* @__PURE__ */ e(
|
|
3
|
+
"img",
|
|
4
|
+
{
|
|
5
|
+
src: l,
|
|
6
|
+
alt: t,
|
|
7
|
+
width: a.w,
|
|
8
|
+
height: a.h,
|
|
9
|
+
className: "h-auto w-full max-w-full object-cover",
|
|
10
|
+
loading: "lazy"
|
|
11
|
+
}
|
|
12
|
+
) }) : /* @__PURE__ */ e(s, { empty: !0 });
|
|
13
|
+
export {
|
|
14
|
+
h as LawGeniusImageShell
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Markdown as s } from "./Markdown.js";
|
|
3
|
+
const m = ({
|
|
4
|
+
title: l,
|
|
5
|
+
descriptionMarkdown: i,
|
|
6
|
+
iconUrl: e,
|
|
7
|
+
iconAlt: n = ""
|
|
8
|
+
}) => /* @__PURE__ */ a("div", { className: "bg-neutral-25 flex flex-col gap-2 rounded-sm p-6", children: [
|
|
9
|
+
/* @__PURE__ */ a("div", { className: "flex w-full items-start gap-2", children: [
|
|
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
|
+
/* @__PURE__ */ t("p", { className: "text-big min-w-0 flex-1 font-bold tracking-tight text-neutral-800", children: l })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ t("div", { className: "text-small w-full min-w-0 tracking-tight text-neutral-800 [&_p:last-child]:mb-0 [&_strong]:font-bold", children: /* @__PURE__ */ t(s, { variant: "legal", content: i }) })
|
|
14
|
+
] });
|
|
15
|
+
export {
|
|
16
|
+
m as LawGeniusStepCard
|
|
17
|
+
};
|
|
@@ -39,10 +39,10 @@ export interface IntroSectionProps {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export interface Jumbotron2Props {
|
|
42
|
-
title:
|
|
42
|
+
title: ReactNode;
|
|
43
43
|
subtitle?: string;
|
|
44
44
|
className?: string;
|
|
45
|
-
children?:
|
|
45
|
+
children?: ReactNode;
|
|
46
46
|
variant?: 'default' | 'contact';
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
const o = { w: 840, h: 612 }, t = "relative aspect-420/306 w-full overflow-hidden rounded-2xl bg-neutral-100", a = "relative w-full overflow-hidden rounded-2xl", s = ({ empty: e, children: r }) => /* @__PURE__ */ l("div", { className: e ? t : a, "aria-hidden": e ? !0 : void 0, children: e ? null : r }), i = ({ src: e, alt: r }) => e ? /* @__PURE__ */ l(s, { children: /* @__PURE__ */ l(
|
|
3
|
+
"img",
|
|
4
|
+
{
|
|
5
|
+
src: e,
|
|
6
|
+
alt: r,
|
|
7
|
+
width: o.w,
|
|
8
|
+
height: o.h,
|
|
9
|
+
className: "h-auto w-full max-w-full object-cover",
|
|
10
|
+
loading: "lazy"
|
|
11
|
+
}
|
|
12
|
+
) }) : /* @__PURE__ */ l(s, { empty: !0 });
|
|
13
|
+
export {
|
|
14
|
+
i as ResourcesImageShell
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
const a = { w: 1120, h: 816 }, r = "relative aspect-[560/408] w-full overflow-hidden rounded-2xl bg-neutral-100 shadow-[0_25px_60px_rgba(3,42,56,0.15)]", d = "relative w-full overflow-hidden rounded-2xl shadow-[0_25px_60px_rgba(3,42,56,0.15)]", o = ({ empty: l, children: t }) => /* @__PURE__ */ e("div", { className: l ? r : d, "aria-hidden": l ? !0 : void 0, children: l ? null : t }), h = ({ src: l, alt: t }) => l ? /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
|
|
3
|
+
"img",
|
|
4
|
+
{
|
|
5
|
+
src: l,
|
|
6
|
+
alt: t,
|
|
7
|
+
width: a.w,
|
|
8
|
+
height: a.h,
|
|
9
|
+
className: "h-auto w-full max-w-full object-cover",
|
|
10
|
+
loading: "lazy"
|
|
11
|
+
}
|
|
12
|
+
) }) : /* @__PURE__ */ e(o, { empty: !0 });
|
|
13
|
+
export {
|
|
14
|
+
h as StepImageShell
|
|
15
|
+
};
|