Reorder video categories displayed on the homepage
Reorder the 'Meist Angesehen' and 'FOLX STADL' video categories to appear after 'GDL VIDEO' and before 'Trending Now' 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
4b46ac1b64
commit
21bc648048
@ -51,14 +51,6 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
);
|
||||
|
||||
return [
|
||||
{
|
||||
title: "Meist Angesehen",
|
||||
videos: sortedByViews.slice(0, 10)
|
||||
},
|
||||
...(folxStadlVideos.length > 0 ? [{
|
||||
title: "FOLX STADL",
|
||||
videos: folxStadlVideos.slice(0, 12)
|
||||
}] : []),
|
||||
{
|
||||
title: "GDL VIDEO",
|
||||
videos: (() => {
|
||||
@ -102,6 +94,14 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
||||
return result;
|
||||
})()
|
||||
},
|
||||
{
|
||||
title: "Meist Angesehen",
|
||||
videos: sortedByViews.slice(0, 10)
|
||||
},
|
||||
...(folxStadlVideos.length > 0 ? [{
|
||||
title: "FOLX STADL",
|
||||
videos: folxStadlVideos.slice(0, 12)
|
||||
}] : []),
|
||||
{
|
||||
title: "Trending Now",
|
||||
videos: videos.slice(0, 12)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user