feat: Add open in podcast-app button
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
33dbdfefcc
commit
800f8cb32d
|
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue