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