diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 283f2c5..eb57bdd 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -331,7 +331,7 @@ function MobileMosaic({ latest, popular, focalPoints }: { latest: Article[]; pop ); } -interface YtVideo { ytId: string; slug: string; shortTitle?: string; title: string; rubrik?: string; publishedAt?: string; durationS?: number } +interface YtVideo { ytId: string; slug: string; shortTitle?: string; title: string; rubrik?: string; publishedAt?: string; durationS?: number; teaser?: string } // Video kartica v mrezi: enaka velikost kot kartica clanka, da v vrstici ni // luknje. Pelje na /video/, kjer je oglasni prostor, ne na YouTube. @@ -369,9 +369,14 @@ function VideoCard({ video }: { video: YtVideo }) {

{video.shortTitle || video.title}

-

- Jetzt ansehen auf FOLX TV +

+ {(video.teaser || "").replace(/^Musik News aus Schlager & Volksmusik:\s*/i, "") || + "Jetzt ansehen auf FOLX TV"}

+
+ + Video ansehen +