diff --git a/src/components/nostr/kinds/ZapstoreAppRenderer.tsx b/src/components/nostr/kinds/ZapstoreAppRenderer.tsx
index 70fd630..5a1aebf 100644
--- a/src/components/nostr/kinds/ZapstoreAppRenderer.tsx
+++ b/src/components/nostr/kinds/ZapstoreAppRenderer.tsx
@@ -20,26 +20,56 @@ import {
import type { Platform } from "@/lib/zapstore-helpers";
/**
- * Platform icon component
+ * Platform icon component with label
*/
function PlatformIcon({ platform }: { platform: Platform }) {
const iconClass = "size-4 text-muted-foreground";
- switch (platform) {
- case "android":
- return ;
- case "ios":
- return ;
- case "web":
- return ;
- case "macos":
- return ;
- case "windows":
- case "linux":
- return ;
- default:
- return null;
- }
+ const getPlatformLabel = () => {
+ switch (platform) {
+ case "android":
+ return "Android";
+ case "ios":
+ return "iOS";
+ case "web":
+ return "Web";
+ case "macos":
+ return "macOS";
+ case "windows":
+ return "Windows";
+ case "linux":
+ return "Linux";
+ default:
+ return platform;
+ }
+ };
+
+ const getIcon = () => {
+ switch (platform) {
+ case "android":
+ return ;
+ case "ios":
+ return ;
+ case "web":
+ return ;
+ case "macos":
+ return ;
+ case "windows":
+ case "linux":
+ return ;
+ default:
+ return null;
+ }
+ };
+
+ return (
+
+ {getIcon()}
+
+ {getPlatformLabel()}
+
+
+ );
}
/**
diff --git a/src/components/nostr/kinds/ZapstoreReleaseRenderer.tsx b/src/components/nostr/kinds/ZapstoreReleaseRenderer.tsx
index c3cdaf8..7ac22bb 100644
--- a/src/components/nostr/kinds/ZapstoreReleaseRenderer.tsx
+++ b/src/components/nostr/kinds/ZapstoreReleaseRenderer.tsx
@@ -42,51 +42,43 @@ export function ZapstoreReleaseRenderer({ event }: BaseEventProps) {
return (
-
- {/* Icon */}
-
+
+ {/* Title */}
+
+ {appName && `${appName} `}
+ {version && (
+
+ v{version}
+
+ )}
+
- {/* Release Info */}
-
- {/* Title */}
-
- {appName && `${appName} `}
- {version && (
-
- v{version}
-
- )}
-
+ {/* Links */}
+
+ {/* App Link */}
+ {appName && (
+
+ )}
- {/* Links */}
-
- {/* App Link */}
- {appName && (
-
- )}
-
- {/* File Link */}
- {fileEventId && (
-
- )}
-
+ {/* File Link */}
+ {fileEventId && (
+
+ )}
diff --git a/src/components/nostr/kinds/index.tsx b/src/components/nostr/kinds/index.tsx
index afaf6a4..80441e4 100644
--- a/src/components/nostr/kinds/index.tsx
+++ b/src/components/nostr/kinds/index.tsx
@@ -100,8 +100,8 @@ const kindRenderers: Record
> = {
30002: GenericRelayListRenderer, // Relay Sets (NIP-51)
30023: Kind30023Renderer, // Long-form Article
30030: EmojiSetRenderer, // Emoji Sets (NIP-30)
- 30063: ZapstoreReleaseRenderer, // App Release (Zapstore)
- 30267: ZapstoreAppSetRenderer, // App Curation Set (Zapstore)
+ 30063: ZapstoreReleaseRenderer, // Zapstore App Release
+ 30267: ZapstoreAppSetRenderer, // Zapstore App Collection
30311: LiveActivityRenderer, // Live Streaming Event (NIP-53)
34235: Kind21Renderer, // Horizontal Video (NIP-71 legacy)
34236: Kind22Renderer, // Vertical Video (NIP-71 legacy)
@@ -113,7 +113,7 @@ const kindRenderers: Record> = {
31923: CalendarTimeEventRenderer, // Time-Based Calendar Event (NIP-52)
31989: HandlerRecommendationRenderer, // Handler Recommendation (NIP-89)
31990: ApplicationHandlerRenderer, // Application Handler (NIP-89)
- 32267: ZapstoreAppRenderer, // App Metadata (Zapstore)
+ 32267: ZapstoreAppRenderer, // Zapstore App
39701: Kind39701Renderer, // Web Bookmarks (NIP-B0)
};
@@ -168,8 +168,8 @@ const detailRenderers: Record<
777: SpellDetailRenderer, // Spell Detail
30023: Kind30023DetailRenderer, // Long-form Article Detail
30030: EmojiSetDetailRenderer, // Emoji Sets Detail (NIP-30)
- 30063: ZapstoreReleaseDetailRenderer, // App Release Detail (Zapstore)
- 30267: ZapstoreAppSetDetailRenderer, // App Curation Set Detail (Zapstore)
+ 30063: ZapstoreReleaseDetailRenderer, // Zapstore App Release Detail
+ 30267: ZapstoreAppSetDetailRenderer, // Zapstore App Collection Detail
30311: LiveActivityDetailRenderer, // Live Streaming Event Detail (NIP-53)
30617: RepositoryDetailRenderer, // Repository Detail (NIP-34)
30618: RepositoryStateDetailRenderer, // Repository State Detail (NIP-34)
@@ -179,7 +179,7 @@ const detailRenderers: Record<
31923: CalendarTimeEventDetailRenderer, // Time-Based Calendar Event Detail (NIP-52)
31989: HandlerRecommendationDetailRenderer, // Handler Recommendation Detail (NIP-89)
31990: ApplicationHandlerDetailRenderer, // Application Handler Detail (NIP-89)
- 32267: ZapstoreAppDetailRenderer, // App Metadata Detail (Zapstore)
+ 32267: ZapstoreAppDetailRenderer, // Zapstore App Detail
};
/**