Improve video grid layout and logging for better user experience

Update `netflix-grid.tsx` to adjust grid spacing and add console logs for category rendering, improving debugging and visual presentation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/oSbWwS4
This commit is contained in:
sebastjanartic 2025-08-29 16:27:05 +00:00
parent db4b3c0cf0
commit 72ed9af25c
2 changed files with 11 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

View File

@ -109,14 +109,17 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
return (
<>
<div className="space-y-12">
{categories.map((category, categoryIndex) => (
<CategoryRow
key={categoryIndex}
category={category}
onVideoClick={handleVideoClick}
/>
))}
<div className="space-y-12 relative z-10">
{categories.map((category, categoryIndex) => {
console.log(`Rendering category ${categoryIndex}: ${category.title} with ${category.videos.length} videos`);
return (
<CategoryRow
key={categoryIndex}
category={category}
onVideoClick={handleVideoClick}
/>
);
})}
</div>
<BunnyVideoModal