@npm_leadtech/legal-contracts-ui 0.71.0 → 0.71.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.
@@ -1,18 +1,18 @@
1
1
  import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
2
  import "react";
3
- import { SectionHeading as o } from "./SectionHeading.js";
4
- import { LinkWrapper as r } from "./LinkWrapper.js";
5
- const x = ({ header: t, articles: a, cta: m }) => a.length === 0 ? null : /* @__PURE__ */ e("section", { className: "mx-auto px-8 pt-10 pb-12 lg:px-12 lg:pb-14 xl:max-w-300 xl:px-0", children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
6
- /* @__PURE__ */ e(o, { ...t }),
7
- /* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: a.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
8
- /* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-l-sm md:h-50 lg:h-auto lg:max-w-51 [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
3
+ import { SectionHeading as a } from "./SectionHeading.js";
4
+ import { LinkWrapper as d } from "./LinkWrapper.js";
5
+ const x = ({ header: m, articles: r, cta: t }) => r.length === 0 ? null : /* @__PURE__ */ e("section", { className: "mx-auto px-8 pt-10 pb-12 lg:px-12 lg:pb-14 xl:max-w-300 xl:px-0", children: /* @__PURE__ */ i("div", { className: "mx-auto flex flex-col items-center gap-8", children: [
6
+ /* @__PURE__ */ e(a, { ...m }),
7
+ /* @__PURE__ */ e("div", { className: "grid gap-6 lg:grid-cols-2", children: r.map((l) => /* @__PURE__ */ i("article", { className: "flex flex-col rounded-sm bg-white shadow md:flex-row", children: [
8
+ /* @__PURE__ */ e("div", { className: "relative h-42 shrink-0 overflow-hidden rounded-t-sm md:h-full md:max-w-51 md:rounded-t-none md:rounded-l-sm [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: l.image }),
9
9
  /* @__PURE__ */ i("div", { className: "flex flex-col gap-4 p-6 text-neutral-800", children: [
10
10
  /* @__PURE__ */ e("h3", { className: "text-big font-semibold", children: l.title }),
11
11
  /* @__PURE__ */ e("p", { className: "text-medium", children: l.description }),
12
- /* @__PURE__ */ e(r, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
12
+ /* @__PURE__ */ e(d, { className: "w-fit", variant: "tertiary-bold", children: l.cta })
13
13
  ] })
14
14
  ] }, l.title)) }),
15
- /* @__PURE__ */ e(r, { className: "w-full md:w-fit", variant: "secondary-green", children: m })
15
+ /* @__PURE__ */ e(d, { className: "w-full md:w-fit", variant: "secondary-green", children: t })
16
16
  ] }) });
17
17
  export {
18
18
  x as BlogSection