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:
@@ -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"
|
||||
}`}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user