@npm_leadtech/legal-contracts-ui 0.44.4 → 0.44.6
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/AsideNavMenu.js +12 -29
- package/dist/components/{ArticlesSection.d.ts → BlogSection.d.ts} +3 -3
- package/dist/components/{ArticlesSection.js → BlogSection.js} +2 -2
- package/dist/components/Button.js +1 -1
- package/dist/components/CategoriesSection.d.ts +2 -2
- package/dist/components/CategoriesSection.js +17 -15
- package/dist/components/CategoryProductTemplate.d.ts +2 -2
- package/dist/components/CategoryProductTemplate.js +14 -14
- package/dist/components/FaqItem.js +1 -1
- package/dist/components/FaqItemWrapper.js +22 -14
- package/dist/components/FaqSection.js +10 -14
- package/dist/components/HeroSection.d.ts +1 -2
- package/dist/components/HeroSection.js +14 -18
- package/dist/components/HomeTemplate.d.ts +12 -17
- package/dist/components/HomeTemplate.js +21 -21
- package/dist/components/TrustSection.d.ts +1 -5
- package/dist/components/TrustSection.js +12 -17
- package/dist/components/index.d.ts +821 -0
- package/dist/globals.css +1 -1
- package/package.json +5 -5
|
@@ -1,34 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const [i, n] = a(r[0]?.href || "");
|
|
6
|
-
return s(() => {
|
|
7
|
-
const e = new IntersectionObserver(
|
|
8
|
-
(l) => {
|
|
9
|
-
l.forEach((o) => {
|
|
10
|
-
o.isIntersecting && n(`#${o.target.id}`);
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
{ rootMargin: "-10% 0px -80% 0px", threshold: 0.1 }
|
|
14
|
-
);
|
|
15
|
-
return r.forEach((l) => {
|
|
16
|
-
const o = l.href.replace("#", ""), c = document.getElementById(o);
|
|
17
|
-
c && e.observe(c);
|
|
18
|
-
}), () => {
|
|
19
|
-
e.disconnect();
|
|
20
|
-
};
|
|
21
|
-
}, [r]), r.length === 0 ? null : /* @__PURE__ */ t("aside", { className: "flex w-full flex-col gap-4 lg:sticky lg:top-24 lg:h-fit lg:w-55", children: /* @__PURE__ */ t("ul", { className: "flex flex-col gap-1", children: r.map((e) => {
|
|
22
|
-
const l = i === e.href;
|
|
23
|
-
return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("a", { href: e.href, className: "text-small block w-full py-3 text-left", children: /* @__PURE__ */ t(
|
|
1
|
+
import { jsx as l, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
const i = ({ menuItems: a }) => a.length === 0 ? null : /* @__PURE__ */ l("aside", { className: "flex w-full flex-col gap-4 lg:w-55", children: /* @__PURE__ */ l("ul", { children: a.map((r, e) => /* @__PURE__ */ t("li", { children: [
|
|
3
|
+
/* @__PURE__ */ t("a", { href: "#", className: "text-small flex items-center gap-4 px-0 py-4 text-left transition-colors", children: [
|
|
4
|
+
/* @__PURE__ */ l(
|
|
24
5
|
"span",
|
|
25
6
|
{
|
|
26
|
-
|
|
27
|
-
|
|
7
|
+
"aria-hidden": !0,
|
|
8
|
+
className: `h-1.5 w-1.5 rounded-full ${e == 0 ? "bg-primary-500" : "bg-primary-50"}`
|
|
28
9
|
}
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
}
|
|
10
|
+
),
|
|
11
|
+
/* @__PURE__ */ l("span", { className: e == 0 ? "text-primary-500 font-bold" : "text-neutral-800", children: r.label })
|
|
12
|
+
] }),
|
|
13
|
+
e < a.length - 1 && /* @__PURE__ */ l("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": !0 })
|
|
14
|
+
] }, r.label)) }) });
|
|
32
15
|
export {
|
|
33
|
-
|
|
16
|
+
i as AsideNavMenu
|
|
34
17
|
};
|
|
@@ -2,16 +2,16 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const BlogSection: FC<BlogSectionProps>;
|
|
6
6
|
|
|
7
7
|
export declare interface BlogSectionProps {
|
|
8
8
|
header: SectionHeadingProps;
|
|
9
|
-
articles
|
|
9
|
+
articles: {
|
|
10
10
|
title: string;
|
|
11
11
|
image: ReactNode;
|
|
12
12
|
excerpt: string;
|
|
13
13
|
cta: ReactNode;
|
|
14
|
-
}
|
|
14
|
+
}[];
|
|
15
15
|
cta: ButtonProps;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { SectionHeading as d } from "./SectionHeading.js";
|
|
4
4
|
import { Button as s } from "./Button.js";
|
|
5
|
-
const x = ({ header: i, articles: t
|
|
5
|
+
const x = ({ header: i, articles: t, cta: a }) => t.length === 0 ? null : /* @__PURE__ */ e("section", { className: "px-6 pt-16 pb-20", children: /* @__PURE__ */ r("div", { className: "mx-auto max-w-6xl space-y-8", children: [
|
|
6
6
|
/* @__PURE__ */ e(d, { ...i }),
|
|
7
7
|
/* @__PURE__ */ e("div", { className: "grid gap-6 md:grid-cols-2", children: t.map((l) => /* @__PURE__ */ r("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
|
|
8
8
|
/* @__PURE__ */ e("div", { className: "relative h-48 shrink-0 overflow-hidden rounded-l-sm md:h-auto md:w-48", children: l.image }),
|
|
@@ -15,5 +15,5 @@ const x = ({ header: i, articles: t = [], cta: a }) => t.length === 0 ? null : /
|
|
|
15
15
|
/* @__PURE__ */ e("div", { className: "flex justify-center", children: /* @__PURE__ */ e(s, { size: "large", variant: "secondary-green", ...a }) })
|
|
16
16
|
] }) });
|
|
17
17
|
export {
|
|
18
|
-
x as
|
|
18
|
+
x as BlogSection
|
|
19
19
|
};
|
|
@@ -22,7 +22,7 @@ const p = {
|
|
|
22
22
|
disabled: "disabled:bg-neutral-200 disabled:text-neutral-400 disabled:cursor-not-allowed"
|
|
23
23
|
},
|
|
24
24
|
"secondary-green": {
|
|
25
|
-
base: "bg-
|
|
25
|
+
base: "bg-white text-primary-700 border-2 border-primary-700 font-semibold",
|
|
26
26
|
hover: "hover:bg-primary-100 hover:text-primary-800",
|
|
27
27
|
disabled: "disabled:bg-neutral-200 disabled:text-neutral-400 disabled:border-neutral-200 disabled:cursor-not-allowed"
|
|
28
28
|
},
|
|
@@ -17,12 +17,12 @@ export declare const CategoriesSection: FC<CategoriesSectionProps>;
|
|
|
17
17
|
|
|
18
18
|
export declare interface CategoriesSectionProps {
|
|
19
19
|
header: SectionHeadingProps;
|
|
20
|
-
categories
|
|
20
|
+
categories: {
|
|
21
21
|
title: string;
|
|
22
22
|
description: string;
|
|
23
23
|
icon: ReactNode;
|
|
24
24
|
cta: ButtonProps;
|
|
25
|
-
}
|
|
25
|
+
}[];
|
|
26
26
|
cta: ButtonProps;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SectionHeading as
|
|
4
|
-
import { Button as
|
|
5
|
-
const p = ({ header:
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
] }) })
|
|
3
|
+
import { SectionHeading as s } from "./SectionHeading.js";
|
|
4
|
+
import { Button as n } from "./Button.js";
|
|
5
|
+
const p = ({ header: r, categories: a, cta: t }) => a.length === 0 ? null : /* @__PURE__ */ i("section", { className: "mx-auto flex flex-col items-center gap-8 px-6 py-10 text-neutral-900 lg:px-8 xl:max-w-300 xl:px-0", children: [
|
|
6
|
+
/* @__PURE__ */ l(s, { ...r }),
|
|
7
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-6 lg:grid lg:grid-cols-2", children: a.map((e) => /* @__PURE__ */ i("div", { className: "bg-neutral-25 flex flex-col gap-6 rounded-lg p-6", children: [
|
|
8
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
|
|
9
|
+
/* @__PURE__ */ i("div", { className: "flex gap-2", children: [
|
|
10
|
+
/* @__PURE__ */ l("span", { children: e.icon }),
|
|
11
|
+
/* @__PURE__ */ l("p", { className: "text-big font-bold", children: e.title })
|
|
12
|
+
] }),
|
|
13
|
+
/* @__PURE__ */ l("p", { children: e.description })
|
|
14
|
+
] }),
|
|
15
|
+
/* @__PURE__ */ l(n, { variant: "secondary-green", className: "w-fit", ...e.cta })
|
|
16
|
+
] }, e.title)) }),
|
|
17
|
+
/* @__PURE__ */ l(n, { className: "w-full md:w-fit", variant: "primary-darkgreen", ...t })
|
|
18
|
+
] });
|
|
17
19
|
export {
|
|
18
20
|
p as CategoriesSection
|
|
19
21
|
};
|
|
@@ -4,12 +4,12 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
|
|
5
5
|
export interface BlogSectionProps {
|
|
6
6
|
header: SectionHeadingProps;
|
|
7
|
-
articles
|
|
7
|
+
articles: {
|
|
8
8
|
title: string;
|
|
9
9
|
image: ReactNode;
|
|
10
10
|
excerpt: string;
|
|
11
11
|
cta: ReactNode;
|
|
12
|
-
}
|
|
12
|
+
}[];
|
|
13
13
|
cta: ButtonProps;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { JumboCard as
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as s } from "./JumboCard.js";
|
|
3
3
|
import { DocumentCategories as p } from "./DocumentCategories.js";
|
|
4
4
|
import { DocumentSection as f } from "./DocumentSection.js";
|
|
5
5
|
import { Breadcrumb as d } from "./Breadcrumb.js";
|
|
6
6
|
import { MarkdownSection as u } from "./MarkdownSection.js";
|
|
7
7
|
import { FaqSection as x } from "./FaqSection.js";
|
|
8
|
-
import {
|
|
8
|
+
import { BlogSection as g } from "./BlogSection.js";
|
|
9
9
|
const y = ({
|
|
10
10
|
jumbo: m,
|
|
11
11
|
breadcrumb: a,
|
|
12
12
|
categories: t,
|
|
13
13
|
documentSections: i,
|
|
14
|
-
ctaSection:
|
|
15
|
-
faqSection:
|
|
16
|
-
articles:
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
/* @__PURE__ */ r(
|
|
14
|
+
ctaSection: l,
|
|
15
|
+
faqSection: c,
|
|
16
|
+
articles: n
|
|
17
|
+
}) => /* @__PURE__ */ o("main", { className: "mx-auto max-w-6xl flex-1", children: [
|
|
18
|
+
/* @__PURE__ */ r(s, { ...m }),
|
|
19
19
|
/* @__PURE__ */ r(d, { ...a, className: "pb-4" }),
|
|
20
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ o("div", { className: "container mx-auto flex flex-col justify-center gap-30 lg:flex-row", children: [
|
|
21
21
|
/* @__PURE__ */ r(p, { ...t }),
|
|
22
|
-
/* @__PURE__ */
|
|
23
|
-
i.map((
|
|
22
|
+
/* @__PURE__ */ o("div", { className: "", children: [
|
|
23
|
+
i.map((e) => /* @__PURE__ */ r(f, { ...e }, e.id)),
|
|
24
24
|
/* @__PURE__ */ r("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": !0 }),
|
|
25
|
-
/* @__PURE__ */ r(u, { ...
|
|
26
|
-
/* @__PURE__ */ r(x, { ...
|
|
27
|
-
/* @__PURE__ */ r(
|
|
25
|
+
/* @__PURE__ */ r(u, { ...l }),
|
|
26
|
+
/* @__PURE__ */ r(x, { ...c, className: "pb-6" }),
|
|
27
|
+
/* @__PURE__ */ r(g, { ...n })
|
|
28
28
|
] })
|
|
29
29
|
] })
|
|
30
30
|
] });
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import { FaqItemWrapper as n } from "./FaqItemWrapper.js";
|
|
4
4
|
import { Markdown as m } from "./Markdown.js";
|
|
5
|
-
const l = ({ question: t, answer: o }) => /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ e(n, { question: /* @__PURE__ */ e("
|
|
5
|
+
const l = ({ question: t, answer: o }) => /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ e(n, { question: /* @__PURE__ */ e("p", { className: "font-bold", children: t }), children: /* @__PURE__ */ e(m, { content: o, className: "text-medium" }) }) });
|
|
6
6
|
export {
|
|
7
7
|
l as FaqItem
|
|
8
8
|
};
|
|
@@ -1,24 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as t, Fragment as a, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import { useState as o } from "react";
|
|
4
|
+
import { ChevronDownIcon as l } from "./ChevronDownIcon.js";
|
|
5
|
+
const p = ({ question: n, children: s }) => {
|
|
6
|
+
const [e, i] = o(!1);
|
|
7
|
+
return /* @__PURE__ */ t(a, { children: [
|
|
8
8
|
/* @__PURE__ */ t(
|
|
9
|
-
"
|
|
9
|
+
"button",
|
|
10
10
|
{
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
onClick: () => {
|
|
12
|
+
i(!e);
|
|
13
|
+
},
|
|
14
|
+
"aria-expanded": e,
|
|
15
|
+
className: "flex w-full cursor-pointer items-center justify-between text-left",
|
|
13
16
|
children: [
|
|
14
|
-
|
|
15
|
-
/* @__PURE__ */
|
|
17
|
+
n,
|
|
18
|
+
/* @__PURE__ */ r(
|
|
19
|
+
l,
|
|
20
|
+
{
|
|
21
|
+
className: `size-6 -rotate-90 transition-transform duration-300 ${e ? "rotate-0" : ""}`
|
|
22
|
+
}
|
|
23
|
+
)
|
|
16
24
|
]
|
|
17
25
|
}
|
|
18
26
|
),
|
|
19
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ r("div", { className: `grid transition-all duration-300 ${e ? "grid-rows-[1fr]" : "grid-rows-[0fr]"}`, children: /* @__PURE__ */ r("div", { className: "overflow-hidden", children: /* @__PURE__ */ r("div", { className: "pt-4", children: s }) }) })
|
|
20
28
|
] });
|
|
21
29
|
};
|
|
22
30
|
export {
|
|
23
|
-
|
|
31
|
+
p as FaqItemWrapper
|
|
24
32
|
};
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Markdown as
|
|
3
|
+
import { Markdown as c } from "./Markdown.js";
|
|
4
4
|
import { FaqItem as m } from "./FaqItem.js";
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
] }),
|
|
13
|
-
/* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: r.map((a) => /* @__PURE__ */ e(m, { ...a }, a.question)) })
|
|
14
|
-
] });
|
|
15
|
-
};
|
|
5
|
+
const d = ({ title: o, description: l, faqItems: r, className: n = "" }) => r.length === 0 ? null : /* @__PURE__ */ a("div", { className: `flex flex-col gap-2 text-neutral-800 ${n}`, children: [
|
|
6
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col gap-6", children: [
|
|
7
|
+
/* @__PURE__ */ e("h3", { className: "text-super-large font-bold", children: o }),
|
|
8
|
+
l !== "" && /* @__PURE__ */ e(c, { content: l, className: "text-medium" })
|
|
9
|
+
] }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-6", children: r.map((t) => /* @__PURE__ */ e(m, { ...t }, t.question)) })
|
|
11
|
+
] });
|
|
16
12
|
export {
|
|
17
|
-
|
|
13
|
+
d as FaqSection
|
|
18
14
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Item as
|
|
4
|
-
import { Button as
|
|
5
|
-
const
|
|
6
|
-
title:
|
|
7
|
-
description:
|
|
8
|
-
cta:
|
|
9
|
-
heroDocuments: c
|
|
3
|
+
import { Item as n } from "./Item.js";
|
|
4
|
+
import { Button as x } from "./Button.js";
|
|
5
|
+
const p = ({
|
|
6
|
+
title: i,
|
|
7
|
+
description: a,
|
|
8
|
+
cta: s,
|
|
9
|
+
heroDocuments: c,
|
|
10
10
|
listTitle: m,
|
|
11
|
-
listNote: n,
|
|
12
11
|
backgroundImage: l
|
|
13
12
|
}) => /* @__PURE__ */ e("section", { className: "bg-primary-50", children: /* @__PURE__ */ e(
|
|
14
13
|
"div",
|
|
@@ -16,23 +15,20 @@ const h = ({
|
|
|
16
15
|
className: "bg-none bg-size-[420px_442px] bg-bottom-right bg-no-repeat lg:bg-(image:--hero-bg)",
|
|
17
16
|
style: { "--hero-bg": l ? `url(${l})` : "none" },
|
|
18
17
|
children: /* @__PURE__ */ t("div", { className: "mx-auto flex max-w-6xl flex-col items-center px-6 py-12 lg:flex-row", children: [
|
|
19
|
-
/* @__PURE__ */ t("div", { className: "flex max-w-
|
|
18
|
+
/* @__PURE__ */ t("div", { className: "flex max-w-121.5 flex-1 flex-col items-center gap-6 text-center lg:items-start lg:text-left", children: [
|
|
20
19
|
/* @__PURE__ */ t("div", { className: "space-y-5", children: [
|
|
21
|
-
/* @__PURE__ */ e("h1", { className: "font-lora text-super-hero text-neutral-900", children:
|
|
22
|
-
/* @__PURE__ */ e("p", { className: "text-big text-neutral-800", children:
|
|
20
|
+
/* @__PURE__ */ e("h1", { className: "font-lora text-super-hero text-neutral-900", children: i }),
|
|
21
|
+
/* @__PURE__ */ e("p", { className: "text-big text-neutral-800", children: a })
|
|
23
22
|
] }),
|
|
24
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
23
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(x, { variant: "primary-darkgreen", ...s }) })
|
|
25
24
|
] }),
|
|
26
25
|
/* @__PURE__ */ t("div", { className: "flex w-full flex-1 flex-col items-center justify-center gap-4 rounded-lg p-6 lg:items-start lg:justify-start", children: [
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
/* @__PURE__ */ e("span", { className: "text-extra-small text-neutral-600", children: n })
|
|
30
|
-
] }),
|
|
31
|
-
/* @__PURE__ */ e("div", { className: "grid w-full max-w-[486px] gap-2", children: c.map((r) => /* @__PURE__ */ e(x, { ...r, variant: "card" }, r.title)) })
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "flex w-full max-w-121.5 items-center justify-between", children: /* @__PURE__ */ e("p", { className: "text-big text-primary-800 font-semibold", children: m }) }),
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "grid w-full max-w-121.5 gap-2", children: c.map((r) => /* @__PURE__ */ e(n, { ...r, variant: "card" }, r.title)) })
|
|
32
28
|
] })
|
|
33
29
|
] })
|
|
34
30
|
}
|
|
35
31
|
) });
|
|
36
32
|
export {
|
|
37
|
-
|
|
33
|
+
p as HeroSection
|
|
38
34
|
};
|
|
@@ -4,12 +4,12 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
|
|
5
5
|
export interface BlogSectionProps {
|
|
6
6
|
header: SectionHeadingProps;
|
|
7
|
-
articles
|
|
7
|
+
articles: {
|
|
8
8
|
title: string;
|
|
9
9
|
image: ReactNode;
|
|
10
10
|
excerpt: string;
|
|
11
11
|
cta: ReactNode;
|
|
12
|
-
}
|
|
12
|
+
}[];
|
|
13
13
|
cta: ButtonProps;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -26,12 +26,12 @@ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yel
|
|
|
26
26
|
|
|
27
27
|
export interface CategoriesSectionProps {
|
|
28
28
|
header: SectionHeadingProps;
|
|
29
|
-
categories
|
|
29
|
+
categories: {
|
|
30
30
|
title: string;
|
|
31
31
|
description: string;
|
|
32
32
|
icon: ReactNode;
|
|
33
33
|
cta: ButtonProps;
|
|
34
|
-
}
|
|
34
|
+
}[];
|
|
35
35
|
cta: ButtonProps;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -49,9 +49,8 @@ export interface HeroSectionProps {
|
|
|
49
49
|
title: string;
|
|
50
50
|
description?: string;
|
|
51
51
|
cta: ButtonProps;
|
|
52
|
-
heroDocuments
|
|
52
|
+
heroDocuments: ItemProps[];
|
|
53
53
|
listTitle?: string;
|
|
54
|
-
listNote?: string;
|
|
55
54
|
backgroundImage?: string;
|
|
56
55
|
}
|
|
57
56
|
|
|
@@ -68,14 +67,14 @@ export interface HomeStepsProps {
|
|
|
68
67
|
export declare const HomeTemplate: FC<HomeTemplateProps>;
|
|
69
68
|
|
|
70
69
|
export declare interface HomeTemplateProps {
|
|
71
|
-
hero
|
|
72
|
-
moreTemplates
|
|
73
|
-
process
|
|
70
|
+
hero: HeroSectionProps;
|
|
71
|
+
moreTemplates: PopularDocumentsProps;
|
|
72
|
+
process: HomeStepsProps;
|
|
74
73
|
categories?: CategoriesSectionProps;
|
|
75
|
-
ratafia
|
|
76
|
-
trust
|
|
74
|
+
ratafia: LawGeniusSectionProps;
|
|
75
|
+
trust: TrustSectionProps;
|
|
77
76
|
faqTeaser: FaqTeaserSectionProps;
|
|
78
|
-
articles
|
|
77
|
+
articles: BlogSectionProps;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
@@ -116,11 +115,7 @@ export interface SectionHeadingProps {
|
|
|
116
115
|
|
|
117
116
|
export interface TrustSectionProps {
|
|
118
117
|
header: SectionHeadingProps;
|
|
119
|
-
trustReasons
|
|
120
|
-
label: string;
|
|
121
|
-
icon?: ReactNode;
|
|
122
|
-
}>;
|
|
118
|
+
trustReasons: string[];
|
|
123
119
|
cta: ButtonProps;
|
|
124
|
-
children?: ReactNode;
|
|
125
120
|
}
|
|
126
121
|
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as f, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { HeroSection as
|
|
4
|
-
import { MoreTemplatesSection as
|
|
5
|
-
import { ProcessSection as
|
|
3
|
+
import { HeroSection as s } from "./HeroSection.js";
|
|
4
|
+
import { MoreTemplatesSection as a } from "./MoreTemplatesSection.js";
|
|
5
|
+
import { ProcessSection as S } from "./ProcessSection.js";
|
|
6
6
|
import { CategoriesSection as l } from "./CategoriesSection.js";
|
|
7
7
|
import { RatafiaSection as x } from "./RatafiaSection.js";
|
|
8
8
|
import { TrustSection as T } from "./TrustSection.js";
|
|
9
9
|
import { FaqTeaserSection as j } from "./FaqTeaserSection.js";
|
|
10
|
-
import {
|
|
11
|
-
const
|
|
12
|
-
hero:
|
|
10
|
+
import { BlogSection as u } from "./BlogSection.js";
|
|
11
|
+
const P = ({
|
|
12
|
+
hero: t,
|
|
13
13
|
moreTemplates: m,
|
|
14
|
-
process:
|
|
15
|
-
categories:
|
|
16
|
-
ratafia:
|
|
17
|
-
trust:
|
|
18
|
-
faqTeaser:
|
|
19
|
-
articles:
|
|
14
|
+
process: e,
|
|
15
|
+
categories: r,
|
|
16
|
+
ratafia: i,
|
|
17
|
+
trust: p,
|
|
18
|
+
faqTeaser: n,
|
|
19
|
+
articles: c
|
|
20
20
|
}) => /* @__PURE__ */ f("main", { className: "flex-1", children: [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/* @__PURE__ */ o(j, { ...
|
|
28
|
-
|
|
21
|
+
/* @__PURE__ */ o(s, { ...t }),
|
|
22
|
+
/* @__PURE__ */ o(a, { ...m }),
|
|
23
|
+
/* @__PURE__ */ o(S, { ...e }),
|
|
24
|
+
r && /* @__PURE__ */ o(l, { ...r }),
|
|
25
|
+
/* @__PURE__ */ o(x, { ...i }),
|
|
26
|
+
/* @__PURE__ */ o(T, { ...p }),
|
|
27
|
+
/* @__PURE__ */ o(j, { ...n }),
|
|
28
|
+
/* @__PURE__ */ o(u, { ...c })
|
|
29
29
|
] });
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
P as HomeTemplate
|
|
32
32
|
};
|
|
@@ -27,11 +27,7 @@ export declare const TrustSection: FC<TrustSectionProps>;
|
|
|
27
27
|
|
|
28
28
|
export declare interface TrustSectionProps {
|
|
29
29
|
header: SectionHeadingProps;
|
|
30
|
-
trustReasons
|
|
31
|
-
label: string;
|
|
32
|
-
icon?: ReactNode;
|
|
33
|
-
}>;
|
|
30
|
+
trustReasons: string[];
|
|
34
31
|
cta: ButtonProps;
|
|
35
|
-
children?: ReactNode;
|
|
36
32
|
}
|
|
37
33
|
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { jsxs as t,
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { Button as
|
|
6
|
-
const
|
|
7
|
-
/* @__PURE__ */ e(
|
|
8
|
-
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
] }, l.label)) }),
|
|
14
|
-
/* @__PURE__ */ e(o, { size: "large", ...c })
|
|
15
|
-
] })
|
|
16
|
-
] }) }),
|
|
17
|
-
/* @__PURE__ */ e(s, { children: a })
|
|
3
|
+
import { SectionHeading as c } from "./SectionHeading.js";
|
|
4
|
+
import { DoneCircleIcon as o } from "./DoneCircleIcon.js";
|
|
5
|
+
import { Button as s } from "./Button.js";
|
|
6
|
+
const f = ({ header: r, trustReasons: l, cta: m }) => /* @__PURE__ */ t("section", { className: "mx-auto flex flex-col items-center gap-10 px-6 py-12 lg:px-8 xl:max-w-300 xl:px-0", children: [
|
|
7
|
+
/* @__PURE__ */ e(c, { ...r }),
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-6 md:grid md:grid-cols-3", children: l.map((i) => /* @__PURE__ */ t("div", { className: "flex items-start gap-2", children: [
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "shrink-0", children: /* @__PURE__ */ e(o, { width: 32, height: 32 }) }),
|
|
10
|
+
/* @__PURE__ */ e("p", { className: "text-neutral-600", children: i })
|
|
11
|
+
] }, i)) }),
|
|
12
|
+
/* @__PURE__ */ e(s, { ...m })
|
|
18
13
|
] });
|
|
19
14
|
export {
|
|
20
|
-
|
|
15
|
+
f as TrustSection
|
|
21
16
|
};
|