From 53458a8372a543e184cfe48e110a8e04cd74b293 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 19:51:53 +0000 Subject: [PATCH] Update home page layout and styling for improved user experience Refactors the home page by replacing the `VideoCard` component with `NetflixGrid`, updating header styling, and modifying input field appearance and positioning. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/iQc0AVS --- client/src/pages/home.tsx | 127 ++++++++++++++++++-------------------- 1 file changed, 60 insertions(+), 67 deletions(-) diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 703de67..494112c 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -1,7 +1,7 @@ import { useState, useEffect } from "react"; import { useQuery } from "@tanstack/react-query"; import { type Video } from "@shared/schema"; -import VideoCard from "@/components/video-card"; +import NetflixGrid from "@/components/netflix-grid"; import { Link } from "wouter"; import { Input } from "@/components/ui/input"; import { Search, Menu, X } from "lucide-react"; @@ -60,33 +60,31 @@ export default function Home() { } }, [searchQuery, refetch]); - const handleVideoClick = (video: Video) => { - window.location.href = `/video/${video.id}`; - }; - return ( -