@planetaexo/design-system 0.55.0 → 0.56.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.
- package/dist/index.cjs +23 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -13859,10 +13859,29 @@ function CategoryPage2({
|
|
|
13859
13859
|
})
|
|
13860
13860
|
),
|
|
13861
13861
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative mx-auto w-full max-w-6xl px-6 sm:px-8", children: [
|
|
13862
|
-
breadcrumb && breadcrumb.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 flex items-center gap-1.5 flex-wrap", children: breadcrumb.map((crumb, i) =>
|
|
13863
|
-
|
|
13864
|
-
/* @__PURE__ */ jsxRuntime.
|
|
13865
|
-
|
|
13862
|
+
breadcrumb && breadcrumb.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3 flex items-center gap-1.5 flex-wrap", children: breadcrumb.map((crumb, i) => {
|
|
13863
|
+
const isLast = i === breadcrumb.length - 1;
|
|
13864
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React29__namespace.Fragment, { children: [
|
|
13865
|
+
i > 0 && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRightIcon, { className: "h-3 w-3 text-white/50 shrink-0" }),
|
|
13866
|
+
crumb.href && !isLast ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
13867
|
+
"a",
|
|
13868
|
+
{
|
|
13869
|
+
href: crumb.href,
|
|
13870
|
+
className: "text-xs text-white/70 font-ui hover:text-white hover:underline transition-colors",
|
|
13871
|
+
children: crumb.label
|
|
13872
|
+
}
|
|
13873
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
13874
|
+
"span",
|
|
13875
|
+
{
|
|
13876
|
+
className: cn(
|
|
13877
|
+
"text-xs font-ui",
|
|
13878
|
+
isLast ? "text-white" : "text-white/70"
|
|
13879
|
+
),
|
|
13880
|
+
children: crumb.label
|
|
13881
|
+
}
|
|
13882
|
+
)
|
|
13883
|
+
] }, i);
|
|
13884
|
+
}) }),
|
|
13866
13885
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-3xl sm:text-5xl font-bold text-white font-heading leading-tight max-w-3xl", children: title }),
|
|
13867
13886
|
intro && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 text-base sm:text-lg text-white/90 leading-relaxed max-w-2xl [&_strong]:font-semibold [&_a]:underline", children: intro }),
|
|
13868
13887
|
trustpilotMini && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-5 max-w-sm", children: /* @__PURE__ */ jsxRuntime.jsx(TrustpilotEmbed, { config: trustpilotMini }) })
|