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