From ce61c60e4280e2faaccf743987232235e2adf580 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Wed, 3 Sep 2025 09:15:01 +0000 Subject: [PATCH] Improve video title and description display on cards and pages Update client-side components (VideoCard, GeschichteLiedPage) to correctly display video titles and descriptions, removing unnecessary splitting of the title field and ensuring descriptions are properly rendered. 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 --- client/src/components/video-card.tsx | 9 +++------ client/src/pages/GeschichteLiedPage.tsx | 6 +----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index 2f78847..a9ce1ac 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -295,11 +295,8 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay

- {video.title.split(' - ')[0] || 'go4.video'} + {video.title}

-

- {video.title.split(' - ')[1] || video.title} -

)} @@ -320,11 +317,11 @@ export default function VideoCard({ video, onClick, className = "", hideOverlay {/* Description with expand/collapse */} - {(video.title.split(' - ')[1] || video.description) && ( + {video.description && (

- {video.title.split(' - ')[1] || video.description || ''} + {video.description || ''}

{!showMoreInfo && (