Enhance MovieCard component: add simpleToggle prop to conditionally render favorite button and update vote average display logic for improved user experience. Update Hero component styles for better visual consistency.

This commit is contained in:
Norbert Maciaszek
2025-08-15 17:13:52 +02:00
parent 0ee6fedcf3
commit 54e2e74e3a
3 changed files with 42 additions and 32 deletions

View File

@@ -237,7 +237,7 @@ export const Hero: FC<Props> = ({
className={`w-3 h-3 rounded-full transition-all duration-300 disabled:cursor-not-allowed cursor-pointer ${
index === currentIndex
? "bg-secondary scale-125"
: "bg-secondary/50 hover:bg-secondary/70"
: "bg-white/50 hover:bg-secondary/70"
}`}
/>
))}