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:
parent
db4b3c0cf0
commit
72ed9af25c
BIN
attached_assets/image_1756484767870.png
Normal file
BIN
attached_assets/image_1756484767870.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
@ -109,14 +109,17 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="space-y-12">
|
<div className="space-y-12 relative z-10">
|
||||||
{categories.map((category, categoryIndex) => (
|
{categories.map((category, categoryIndex) => {
|
||||||
<CategoryRow
|
console.log(`Rendering category ${categoryIndex}: ${category.title} with ${category.videos.length} videos`);
|
||||||
key={categoryIndex}
|
return (
|
||||||
category={category}
|
<CategoryRow
|
||||||
onVideoClick={handleVideoClick}
|
key={categoryIndex}
|
||||||
/>
|
category={category}
|
||||||
))}
|
onVideoClick={handleVideoClick}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<BunnyVideoModal
|
<BunnyVideoModal
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user