pxengine 0.1.51 → 0.1.52

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
@@ -34701,7 +34701,7 @@ ${post.hashtags.join(" ")}`;
34701
34701
  loading: "lazy"
34702
34702
  }
34703
34703
  ),
34704
- /* @__PURE__ */ jsx106(
34704
+ post.image.photographer_url ? /* @__PURE__ */ jsx106(
34705
34705
  "a",
34706
34706
  {
34707
34707
  href: post.image.photographer_url,
@@ -34710,7 +34710,7 @@ ${post.hashtags.join(" ")}`;
34710
34710
  className: "absolute bottom-1.5 right-1.5 text-[9px] text-white/70 bg-black/50 px-1.5 py-0.5 rounded-full hover:text-white",
34711
34711
  children: post.image.photographer
34712
34712
  }
34713
- )
34713
+ ) : post.image.photographer ? /* @__PURE__ */ jsx106("span", { className: "absolute bottom-1.5 right-1.5 text-[9px] text-white/70 bg-black/50 px-1.5 py-0.5 rounded-full", children: post.image.photographer }) : null
34714
34714
  ] }) : /* @__PURE__ */ jsx106("div", { className: "w-full aspect-square rounded-lg bg-[#27272a] flex items-center justify-center", children: /* @__PURE__ */ jsx106("span", { className: "text-[#52525b] text-xs", children: "No image" }) }) }) : /* @__PURE__ */ jsx106("div", { className: "px-4 flex-1", children: loading ? /* @__PURE__ */ jsxs66("div", { className: "rounded-lg bg-[#18181b] px-3 py-3 space-y-2.5 min-h-[140px]", children: [
34715
34715
  /* @__PURE__ */ jsx106("div", { className: "h-3 w-[85%] rounded bg-[#27272a] animate-pulse" }),
34716
34716
  /* @__PURE__ */ jsx106("div", { className: "h-3 w-[70%] rounded bg-[#27272a] animate-pulse" }),
@@ -34835,20 +34835,7 @@ var SocialPostCard = ({
34835
34835
  children: filteredPosts.map((post, idx) => /* @__PURE__ */ jsx107(PlatformPost, { post, loading }, `${post.platform}-${idx}`))
34836
34836
  }
34837
34837
  ),
34838
- filteredPosts.some((p) => p.image) && /* @__PURE__ */ jsxs67("p", { className: "text-[10px] text-zinc-600 text-center", children: [
34839
- "Images provided by",
34840
- " ",
34841
- /* @__PURE__ */ jsx107(
34842
- "a",
34843
- {
34844
- href: "https://unsplash.com/?utm_source=pxengine&utm_medium=referral",
34845
- target: "_blank",
34846
- rel: "noopener noreferrer",
34847
- className: "underline hover:text-zinc-400",
34848
- children: "Unsplash"
34849
- }
34850
- )
34851
- ] })
34838
+ filteredPosts.some((p) => p.image) && /* @__PURE__ */ jsx107("p", { className: "text-[10px] text-zinc-600 text-center", children: "Images generated by AI" })
34852
34839
  ] });
34853
34840
  };
34854
34841