Reorder video categories displayed on the homepage
Reorders the "Meist Angesehen" video category to appear after "FOLX STADL" in the NetflixGrid component. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 051a65da-1176-4478-a61c-c662f2a15536 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/051a65da-1176-4478-a61c-c662f2a15536/9NQBiz8
This commit is contained in:
parent
21bc648048
commit
b8a6f41d3e
@ -94,14 +94,14 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
|||||||
return result;
|
return result;
|
||||||
})()
|
})()
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: "Meist Angesehen",
|
|
||||||
videos: sortedByViews.slice(0, 10)
|
|
||||||
},
|
|
||||||
...(folxStadlVideos.length > 0 ? [{
|
...(folxStadlVideos.length > 0 ? [{
|
||||||
title: "FOLX STADL",
|
title: "FOLX STADL",
|
||||||
videos: folxStadlVideos.slice(0, 12)
|
videos: folxStadlVideos.slice(0, 12)
|
||||||
}] : []),
|
}] : []),
|
||||||
|
{
|
||||||
|
title: "Meist Angesehen",
|
||||||
|
videos: sortedByViews.slice(0, 10)
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "Trending Now",
|
title: "Trending Now",
|
||||||
videos: videos.slice(0, 12)
|
videos: videos.slice(0, 12)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user