From 46add6e4d5d03de8292c3d926662e7286447e0b3 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 19:51:20 +0000 Subject: [PATCH] Add FOLX STADL videos to the homepage grid Introduce filtering and conditional rendering in NetflixGrid component to display videos with "FOLX STADL" or "FOLXSTADL" in their titles, adding a new section for them if present. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/Sy6XHzr --- client/src/components/netflix-grid.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index e7a4006..3d747fa 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -45,11 +45,20 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime() ); + // FOLX STADL videos + const folxStadlVideos = videos.filter(video => + video.title.includes("FOLX STADL") || video.title.includes("FOLXSTADL") + ); + return [ { title: "Meist Angesehen", videos: sortedByViews.slice(0, 10) }, + ...(folxStadlVideos.length > 0 ? [{ + title: "FOLX STADL", + videos: folxStadlVideos.slice(0, 12) + }] : []), { title: "GDL VIDEO", videos: (() => {