import { ICONS, type StreamingLink } from "@/lib/release"; import { TrptkLogo } from "../icons/TrptkLogo"; import { IconButtonLink } from "@/components/IconButton"; type Props = { releaseName?: string; links: StreamingLink[]; }; function StreamingLinkButton({ link, isFirst, }: { link: StreamingLink; isFirst?: boolean; }) { const Icon = ICONS[link.icon]; return ( {isFirst ? : } ); } export function StreamingLinks({ releaseName, links }: Props) { if (links.length === 0) return

No streaming links yet.

; return (

Listen to or buy {releaseName} on:

{links.map((l, idx) => ( ))}
); }