diff --git a/client/src/pages/video-detail.tsx b/client/src/pages/video-detail.tsx index 0811ea1..b5f95cf 100644 --- a/client/src/pages/video-detail.tsx +++ b/client/src/pages/video-detail.tsx @@ -1,7 +1,7 @@ import { useState } from "react"; import { useQuery } from "@tanstack/react-query"; import { Link, useRoute } from "wouter"; -import { ArrowLeft, Play, Clock, Youtube } from "lucide-react"; +import { ArrowLeft, Play, Clock, Youtube, FileText } from "lucide-react"; import Header from "@/components/header"; import Footer from "@/components/footer"; import { PageSideAds, TopBannerAd, MultiplexAd } from "@/components/adsense"; @@ -131,16 +131,28 @@ export default function VideoDetailPage() {

)} - - - Ganzes Video auf YouTube ansehen - +
+ + + Ganzes Video auf YouTube ansehen + + {v.articleUrl && ( + + + Ganzen Artikel lesen + + )} +
{v.chapters?.length > 0 && (
@@ -162,16 +174,6 @@ export default function VideoDetailPage() {
)} - {v.articleUrl && ( - - Ganzer Artikel auf folx.tv - - )} - {(v.descriptionClean || v.description) && (

Zum Video

diff --git a/server/static.ts b/server/static.ts index 8133f68..c0c7fc0 100644 --- a/server/static.ts +++ b/server/static.ts @@ -256,7 +256,7 @@ export function serveStatic(app: Express) { `

${escapeHtml(desc)}

`, chapterHtml, `

Das ganze Video auf YouTube ansehen

`, - v.articleUrl ? `

Ganzer Artikel auf folx.tv

` : "", + v.articleUrl ? `

Ganzen Artikel lesen

` : "", descHtml ? `

Zum Video

${descHtml}` : "", "", ].join("\n");