Update UI text to German for specific categories
Translate category titles "Najbolj gledano" to "Meistgesehen" and "Priljubljeno zdaj" to "Beliebt jetzt" within the NetflixGrid component and adjust conditional rendering logic for the "Top 10" overlay. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/M6U47Dp
This commit is contained in:
parent
a5e1faec99
commit
1caa063eed
@ -54,7 +54,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
title: "Najbolj gledano",
|
title: "Meistgesehen",
|
||||||
videos: sortedByViews.slice(0, 10)
|
videos: sortedByViews.slice(0, 10)
|
||||||
},
|
},
|
||||||
...(folxStadlVideos.length > 0 ? [{
|
...(folxStadlVideos.length > 0 ? [{
|
||||||
@ -105,7 +105,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
|
|||||||
})()
|
})()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Priljubljeno zdaj",
|
title: "Beliebt jetzt",
|
||||||
videos: videos.slice(0, 12)
|
videos: videos.slice(0, 12)
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -257,7 +257,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
|||||||
onMouseEnter={() => setClickedVideoId(video.id)}
|
onMouseEnter={() => setClickedVideoId(video.id)}
|
||||||
>
|
>
|
||||||
{/* Top 10 Number overlay for first category */}
|
{/* Top 10 Number overlay for first category */}
|
||||||
{category.title.includes("Najbolj gledano") && index < 10 && clickedVideoId !== video.id && (
|
{category.title.includes("Meistgesehen") && index < 10 && clickedVideoId !== video.id && (
|
||||||
<div className="absolute top-0 left-2 z-20 text-white font-black text-4xl sm:text-5xl md:text-7xl drop-shadow-2xl transition-opacity duration-300"
|
<div className="absolute top-0 left-2 z-20 text-white font-black text-4xl sm:text-5xl md:text-7xl drop-shadow-2xl transition-opacity duration-300"
|
||||||
style={{
|
style={{
|
||||||
textShadow: '4px 4px 8px rgba(0,0,0,0.8), -2px -2px 4px rgba(0,0,0,0.6)',
|
textShadow: '4px 4px 8px rgba(0,0,0,0.8), -2px -2px 4px rgba(0,0,0,0.6)',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user