diff --git a/src/components/podcast/EpisodeList.tsx b/src/components/podcast/EpisodeList.tsx index 483a559..e2d51be 100644 --- a/src/components/podcast/EpisodeList.tsx +++ b/src/components/podcast/EpisodeList.tsx @@ -3,6 +3,23 @@ import type { PodcastShow, PodcastEpisode } from "../../types/podcast"; import { getEpisodes } from "../../lib/podcast"; import { usePodcastStore } from "../../stores/podcast"; +function SubscribeButton({ show }: { show: PodcastShow }) { + const subscribed = usePodcastStore((s) => s.isSubscribed(show.feedUrl)); + const { subscribe, unsubscribe } = usePodcastStore.getState(); + return ( + + ); +} + function formatDuration(seconds: number): string { if (!seconds) return ""; const h = Math.floor(seconds / 3600); @@ -60,9 +77,14 @@ export function EpisodeList({ show, onBack }: EpisodeListProps) { onError={(e) => { (e.target as HTMLImageElement).style.display = "none"; }} /> )} -
No subscriptions yet.
+Search for a podcast or browse trending to subscribe.
+