@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.js
CHANGED
|
@@ -13838,10 +13838,29 @@ function CategoryPage2({
|
|
|
13838
13838
|
})
|
|
13839
13839
|
),
|
|
13840
13840
|
/* @__PURE__ */ jsxs("div", { className: "relative mx-auto w-full max-w-6xl px-6 sm:px-8", children: [
|
|
13841
|
-
breadcrumb && breadcrumb.length > 0 && /* @__PURE__ */ jsx("div", { className: "mb-3 flex items-center gap-1.5 flex-wrap", children: breadcrumb.map((crumb, i) =>
|
|
13842
|
-
|
|
13843
|
-
/* @__PURE__ */
|
|
13844
|
-
|
|
13841
|
+
breadcrumb && breadcrumb.length > 0 && /* @__PURE__ */ jsx("div", { className: "mb-3 flex items-center gap-1.5 flex-wrap", children: breadcrumb.map((crumb, i) => {
|
|
13842
|
+
const isLast = i === breadcrumb.length - 1;
|
|
13843
|
+
return /* @__PURE__ */ jsxs(React29.Fragment, { children: [
|
|
13844
|
+
i > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "h-3 w-3 text-white/50 shrink-0" }),
|
|
13845
|
+
crumb.href && !isLast ? /* @__PURE__ */ jsx(
|
|
13846
|
+
"a",
|
|
13847
|
+
{
|
|
13848
|
+
href: crumb.href,
|
|
13849
|
+
className: "text-xs text-white/70 font-ui hover:text-white hover:underline transition-colors",
|
|
13850
|
+
children: crumb.label
|
|
13851
|
+
}
|
|
13852
|
+
) : /* @__PURE__ */ jsx(
|
|
13853
|
+
"span",
|
|
13854
|
+
{
|
|
13855
|
+
className: cn(
|
|
13856
|
+
"text-xs font-ui",
|
|
13857
|
+
isLast ? "text-white" : "text-white/70"
|
|
13858
|
+
),
|
|
13859
|
+
children: crumb.label
|
|
13860
|
+
}
|
|
13861
|
+
)
|
|
13862
|
+
] }, i);
|
|
13863
|
+
}) }),
|
|
13845
13864
|
/* @__PURE__ */ jsx("h1", { className: "text-3xl sm:text-5xl font-bold text-white font-heading leading-tight max-w-3xl", children: title }),
|
|
13846
13865
|
intro && /* @__PURE__ */ 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 }),
|
|
13847
13866
|
trustpilotMini && /* @__PURE__ */ jsx("div", { className: "mt-5 max-w-sm", children: /* @__PURE__ */ jsx(TrustpilotEmbed, { config: trustpilotMini }) })
|