@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.mjs CHANGED
@@ -883,6 +883,12 @@ function ContactPage({
883
883
  setIsSubmitting(false);
884
884
  }
885
885
  };
886
+ const heroDescriptionText = replacePlaceholders(
887
+ heroDescription,
888
+ displayName,
889
+ contactEmail
890
+ ).trim();
891
+ const hasHero = heroTitle.trim() !== "" || heroDescriptionText !== "";
886
892
  return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
887
893
  seo && /* @__PURE__ */ jsx(
888
894
  PageHead,
@@ -895,13 +901,13 @@ function ContactPage({
895
901
  url: seo.url
896
902
  }
897
903
  ),
898
- /* @__PURE__ */ jsx(
904
+ hasHero && /* @__PURE__ */ jsx(
899
905
  "section",
900
906
  {
901
907
  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",
902
908
  children: /* @__PURE__ */ jsx("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxs("div", { className: "text-center max-w-3xl mx-auto", children: [
903
- headingLevel === 2 ? /* @__PURE__ */ jsx("h2", { className: "text-2xl md:text-3xl font-bold mb-3", children: heroTitle }) : /* @__PURE__ */ jsx("h1", { className: "text-3xl sm:text-4xl md:text-5xl font-bold mb-4 sm:mb-6", children: heroTitle }),
904
- /* @__PURE__ */ jsx("p", { className: "text-lg sm:text-xl text-muted-foreground leading-relaxed", children: replacePlaceholders(heroDescription, displayName, contactEmail) })
909
+ !heroTitle.trim() ? null : headingLevel === 2 ? /* @__PURE__ */ jsx("h2", { className: "text-2xl md:text-3xl font-bold mb-3", children: heroTitle }) : /* @__PURE__ */ jsx("h1", { className: "text-3xl sm:text-4xl md:text-5xl font-bold mb-4 sm:mb-6", children: heroTitle }),
910
+ heroDescriptionText && /* @__PURE__ */ jsx("p", { className: "text-lg sm:text-xl text-muted-foreground leading-relaxed", children: heroDescriptionText })
905
911
  ] }) })
906
912
  }
907
913
  ),
@@ -5521,7 +5527,7 @@ function FilterChip({
5521
5527
  {
5522
5528
  className: cn(
5523
5529
  "rounded-full px-1.5 text-xs tabular-nums",
5524
- active ? "bg-primary-foreground/20 text-primary-foreground" : "bg-muted text-muted-foreground"
5530
+ active ? "bg-primary-foreground text-primary" : "bg-muted text-muted-foreground"
5525
5531
  ),
5526
5532
  children: count
5527
5533
  }
@@ -8978,7 +8984,7 @@ function FilterChip2({
8978
8984
  {
8979
8985
  className: cn(
8980
8986
  "rounded-full px-1.5 text-xs tabular-nums",
8981
- active ? "bg-primary-foreground/20 text-primary-foreground" : "bg-muted text-muted-foreground"
8987
+ active ? "bg-primary-foreground text-primary" : "bg-muted text-muted-foreground"
8982
8988
  ),
8983
8989
  children: count
8984
8990
  }