@npm_leadtech/legal-contracts-ui 0.102.0 → 0.103.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import a from "clsx";
|
|
3
|
-
const p = ({ title: o, subtitle: r, className: n, children: l, variant:
|
|
4
|
-
const e =
|
|
3
|
+
const p = ({ title: o, subtitle: r, className: n, children: l, variant: x = "default" }) => {
|
|
4
|
+
const e = x === "contact";
|
|
5
5
|
return /* @__PURE__ */ s("section", { className: `mx-auto px-4 pb-10 text-center md:px-8 ${n ?? ""}`, children: [
|
|
6
6
|
/* @__PURE__ */ s("div", { className: "flex flex-col items-center gap-2", children: [
|
|
7
7
|
/* @__PURE__ */ t("h1", { className: a("text-small font-bold", e ? "text-neutral-600" : "text-neutral-900"), children: o }),
|
|
@@ -18,7 +18,7 @@ const p = ({ title: o, subtitle: r, className: n, children: l, variant: c = "def
|
|
|
18
18
|
children: r
|
|
19
19
|
}
|
|
20
20
|
),
|
|
21
|
-
!!l && /* @__PURE__ */ t("div", { className: a(!e && "mt-4"), children: l })
|
|
21
|
+
!!l && /* @__PURE__ */ t("div", { className: a(!e && "mt-4", e && "xl:max-w-202"), children: l })
|
|
22
22
|
] });
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { SectionHeading as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/* @__PURE__ */ e(
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { SectionHeading as i } from "./SectionHeading.js";
|
|
3
|
+
import { Markdown as s } from "./Markdown.js";
|
|
4
|
+
const x = ({ header: t, body: n, partners: a }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-4 py-16", children: /* @__PURE__ */ r("div", { className: "mx-auto max-w-6xl space-y-8", children: [
|
|
5
|
+
/* @__PURE__ */ e(i, { ...t }),
|
|
6
|
+
/* @__PURE__ */ e(s, { content: n, variant: "legal", className: "text-center" }),
|
|
7
|
+
/* @__PURE__ */ e("div", { className: "flex flex-row flex-wrap justify-center gap-7 md:gap-5 xl:gap-9", children: a.map((l) => /* @__PURE__ */ e("div", { className: "flex h-20 w-32 items-center justify-around md:w-24 lg:w-20", children: l.logo }, l.name)) })
|
|
7
8
|
] }) });
|
|
8
9
|
export {
|
|
9
|
-
|
|
10
|
+
x as PartnersSection
|
|
10
11
|
};
|