@burdenoff/website-sdk 2026.1029.1 → 2026.1031.2

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.js CHANGED
@@ -913,6 +913,12 @@ function ContactPage({
913
913
  setIsSubmitting(false);
914
914
  }
915
915
  };
916
+ const heroDescriptionText = replacePlaceholders(
917
+ heroDescription,
918
+ displayName,
919
+ contactEmail
920
+ ).trim();
921
+ const hasHero = heroTitle.trim() !== "" || heroDescriptionText !== "";
916
922
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
917
923
  seo && /* @__PURE__ */ jsxRuntime.jsx(
918
924
  PageHead,
@@ -925,13 +931,13 @@ function ContactPage({
925
931
  url: seo.url
926
932
  }
927
933
  ),
928
- /* @__PURE__ */ jsxRuntime.jsx(
934
+ hasHero && /* @__PURE__ */ jsxRuntime.jsx(
929
935
  "section",
930
936
  {
931
937
  className: headingLevel === 2 ? "py-12 md:py-16" : "bg-gradient-to-b from-background to-muted/20 py-12 sm:py-16 md:py-20 lg:py-24",
932
938
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center max-w-3xl mx-auto", children: [
933
- headingLevel === 2 ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl md:text-3xl font-bold mb-3", children: heroTitle }) : /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-3xl sm:text-4xl md:text-5xl font-bold mb-4 sm:mb-6", children: heroTitle }),
934
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg sm:text-xl text-muted-foreground leading-relaxed", children: replacePlaceholders(heroDescription, displayName, contactEmail) })
939
+ !heroTitle.trim() ? null : headingLevel === 2 ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl md:text-3xl font-bold mb-3", children: heroTitle }) : /* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-3xl sm:text-4xl md:text-5xl font-bold mb-4 sm:mb-6", children: heroTitle }),
940
+ heroDescriptionText && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg sm:text-xl text-muted-foreground leading-relaxed", children: heroDescriptionText })
935
941
  ] }) })
936
942
  }
937
943
  ),
@@ -5551,7 +5557,7 @@ function FilterChip({
5551
5557
  {
5552
5558
  className: cn(
5553
5559
  "rounded-full px-1.5 text-xs tabular-nums",
5554
- active ? "bg-primary-foreground/20 text-primary-foreground" : "bg-muted text-muted-foreground"
5560
+ active ? "bg-primary-foreground text-primary" : "bg-muted text-muted-foreground"
5555
5561
  ),
5556
5562
  children: count
5557
5563
  }
@@ -9008,7 +9014,7 @@ function FilterChip2({
9008
9014
  {
9009
9015
  className: cn(
9010
9016
  "rounded-full px-1.5 text-xs tabular-nums",
9011
- active ? "bg-primary-foreground/20 text-primary-foreground" : "bg-muted text-muted-foreground"
9017
+ active ? "bg-primary-foreground text-primary" : "bg-muted text-muted-foreground"
9012
9018
  ),
9013
9019
  children: count
9014
9020
  }