@burdenoff/website-sdk 2026.526.4 → 2026.529.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
@@ -2701,7 +2701,7 @@ function PricingSection(props) {
2701
2701
  if (loading) {
2702
2702
  return /* @__PURE__ */ jsx("section", { id, className: `py-12 sm:py-16 md:py-20 ${className}`, children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-4 sm:px-6", children: [
2703
2703
  /* @__PURE__ */ jsxs("div", { className: "text-center mb-8 sm:mb-12", children: [
2704
- /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }),
2704
+ sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }) : null,
2705
2705
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm sm:text-base md:text-lg", children: "Loading pricing information..." })
2706
2706
  ] }),
2707
2707
  /* @__PURE__ */ jsx("div", { className: "grid md:grid-cols-3 gap-6 sm:gap-8", children: [1, 2, 3].map((i) => /* @__PURE__ */ jsxs(
@@ -2722,14 +2722,14 @@ function PricingSection(props) {
2722
2722
  }
2723
2723
  if (error && plans.length === 0) {
2724
2724
  return /* @__PURE__ */ jsx("section", { id, className: `py-12 sm:py-16 md:py-20 ${className}`, children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4 sm:px-6", children: /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
2725
- /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-4", children: sectionHeading }),
2725
+ sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-4", children: sectionHeading }) : null,
2726
2726
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-8", children: error }),
2727
2727
  /* @__PURE__ */ jsx(Button, { onClick: () => window.location.reload(), children: "Retry" })
2728
2728
  ] }) }) });
2729
2729
  }
2730
2730
  return /* @__PURE__ */ jsx("section", { id, className: `py-12 sm:py-16 md:py-20 ${className}`, children: /* @__PURE__ */ jsxs("div", { className: "container mx-auto px-4 sm:px-6", children: [
2731
2731
  /* @__PURE__ */ jsxs("div", { className: "text-center mb-8 sm:mb-12", children: [
2732
- /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }),
2732
+ sectionHeading ? /* @__PURE__ */ jsx("h2", { className: "text-2xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-4", children: sectionHeading }) : null,
2733
2733
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm sm:text-base md:text-lg mb-6", children: sectionSubtitle }),
2734
2734
  props.showAudienceTabs && /* @__PURE__ */ jsx("div", { className: "flex justify-center mb-4", children: /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center bg-muted p-1.5 rounded-xl", children: [
2735
2735
  /* @__PURE__ */ jsx(
@@ -3921,6 +3921,7 @@ function RybbitAnalytics({
3921
3921
  const script = document.createElement("script");
3922
3922
  script.src = scriptUrl;
3923
3923
  script.defer = true;
3924
+ script.crossOrigin = "anonymous";
3924
3925
  script.setAttribute("data-site-id", siteId);
3925
3926
  document.head.appendChild(script);
3926
3927
  return () => {