Display video titles accurately on their respective pages
Update GeschichteLiedPage.tsx to directly render video.title without additional parsing logic. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/OdlP8Wj
This commit is contained in:
parent
e9478bc7a4
commit
3e2c11cf3a
@ -244,11 +244,7 @@ export default function GeschichteLiedPage() {
|
|||||||
|
|
||||||
{/* Video Description */}
|
{/* Video Description */}
|
||||||
<div className="md:col-span-2 space-y-3">
|
<div className="md:col-span-2 space-y-3">
|
||||||
<h3 className="text-xl font-bold text-white">
|
<h3 className="text-xl font-bold text-white">{video.title}</h3>
|
||||||
{video.title.includes(' - ')
|
|
||||||
? video.title.split(' - ')[1] || video.title
|
|
||||||
: video.title}
|
|
||||||
</h3>
|
|
||||||
<p className="text-bunny-light text-sm leading-relaxed">
|
<p className="text-bunny-light text-sm leading-relaxed">
|
||||||
{video.description || "Keine Beschreibung für diese Sendung verfügbar."}
|
{video.description || "Keine Beschreibung für diese Sendung verfügbar."}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user