@npm_leadtech/legal-contracts-ui 0.104.0 → 0.104.5
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,23 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "clsx";
|
|
2
3
|
import { SectionHeading as c } from "./SectionHeading.js";
|
|
3
|
-
const
|
|
4
|
-
/* @__PURE__ */
|
|
5
|
-
/* @__PURE__ */
|
|
4
|
+
const d = ({ header: t, contactOptions: s }) => s.length === 0 ? null : /* @__PURE__ */ l("section", { className: "bg-neutral-25 px-4 pt-16 pb-20", children: /* @__PURE__ */ r("div", { className: "mx-auto max-w-6xl space-y-10", children: [
|
|
5
|
+
/* @__PURE__ */ l(c, { ...t, className: "px-6" }),
|
|
6
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-6 sm:flex-row sm:items-start sm:justify-center", children: s.map((e) => /* @__PURE__ */ r(
|
|
6
7
|
"article",
|
|
7
8
|
{
|
|
8
|
-
className:
|
|
9
|
+
className: a(
|
|
10
|
+
"relative flex h-36 w-52 flex-col items-center justify-center gap-4 rounded bg-white text-center shadow-sm",
|
|
11
|
+
e.url && 'cursor-pointer [&_a]:before:absolute [&_a]:before:inset-0 [&_a]:before:content-[""]'
|
|
12
|
+
),
|
|
9
13
|
children: [
|
|
10
|
-
/* @__PURE__ */ e("
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
|
|
14
|
+
e.url && /* @__PURE__ */ l("a", { href: e.url, children: /* @__PURE__ */ l("span", { className: "sr-only", children: e.title }) }),
|
|
15
|
+
/* @__PURE__ */ l("div", { className: "bg-primary-50 rounded-full p-3", children: e.icon }),
|
|
16
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col items-center justify-center", children: [
|
|
17
|
+
/* @__PURE__ */ l("p", { className: "text-neutral-800", children: e.title }),
|
|
18
|
+
/* @__PURE__ */ l("p", { className: "text-neutral-800", children: e.description }),
|
|
19
|
+
e.helper && /* @__PURE__ */ l("p", { className: "text-neutral-800", children: e.helper })
|
|
15
20
|
] })
|
|
16
21
|
]
|
|
17
22
|
},
|
|
18
|
-
|
|
23
|
+
e.title
|
|
19
24
|
)) })
|
|
20
25
|
] }) });
|
|
21
26
|
export {
|
|
22
|
-
|
|
27
|
+
d as ContactUsSection
|
|
23
28
|
};
|