From bfcec08e41764d48b7ee831bb9ea111d8b887b64 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 12 Jan 2026 12:12:03 +0000 Subject: [PATCH] Enlarge video thumbnails in sidebars to match YouTube's style Update `VideoPage.tsx` and `LivePage.tsx` to increase thumbnail dimensions and adjust related text styles for recommended videos in sidebars, improving visual consistency with YouTube's layout. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 401e2ec0-e00d-4f10-9d0e-60f3d479f9a5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 97217df8-1b92-46fd-bcfb-66d80a39e748 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/401e2ec0-e00d-4f10-9d0e-60f3d479f9a5/sfzzZxw --- client/src/pages/LivePage.tsx | 19 ++++++++++--------- client/src/pages/VideoPage.tsx | 19 ++++++++++--------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/client/src/pages/LivePage.tsx b/client/src/pages/LivePage.tsx index ed11ac5..fd30e9e 100644 --- a/client/src/pages/LivePage.tsx +++ b/client/src/pages/LivePage.tsx @@ -484,7 +484,7 @@ export default function LivePage() {

Empfohlene Videos

-
+
{videos.slice(0, 10).map((video: any) => (
-
+
{video.title} -
+
{video.duration ? Math.floor(video.duration / 60) + ':' + String(video.duration % 60).padStart(2, '0') : '0:00'}
-
-

+

{video.title}

-
-
{video.views ? (video.views >= 1000 ? Math.floor(video.views / 1000) + 'K' : video.views) : '0'} views • {video.createdAt ? new Date(video.createdAt).toLocaleDateString('de-DE') : 'Unknown date'}
+
+
{video.views ? (video.views >= 1000 ? Math.floor(video.views / 1000) + 'K' : video.views) : '0'} Aufrufe
+
{video.createdAt ? new Date(video.createdAt).toLocaleDateString('de-DE') : 'Unbekannt'}
diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index d3b70f9..e0e0324 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -782,7 +782,7 @@ export default function VideoPage() {

Empfohlene Videos

-
+
{recommendedVideos.slice(0, 10).map((video) => (
-
+
{video.title} -
+
{formatDuration(video.duration)}
-
-

+

{video.title}

-
-
{formatViews(video.views)} views • {formatDate(video.createdAt)}
+
+
{formatViews(video.views)} Aufrufe
+
{formatDate(video.createdAt)}