diff --git a/src/App.tsx b/src/App.tsx index e43ff30..a8419e5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -14,8 +14,7 @@ import { GlobalSearch } from './components/GlobalSearch' import { EpisodeAudioPlayer } from './components/EpisodeAudioPlayer' import './App.css' -const SPOTIFY_EMBED_URL = - 'https://open.spotify.com/embed/show/0Gq1TzoJOdReSZ1gYQi8Xl?utm_source=generator&theme=0' + const CONSENT_KEY = 'vbn_analytics_consent_choice' const HEADLINER_WIDGET_ID = 'WI_cmou3b4q7000701p0o9qmmcfj' @@ -764,7 +763,7 @@ function PodcastHighlightsSection({ content }: { content: SiteContent }) { ✦ Podcast Highlights{' '} ✦ -
{link.summary}
} + Listen → + > + ) + + if ('external' in dest) { return ( - - {label} + + {inner} ) } - // Otherwise always route to the internal detail page return ( - - {label} + + {inner} ) })} @@ -1613,106 +1624,12 @@ function EpisodeDetailPage({ content }: { content: SiteContent }) { } function EpisodesPage({ content }: { content: SiteContent }) { - const [allEpisodes, setAllEpisodes] = useState{ep.description}
} - -Latest Episode
-{latestEpisode.description}
} - -{content.seriesTitle}
} - {loading - ? loadingSkeleton - : failed || currentEpisodes.length === 0 - ? spotifyFallback - : renderEpisodeCards(currentEpisodes)} +{series.title}
} - {series.description &&{series.description}
} - {loading - ? loadingSkeleton - : episodes.length > 0 - ? renderEpisodeCards(episodes) - : series.listenUrl - ? ( - - Listen to Full Series → - - ) - : null} -