@npm_leadtech/legal-contracts-ui 0.19.1 → 0.20.1
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 +1 -0
- package/dist/components/AboutUsTemplate.js +31 -31
- package/dist/components/AllDocumentsTemplate.d.ts +9 -8
- package/dist/components/AllDocumentsTemplate.js +6 -6
- package/dist/components/ArticlesSection.d.ts +2 -2
- package/dist/components/ArticlesSection.js +4 -4
- package/dist/components/Card.d.ts +10 -0
- package/dist/components/Card.js +8 -0
- package/dist/components/CategoryProductTemplate.d.ts +110 -0
- package/dist/components/CategoryProductTemplate.js +33 -0
- package/dist/components/ContactMethodsSection.d.ts +2 -0
- package/dist/components/ContactMethodsSection.js +5 -4
- package/dist/components/ContactUsTemplate.d.ts +1 -0
- package/dist/components/ContactUsTemplate.js +8 -8
- package/dist/components/DocumentItem.d.ts +12 -0
- package/dist/components/{DocumentCard.js → DocumentItem.js} +9 -8
- package/dist/components/DocumentSection.d.ts +3 -2
- package/dist/components/DocumentSection.js +5 -5
- package/dist/components/HomeTemplate.d.ts +21 -21
- package/dist/components/IntroSection.d.ts +1 -0
- package/dist/components/IntroSection.js +9 -9
- package/dist/components/MoreTemplatesSection.d.ts +2 -2
- package/dist/components/NotFoundTemplate.d.ts +74 -0
- package/dist/components/NotFoundTemplate.js +19 -0
- package/dist/components/PreviewDownload.js +12 -12
- package/dist/components/ProcessSection.d.ts +3 -3
- package/dist/components/RatafiaSection.d.ts +3 -3
- package/dist/globals.css +1 -1
- package/package.json +16 -4
- package/dist/components/DocumentCard.d.ts +0 -11
- package/dist/components/index.d.ts +0 -724
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
1
|
+
import { jsxs as S, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { MissionSection as u } from "./MissionSection.js";
|
|
3
|
+
import { ValuesSection as x } from "./ValuesSection.js";
|
|
4
|
+
import { Storyline as b } from "./Storyline.js";
|
|
5
|
+
import { WeHelpSection as d } from "./WeHelpSection.js";
|
|
6
|
+
import { GuidelinesSection as j } from "./GuidelinesSection.js";
|
|
7
|
+
import { ExpertsSection as y } from "./ExpertsSection.js";
|
|
8
|
+
import { TrustpilotSection as C } from "./TrustpilotSection.js";
|
|
9
|
+
import { PartnersSection as N } from "./PartnersSection.js";
|
|
10
|
+
import { CtaSection as T } from "./CtaSection.js";
|
|
11
|
+
import { ContactUsSection as U } from "./ContactUsSection.js";
|
|
12
|
+
import { Jumbotron2 as g } from "./Jumbotron2.js";
|
|
13
|
+
import { IntroSection as h } from "./IntroSection.js";
|
|
14
14
|
const v = ({
|
|
15
15
|
jumbotron: t,
|
|
16
16
|
intro: r,
|
|
17
|
-
mission:
|
|
18
|
-
coreValues:
|
|
17
|
+
mission: m,
|
|
18
|
+
coreValues: i,
|
|
19
19
|
storyline: e,
|
|
20
20
|
howWeHelp: n,
|
|
21
21
|
guidelines: p,
|
|
22
22
|
experts: f,
|
|
23
|
-
trustpilot:
|
|
24
|
-
partners:
|
|
25
|
-
cta:
|
|
26
|
-
contactUs:
|
|
27
|
-
}) => /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */ o(
|
|
29
|
-
/* @__PURE__ */ o(
|
|
23
|
+
trustpilot: s,
|
|
24
|
+
partners: c,
|
|
25
|
+
cta: l,
|
|
26
|
+
contactUs: a
|
|
27
|
+
}) => /* @__PURE__ */ S("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
|
|
28
|
+
/* @__PURE__ */ o(g, { ...t }),
|
|
29
|
+
/* @__PURE__ */ o(h, { ...r, className: "bg-primary-50" }),
|
|
30
|
+
/* @__PURE__ */ o(u, { ...m }),
|
|
30
31
|
/* @__PURE__ */ o(x, { ...i }),
|
|
31
|
-
/* @__PURE__ */ o(b, { ...
|
|
32
|
-
/* @__PURE__ */ o(d, { ...
|
|
33
|
-
/* @__PURE__ */ o(j, { ...
|
|
34
|
-
/* @__PURE__ */ o(
|
|
35
|
-
/* @__PURE__ */ o(
|
|
36
|
-
/* @__PURE__ */ o(
|
|
37
|
-
/* @__PURE__ */ o(
|
|
38
|
-
/* @__PURE__ */ o(
|
|
39
|
-
/* @__PURE__ */ o(y, { ...S })
|
|
32
|
+
/* @__PURE__ */ o(b, { ...e }),
|
|
33
|
+
/* @__PURE__ */ o(d, { ...n }),
|
|
34
|
+
/* @__PURE__ */ o(j, { ...p }),
|
|
35
|
+
/* @__PURE__ */ o(y, { ...f }),
|
|
36
|
+
/* @__PURE__ */ o(C, { ...s }),
|
|
37
|
+
/* @__PURE__ */ o(N, { ...c }),
|
|
38
|
+
/* @__PURE__ */ o(T, { ...l }),
|
|
39
|
+
/* @__PURE__ */ o(U, { ...a })
|
|
40
40
|
] });
|
|
41
41
|
export {
|
|
42
42
|
v as AboutUsTemplate
|
|
@@ -20,13 +20,6 @@ export interface BreadcrumbProps {
|
|
|
20
20
|
className?: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export interface DocumentCardProps {
|
|
24
|
-
title: string;
|
|
25
|
-
description: string;
|
|
26
|
-
featured?: boolean;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
23
|
export interface DocumentCategoriesProps {
|
|
31
24
|
title: string;
|
|
32
25
|
categories: Array<{
|
|
@@ -36,12 +29,20 @@ export interface DocumentCategoriesProps {
|
|
|
36
29
|
}>;
|
|
37
30
|
}
|
|
38
31
|
|
|
32
|
+
export interface DocumentItemProps {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
featured?: boolean;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
39
40
|
export interface DocumentSectionProps {
|
|
40
41
|
id: string;
|
|
41
42
|
title: string;
|
|
42
43
|
description: string;
|
|
43
44
|
icon: ReactNode;
|
|
44
|
-
documents:
|
|
45
|
+
documents: DocumentItemProps[];
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
export interface FaqItemProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { JumboCard as s } from "./JumboCard.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Breadcrumb as n } from "./Breadcrumb.js";
|
|
4
|
+
import { DocumentCategories as p } from "./DocumentCategories.js";
|
|
5
|
+
import { DocumentSection as f } from "./DocumentSection.js";
|
|
6
6
|
import { MarkdownSection as d } from "./MarkdownSection.js";
|
|
7
7
|
import { FaqSection as u } from "./FaqSection.js";
|
|
8
8
|
const v = ({
|
|
@@ -14,11 +14,11 @@ const v = ({
|
|
|
14
14
|
faqSection: c
|
|
15
15
|
}) => /* @__PURE__ */ m("main", { className: "mx-auto max-w-6xl flex-1", children: [
|
|
16
16
|
/* @__PURE__ */ e(s, { ...o }),
|
|
17
|
-
/* @__PURE__ */ e(
|
|
17
|
+
/* @__PURE__ */ e(n, { ...a, className: "pb-4" }),
|
|
18
18
|
/* @__PURE__ */ m("div", { className: "container mx-auto flex flex-col justify-center gap-30 lg:flex-row", children: [
|
|
19
|
-
/* @__PURE__ */ e(
|
|
19
|
+
/* @__PURE__ */ e(p, { ...t }),
|
|
20
20
|
/* @__PURE__ */ m("div", { className: "", children: [
|
|
21
|
-
i.map((r) => /* @__PURE__ */ e(
|
|
21
|
+
i.map((r) => /* @__PURE__ */ e(f, { ...r }, r.id)),
|
|
22
22
|
/* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": !0 }),
|
|
23
23
|
/* @__PURE__ */ e(d, { ...l }),
|
|
24
24
|
/* @__PURE__ */ e(u, { ...c, className: "pb-6" })
|
|
@@ -2,9 +2,9 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
|
-
export declare const ArticlesSection: FC<
|
|
5
|
+
export declare const ArticlesSection: FC<BlogSectionProps>;
|
|
6
6
|
|
|
7
|
-
export declare interface
|
|
7
|
+
export declare interface BlogSectionProps {
|
|
8
8
|
header: SectionHeadingProps;
|
|
9
9
|
articles?: Array<{
|
|
10
10
|
title: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { SectionHeading as
|
|
3
|
+
import { SectionHeading as d } from "./SectionHeading.js";
|
|
4
4
|
import { Button as s } from "./Button.js";
|
|
5
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
|
-
/* @__PURE__ */ e(
|
|
7
|
-
/* @__PURE__ */ e("div", { className: "grid gap-6 md:grid-cols-2", children: t.map((l) => /* @__PURE__ */ r("article", { className: "flex rounded-
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "relative
|
|
6
|
+
/* @__PURE__ */ e(d, { ...i }),
|
|
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
|
+
/* @__PURE__ */ e("div", { className: "relative h-48 shrink-0 overflow-hidden rounded-l-sm md:h-auto md:w-48", children: l.image }),
|
|
9
9
|
/* @__PURE__ */ r("div", { className: "flex flex-1 flex-col gap-4 border-l border-neutral-200 p-6", children: [
|
|
10
10
|
/* @__PURE__ */ e("h3", { className: "text-big font-semibold text-neutral-900", children: l.title }),
|
|
11
11
|
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l.excerpt }),
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
const a = ({ title: l = null, children: r }) => /* @__PURE__ */ e("div", { className: "flex-1 rounded-2xl bg-white p-6 shadow-sm ring-1 ring-neutral-200", children: /* @__PURE__ */ s("div", { className: "flex flex-col gap-4", children: [
|
|
3
|
+
l !== null && /* @__PURE__ */ e("div", { className: "pb-4", children: l }),
|
|
4
|
+
r
|
|
5
|
+
] }) });
|
|
6
|
+
export {
|
|
7
|
+
a as Card
|
|
8
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
export interface BlogSectionProps {
|
|
6
|
+
header: SectionHeadingProps;
|
|
7
|
+
articles?: Array<{
|
|
8
|
+
title: string;
|
|
9
|
+
image: ReactNode;
|
|
10
|
+
excerpt: string;
|
|
11
|
+
cta: ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
cta: ButtonProps;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface BreadcrumbProps {
|
|
17
|
+
breadcrumbs?: Array<{
|
|
18
|
+
label: string;
|
|
19
|
+
href?: string;
|
|
20
|
+
}>;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
size?: ButtonSize;
|
|
27
|
+
variant?: ButtonVariant;
|
|
28
|
+
iconPosition?: IconPosition;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type ButtonSize = 'small' | 'default' | 'large';
|
|
32
|
+
|
|
33
|
+
export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
34
|
+
|
|
35
|
+
export declare const CategoryProductTemplate: FC<CategoryProductTemplateProps>;
|
|
36
|
+
|
|
37
|
+
export declare interface CategoryProductTemplateProps {
|
|
38
|
+
jumbo: JumboCardProps;
|
|
39
|
+
breadcrumb: BreadcrumbProps;
|
|
40
|
+
categories: DocumentCategoriesProps;
|
|
41
|
+
documentSections: DocumentSectionProps[];
|
|
42
|
+
ctaSection: MarkdownSectionProps;
|
|
43
|
+
faqSection: FaqSectionProps;
|
|
44
|
+
articles: BlogSectionProps;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface DocumentCategoriesProps {
|
|
48
|
+
title: string;
|
|
49
|
+
categories: Array<{
|
|
50
|
+
id: string;
|
|
51
|
+
title: string;
|
|
52
|
+
icon: ReactNode;
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface DocumentItemProps {
|
|
57
|
+
id: string;
|
|
58
|
+
title: string;
|
|
59
|
+
description: string;
|
|
60
|
+
featured?: boolean;
|
|
61
|
+
className?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface DocumentSectionProps {
|
|
65
|
+
id: string;
|
|
66
|
+
title: string;
|
|
67
|
+
description: string;
|
|
68
|
+
icon: ReactNode;
|
|
69
|
+
documents: DocumentItemProps[];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface FaqItemProps {
|
|
73
|
+
question: string;
|
|
74
|
+
answer?: string;
|
|
75
|
+
extra?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface FaqSectionProps {
|
|
79
|
+
title?: string;
|
|
80
|
+
description?: ReactNode;
|
|
81
|
+
faqItems: FaqItemProps[];
|
|
82
|
+
className?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type IconPosition = 'left' | 'right' | 'top';
|
|
86
|
+
|
|
87
|
+
export interface JumboCardProps {
|
|
88
|
+
title: string;
|
|
89
|
+
description: string;
|
|
90
|
+
subtitle: string;
|
|
91
|
+
image: ReactNode;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface MarkdownProps {
|
|
95
|
+
content: string;
|
|
96
|
+
className?: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface MarkdownSectionProps {
|
|
100
|
+
header: SectionHeadingProps;
|
|
101
|
+
markdown: MarkdownProps;
|
|
102
|
+
children?: ReactNode;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export interface SectionHeadingProps {
|
|
106
|
+
title: string;
|
|
107
|
+
description?: string;
|
|
108
|
+
align?: 'start' | 'center';
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { JumboCard as n } from "./JumboCard.js";
|
|
3
|
+
import { DocumentCategories as p } from "./DocumentCategories.js";
|
|
4
|
+
import { DocumentSection as f } from "./DocumentSection.js";
|
|
5
|
+
import { Breadcrumb as d } from "./Breadcrumb.js";
|
|
6
|
+
import { MarkdownSection as u } from "./MarkdownSection.js";
|
|
7
|
+
import { FaqSection as x } from "./FaqSection.js";
|
|
8
|
+
import { ArticlesSection as N } from "./ArticlesSection.js";
|
|
9
|
+
const y = ({
|
|
10
|
+
jumbo: m,
|
|
11
|
+
breadcrumb: a,
|
|
12
|
+
categories: t,
|
|
13
|
+
documentSections: i,
|
|
14
|
+
ctaSection: c,
|
|
15
|
+
faqSection: l,
|
|
16
|
+
articles: s
|
|
17
|
+
}) => /* @__PURE__ */ e("main", { className: "mx-auto max-w-6xl flex-1", children: [
|
|
18
|
+
/* @__PURE__ */ r(n, { ...m }),
|
|
19
|
+
/* @__PURE__ */ r(d, { ...a, className: "pb-4" }),
|
|
20
|
+
/* @__PURE__ */ e("div", { className: "container mx-auto flex flex-col justify-center gap-30 lg:flex-row", children: [
|
|
21
|
+
/* @__PURE__ */ r(p, { ...t }),
|
|
22
|
+
/* @__PURE__ */ e("div", { className: "", children: [
|
|
23
|
+
i.map((o) => /* @__PURE__ */ r(f, { ...o }, o.id)),
|
|
24
|
+
/* @__PURE__ */ r("div", { className: "h-px w-full bg-neutral-200", "aria-hidden": !0 }),
|
|
25
|
+
/* @__PURE__ */ r(u, { ...c }),
|
|
26
|
+
/* @__PURE__ */ r(x, { ...l, className: "pb-6" }),
|
|
27
|
+
/* @__PURE__ */ r(N, { ...s })
|
|
28
|
+
] })
|
|
29
|
+
] })
|
|
30
|
+
] });
|
|
31
|
+
export {
|
|
32
|
+
y as CategoryProductTemplate
|
|
33
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
|
|
3
4
|
export interface ContactMethod {
|
|
4
5
|
icon: React.ReactNode;
|
|
@@ -11,5 +12,6 @@ export declare const ContactMethodsSection: FC<ContactMethodsSectionProps>;
|
|
|
11
12
|
|
|
12
13
|
export declare interface ContactMethodsSectionProps {
|
|
13
14
|
items: ContactMethod[];
|
|
15
|
+
title?: ReactNode;
|
|
14
16
|
}
|
|
15
17
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Card as r } from "./Card.js";
|
|
3
|
+
import { ContactMethodCard as c } from "./ContactMethodCard.js";
|
|
4
|
+
const n = ({ items: t, title: a }) => /* @__PURE__ */ o("section", { "aria-labelledby": "contact-methods-heading", children: /* @__PURE__ */ o(r, { title: a, children: /* @__PURE__ */ o("div", { className: "flex flex-col gap-4", children: t.map((e) => /* @__PURE__ */ o(c, { ...e }, e.label)) }) }) });
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
n as ContactMethodsSection
|
|
6
7
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { MarkdownSection as a } from "./MarkdownSection.js";
|
|
3
|
+
import { ContactFormSection as m } from "./ContactFormSection.js";
|
|
4
|
+
import { Jumbotron2 as i } from "./Jumbotron2.js";
|
|
5
|
+
import { ContactMethodsSection as c } from "./ContactMethodsSection.js";
|
|
6
6
|
const d = ({ jumbotron: l, contactMethods: r, faqs: t }) => /* @__PURE__ */ e("main", { className: "bg-primary-50 flex-1 px-4 py-12 lg:px-0", children: /* @__PURE__ */ o("div", { className: "relative mx-auto flex w-full max-w-6xl flex-col gap-12", children: [
|
|
7
|
-
/* @__PURE__ */ e(
|
|
7
|
+
/* @__PURE__ */ e(i, { ...l }),
|
|
8
8
|
/* @__PURE__ */ o("div", { className: "relative flex flex-col gap-10 lg:flex-row", children: [
|
|
9
9
|
/* @__PURE__ */ o("div", { className: "flex-1 space-y-8", children: [
|
|
10
|
-
/* @__PURE__ */ e(
|
|
11
|
-
/* @__PURE__ */ e(
|
|
10
|
+
/* @__PURE__ */ e(c, { ...r }),
|
|
11
|
+
/* @__PURE__ */ e(a, { ...t })
|
|
12
12
|
] }),
|
|
13
|
-
/* @__PURE__ */ e(
|
|
13
|
+
/* @__PURE__ */ e(m, {})
|
|
14
14
|
] })
|
|
15
15
|
] }) });
|
|
16
16
|
export {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { ChevronRightIcon as
|
|
3
|
-
const
|
|
2
|
+
import { ChevronRightIcon as m } from "./ChevronRightIcon.js";
|
|
3
|
+
const n = ({ id: t, title: a, description: o, featured: s, className: d = "" }) => /* @__PURE__ */ r(
|
|
4
4
|
"article",
|
|
5
5
|
{
|
|
6
|
-
className: `rounded bg-white p-6 shadow-sm transition-shadow hover:shadow-md ${
|
|
6
|
+
className: `rounded bg-white p-6 shadow-sm transition-shadow hover:shadow-md ${s ? "border-primary-500 border-2" : "border border-neutral-200"} ${d}`,
|
|
7
7
|
children: [
|
|
8
8
|
/* @__PURE__ */ r("div", { className: "flex items-start gap-4", children: [
|
|
9
|
-
/* @__PURE__ */ e("p", { className: "text-medium flex-1 font-bold text-neutral-800", children:
|
|
10
|
-
/* @__PURE__ */ e(
|
|
9
|
+
/* @__PURE__ */ e("p", { className: "text-medium flex-1 font-bold text-neutral-800", children: a }),
|
|
10
|
+
/* @__PURE__ */ e(m, { className: "h-5 w-5 text-neutral-800", "aria-hidden": !0 })
|
|
11
11
|
] }),
|
|
12
|
-
/* @__PURE__ */ e("p", { className: "text-medium mt-2 text-neutral-800", children:
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "text-medium mt-2 text-neutral-800", children: o })
|
|
13
13
|
]
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
t
|
|
15
16
|
);
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
n as DocumentItem
|
|
18
19
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export interface
|
|
4
|
+
export interface DocumentItemProps {
|
|
5
|
+
id: string;
|
|
5
6
|
title: string;
|
|
6
7
|
description: string;
|
|
7
8
|
featured?: boolean;
|
|
@@ -15,6 +16,6 @@ export declare interface DocumentSectionProps {
|
|
|
15
16
|
title: string;
|
|
16
17
|
description: string;
|
|
17
18
|
icon: ReactNode;
|
|
18
|
-
documents:
|
|
19
|
+
documents: DocumentItemProps[];
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const p = ({ id: l, title:
|
|
2
|
+
import { DocumentItem as n } from "./DocumentItem.js";
|
|
3
|
+
const p = ({ id: l, title: s, description: t, icon: c, documents: m }) => /* @__PURE__ */ a("article", { id: l, className: "flex-1 scroll-mt-32 space-y-6", children: [
|
|
4
4
|
/* @__PURE__ */ a("div", { className: "bg-neutral-25 flex flex-col gap-4 rounded p-6", children: [
|
|
5
5
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-4", children: [
|
|
6
6
|
/* @__PURE__ */ e("span", { className: "bg-primary-50 rounded-md p-3", "aria-hidden": !0, children: c }),
|
|
7
|
-
/* @__PURE__ */ e("p", { className: "font-lora text-super-large text-neutral-900", children:
|
|
7
|
+
/* @__PURE__ */ e("p", { className: "font-lora text-super-large text-neutral-900", children: s })
|
|
8
8
|
] }),
|
|
9
|
-
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children:
|
|
9
|
+
/* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: t })
|
|
10
10
|
] }),
|
|
11
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-6 pb-6", children: m.map((r) => /* @__PURE__ */ e(n, { ...r, className: "w-48/100" }, r.
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-6 pb-6", children: m.map((r) => /* @__PURE__ */ e(n, { ...r, className: "w-48/100" }, r.id)) })
|
|
12
12
|
] }, l);
|
|
13
13
|
export {
|
|
14
14
|
p as DocumentSection
|
|
@@ -2,7 +2,7 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
|
|
5
|
-
export interface
|
|
5
|
+
export interface BlogSectionProps {
|
|
6
6
|
header: SectionHeadingProps;
|
|
7
7
|
articles?: Array<{
|
|
8
8
|
title: string;
|
|
@@ -54,17 +54,27 @@ export interface HeroSectionProps {
|
|
|
54
54
|
backgroundImage?: string;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
export interface HomeStepsProps {
|
|
58
|
+
image: ReactNode;
|
|
59
|
+
header: SectionHeadingProps;
|
|
60
|
+
steps: Array<{
|
|
61
|
+
title: string;
|
|
62
|
+
description: string;
|
|
63
|
+
image: ReactNode;
|
|
64
|
+
}>;
|
|
65
|
+
}
|
|
66
|
+
|
|
57
67
|
export declare const HomeTemplate: FC<HomeTemplateProps>;
|
|
58
68
|
|
|
59
69
|
export declare interface HomeTemplateProps {
|
|
60
70
|
hero?: HeroSectionProps;
|
|
61
|
-
moreTemplates?:
|
|
62
|
-
process?:
|
|
71
|
+
moreTemplates?: PopularDocumentsProps;
|
|
72
|
+
process?: HomeStepsProps;
|
|
63
73
|
categories?: CategoriesSectionProps;
|
|
64
|
-
ratafia?:
|
|
74
|
+
ratafia?: LawGeniusSectionProps;
|
|
65
75
|
trust?: TrustSectionProps;
|
|
66
76
|
faqTeaser?: FaqTeaserSectionProps;
|
|
67
|
-
articles?:
|
|
77
|
+
articles?: BlogSectionProps;
|
|
68
78
|
}
|
|
69
79
|
|
|
70
80
|
export type IconPosition = 'left' | 'right' | 'top';
|
|
@@ -79,22 +89,7 @@ export interface ItemProps {
|
|
|
79
89
|
className?: string;
|
|
80
90
|
}
|
|
81
91
|
|
|
82
|
-
export interface
|
|
83
|
-
header: SectionHeadingProps;
|
|
84
|
-
moreDocuments?: ItemProps[];
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export interface ProcessSectionProps {
|
|
88
|
-
image: ReactNode;
|
|
89
|
-
header: SectionHeadingProps;
|
|
90
|
-
steps: Array<{
|
|
91
|
-
title: string;
|
|
92
|
-
description: string;
|
|
93
|
-
image: ReactNode;
|
|
94
|
-
}>;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export interface RatafiaSectionProps {
|
|
92
|
+
export interface LawGeniusSectionProps {
|
|
98
93
|
title: string;
|
|
99
94
|
content: ReactNode;
|
|
100
95
|
benefits: Array<{
|
|
@@ -105,6 +100,11 @@ export interface RatafiaSectionProps {
|
|
|
105
100
|
image: ReactNode;
|
|
106
101
|
}
|
|
107
102
|
|
|
103
|
+
export interface PopularDocumentsProps {
|
|
104
|
+
header: SectionHeadingProps;
|
|
105
|
+
moreDocuments?: ItemProps[];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
108
|
export interface SectionHeadingProps {
|
|
109
109
|
title: string;
|
|
110
110
|
description?: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
2
|
-
import { TwoColumnSection as
|
|
3
|
-
import { Button as
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { TwoColumnSection as o } from "./TwoColumnSection.js";
|
|
3
|
+
import { Button as t } from "./Button.js";
|
|
4
|
+
const c = ({ image: m, children: r, cta: a, className: i }) => /* @__PURE__ */ s(
|
|
5
|
+
o,
|
|
6
6
|
{
|
|
7
|
-
className: "
|
|
7
|
+
className: i ?? "",
|
|
8
8
|
firstColumn: /* @__PURE__ */ s("div", { className: "mb-4 md:mr-6 md:mb-0 md:basis-42/100 lg:mr-10 lg:basis-39/100 xl:basis-36/100", children: m }),
|
|
9
|
-
secondColumn: /* @__PURE__ */
|
|
9
|
+
secondColumn: /* @__PURE__ */ l("div", { className: "mt-4 basis-full md:mt-0 md:basis-56/100 lg:basis-59/100 xl:basis-60/100", children: [
|
|
10
10
|
r,
|
|
11
|
-
/* @__PURE__ */ s(
|
|
11
|
+
/* @__PURE__ */ s(t, { size: "large", variant: "primary-darkgreen", className: "mt-8", ...a })
|
|
12
12
|
] })
|
|
13
13
|
}
|
|
14
14
|
);
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
c as IntroSection
|
|
17
17
|
};
|
|
@@ -11,9 +11,9 @@ export interface ItemProps {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export declare const MoreTemplatesSection: FC<
|
|
14
|
+
export declare const MoreTemplatesSection: FC<PopularDocumentsProps>;
|
|
15
15
|
|
|
16
|
-
export declare interface
|
|
16
|
+
export declare interface PopularDocumentsProps {
|
|
17
17
|
header: SectionHeadingProps;
|
|
18
18
|
moreDocuments?: ItemProps[];
|
|
19
19
|
}
|