import React from 'react' import { useContent } from '../hooks/useContent' import { formatDate } from '../utils/formatDate' import { ExternalLink } from 'lucide-react' import SEOHead from '../components/SEOHead' export default function Podcast() { const { items: allEpisodes } = useContent('podcast', { visibility: 'all', pageSize: 100 }) // Group: own show "Almost Intelligent" vs. guest appearances vs. other shows (Einfachbahn-Impulse) const almostIntelligent = allEpisodes.filter(ep => !ep.role || ep.show === 'Almost Intelligent') const guestAppearances = allEpisodes.filter(ep => ep.role === 'guest') const otherShows = allEpisodes.filter(ep => ep.role === 'host' && ep.show !== 'Almost Intelligent') return (

Podcast

Eigener Podcast, Gastauftritte und mehr — zu KI, Transformation und Leadership.

{/* Almost Intelligent */} {almostIntelligent.length > 0 && (

Almost Intelligent

14-tägiger KI-Podcast. Die Brücke zwischen künstlicher und natürlicher Intelligenz.

{almostIntelligent.map(ep => ( ))}
)} {/* Gastauftritte */} {guestAppearances.length > 0 && (

Gastauftritte

Einladungen zu anderen Podcasts und Formaten.

{guestAppearances.map(ep => ( ))}
)} {/* Einfachbahn-Impulse / andere eigene Shows */} {otherShows.length > 0 && (

Weitere Formate

Interne und spezialisierte Podcast-Reihen.

{otherShows.map(ep => ( ))}
)} {allEpisodes.length === 0 &&

Noch keine Episoden veröffentlicht.

}
) } function EpisodeCard({ ep, showHost = false }) { const allLinks = { ...ep.external_links, ...ep.links } const linkEntries = Object.entries(allLinks || {}).filter(([, url]) => url) return (

{ep.title}

{ep.show && showHost && {ep.show}}

{formatDate(ep.date)} {ep.host && showHost && `· ${ep.host}`} {ep.duration && `· ${ep.duration}`}

{ep.description &&

{ep.description}

} {ep.summary && !ep.description &&

{ep.summary}

} {linkEntries.length > 0 && (
{linkEntries.map(([name, url]) => ( {name.charAt(0).toUpperCase() + name.slice(1)} ))}
)}
) }