@burdenoff/website-sdk 2026.719.6 → 2026.720.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.
@@ -795,6 +795,7 @@ function StoreHomePage({
795
795
  const featuredItems = deduped[0] ?? [];
796
796
  const popularItems = deduped[1] ?? [];
797
797
  const freeItems = deduped[2] ?? [];
798
+ const hasNoItems = !loading && !error && featuredItems.length === 0 && popularItems.length === 0 && freeItems.length === 0;
798
799
  const resolvedTitle = heroTitle ?? `${productName ? `${productName} ` : ""}Store`;
799
800
  const resolvedSubtitle = heroSubtitle ?? "Discover workflows, nodes, integrations, and templates built by the community.";
800
801
  return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
@@ -907,7 +908,7 @@ function StoreHomePage({
907
908
  ] })
908
909
  ] }),
909
910
  /* @__PURE__ */ jsxs("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-20 space-y-14 pt-4", children: [
910
- /* @__PURE__ */ jsxs("section", { children: [
911
+ (loading || error || featuredItems.length > 0) && /* @__PURE__ */ jsxs("section", { children: [
911
912
  /* @__PURE__ */ jsx(
912
913
  SectionHead,
913
914
  {
@@ -985,7 +986,71 @@ function StoreHomePage({
985
986
  },
986
987
  product.id
987
988
  )) })
988
- ] })
989
+ ] }),
990
+ hasNoItems && /* @__PURE__ */ jsxs(
991
+ "section",
992
+ {
993
+ "data-store": "empty-state",
994
+ className: "rounded-2xl border border-border bg-card/50 px-6 py-14 sm:py-16 text-center",
995
+ children: [
996
+ /* @__PURE__ */ jsx(
997
+ "div",
998
+ {
999
+ className: "mx-auto mb-5 flex h-14 w-14 items-center justify-center rounded-2xl bg-primary/10",
1000
+ "aria-hidden": "true",
1001
+ children: /* @__PURE__ */ jsx(
1002
+ "svg",
1003
+ {
1004
+ viewBox: "0 0 24 24",
1005
+ fill: "none",
1006
+ stroke: "currentColor",
1007
+ strokeWidth: "1.5",
1008
+ className: "h-7 w-7 text-primary",
1009
+ children: /* @__PURE__ */ jsx(
1010
+ "path",
1011
+ {
1012
+ strokeLinecap: "round",
1013
+ strokeLinejoin: "round",
1014
+ d: "M3.75 9h16.5M4.5 9l1.2 9.3a1.5 1.5 0 0 0 1.49 1.2h9.62a1.5 1.5 0 0 0 1.49-1.2L19.5 9M8.25 9V6.75a3.75 3.75 0 0 1 7.5 0V9"
1015
+ }
1016
+ )
1017
+ }
1018
+ )
1019
+ }
1020
+ ),
1021
+ /* @__PURE__ */ jsxs("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-2", children: [
1022
+ "The ",
1023
+ productName ?? "store",
1024
+ " catalogue is just getting started"
1025
+ ] }),
1026
+ /* @__PURE__ */ jsxs("p", { className: "text-sm sm:text-base text-muted-foreground max-w-xl mx-auto mb-7", children: [
1027
+ "No items have been published for ",
1028
+ productName ?? "this product",
1029
+ " ",
1030
+ "yet. As the community ships workflows, templates, and integrations, they will show up right here."
1031
+ ] }),
1032
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-center gap-3", children: [
1033
+ /* @__PURE__ */ jsx(
1034
+ "button",
1035
+ {
1036
+ type: "button",
1037
+ onClick: () => navigate(browsePath),
1038
+ className: "inline-flex items-center gap-2 rounded-xl bg-primary px-5 py-2.5 text-sm font-semibold text-primary-foreground transition-colors hover:bg-primary/90",
1039
+ children: "Browse the full store"
1040
+ }
1041
+ ),
1042
+ /* @__PURE__ */ jsx(
1043
+ "a",
1044
+ {
1045
+ href: appLoginUrl,
1046
+ className: "inline-flex items-center gap-2 rounded-xl border border-border px-5 py-2.5 text-sm font-semibold text-foreground transition-colors hover:border-primary/40 hover:text-primary",
1047
+ children: "Become a publisher"
1048
+ }
1049
+ )
1050
+ ] })
1051
+ ]
1052
+ }
1053
+ )
989
1054
  ] }),
990
1055
  /* @__PURE__ */ jsxs("section", { className: "relative overflow-hidden border-t border-border", children: [
991
1056
  /* @__PURE__ */ jsx(