mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
26 lines
633 B
Plaintext
26 lines
633 B
Plaintext
---
|
|
import Link from './Link.astro';
|
|
|
|
export interface Props {
|
|
class?: string;
|
|
id: string;
|
|
[key: string]: any;
|
|
}
|
|
|
|
const { class: className, id, ...props } = Astro.props;
|
|
---
|
|
|
|
<Link
|
|
class:list={[
|
|
'rounded-1 border-1 border-solid border-gray-600 bg-black font-mono text-[0.7em] text-white decoration-0 pli-[0.3em] pbe-0 pbs-[0.1em] print:border-gray-500 print:bg-transparent',
|
|
className,
|
|
]}
|
|
data-umami-event={`Apple TV+: ${id}`}
|
|
href={`https://tv.apple.com/show/umc.cmc.${id}`}
|
|
title="Apple TV+"
|
|
{...props}
|
|
><span class="hidden" aria-hidden="true">[</span><span class="hidden" aria-hidden="true"
|
|
>]</span
|
|
></Link
|
|
>
|