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 5 additions and 3 deletions
Showing only changes of commit 3fbe7d8f7d - Show all commits

View File

@ -14,11 +14,13 @@ export default function SeriesCard(props: { serie: SearchResult; origin: string
<ButtonLink href={`podcast:${feedUrl.toString()}`} className="block"> <ButtonLink href={`podcast:${feedUrl.toString()}`} className="block">
📻 Åpne i din podkast-app 📻 Åpne i din podkast-app
</ButtonLink> </ButtonLink>
<div className=""> <div className="w-full flex">
<code className="font-mono bg-black text-white select-all p-2">{feedUrl.toString()}</code> <CopyButton copyText={feedUrl.toString()} className="whitespace-nowrap">
<CopyButton text={feedUrl.toString()}>
Kopier URL Kopier URL
</CopyButton> </CopyButton>
<pre className="w-full font-mono bg-black text-white select-all p-2 overflow-x-auto">
{feedUrl.toString()}
</pre>
</div> </div>
</div> </div>
</div> </div>