feat: Add open in podcast app button (and minor stuff) #29

Merged
timharek merged 5 commits from feature-open-in-podcast-app into main 2024-04-12 12:56:03 +00:00
1 changed files with 12 additions and 4 deletions
Showing only changes of commit 800f8cb32d - Show all commits

View File

@ -10,11 +10,19 @@ export default function SeriesCard(props: { serie: SearchResult; origin: string
<h3 className="text-xl font-semibold">{props.serie.title}</h3>
<p className="text-md">{props.serie.description}</p>
<img src={image.uri} width={image.width} alt="" />
<a
className="block w-max bg-blue-100 text-black p-2 border-black border"
href={`podcast:${feedUrl.toString()}`}
>
📻 Åpne i din podkast-app
</a>
<div className="">
<code className="font-mono bg-black text-white select-all p-2">{feedUrl.toString()}</code>
<CopyButton text={feedUrl.toString()}>
Kopier URL
</CopyButton>
</div>
</div>
</div>
);
}