From 8142601cead9fb16a6311c4a90e533fd5b6253f0 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 17:27:39 +0000 Subject: [PATCH] Improve the display of video categories and cards for better visual presentation Refactors the `CategoryRow` component to simplify its structure, removing hover effects and navigation arrows while adjusting the styling of category titles and video cards for a cleaner layout. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/3f1nxbo --- client/src/components/netflix-grid.tsx | 42 +++----------------------- 1 file changed, 5 insertions(+), 37 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index a1dba5f..0045089 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -237,17 +237,16 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate return (
setClickedVideoId(null)} > -

+

{category.title}

-
+
{/* Scrollable video row - true edge to edge */}
(
setClickedVideoId(video.id)} + className="flex-shrink-0 w-[280px]" > - {/* Top 10 Number overlay for first category */} - {category.title.includes("Meistgesehen") && index < 10 && clickedVideoId !== video.id && ( -
- {index + 1} -
- )} { setClickedVideoId(video.id); onVideoClick(video); }} - className="w-full hover:scale-102 hover:z-50 transition-all duration-300 group-hover:shadow-2xl rounded-lg overflow-hidden" + className="w-full rounded-lg overflow-hidden" />
))}
- - {/* Navigation arrows - black circles */} -
- -
-
- -
);