feat: enhance actor details page with MovieGallery and Carousel components; implement movie conversion helper for improved movie data handling
This commit is contained in:
@@ -16,7 +16,7 @@ type Props = Movie & {
|
||||
};
|
||||
|
||||
export const MovieCard: FC<Props> = ({
|
||||
layout = "minimal",
|
||||
layout = "aurora",
|
||||
showDayCounter = true,
|
||||
simpleToggle = false,
|
||||
...movie
|
||||
@@ -73,6 +73,8 @@ export const MovieCard: FC<Props> = ({
|
||||
simpleToggle,
|
||||
buttonClass,
|
||||
iconSize,
|
||||
favorite: alreadyInStore?.favorite || movie.favorite,
|
||||
seen: alreadyInStore?.seen || movie.seen,
|
||||
};
|
||||
|
||||
switch (layout) {
|
||||
|
||||
@@ -65,7 +65,7 @@ export const AuroraLayout: FC<AuroraLayoutProps> = ({
|
||||
>
|
||||
<Link href={`/film/${id}`}>
|
||||
<img
|
||||
className="w-full h-full object-cover transition-all duration-700 group-hover:scale-110 group-hover:brightness-110"
|
||||
className="w-full h-full object-cover transition-all duration-700 group-hover:scale-110 group-hover:brightness-110 bg-gradient-to-b from-purple-600/50 to-emerald-600"
|
||||
src={`http://image.tmdb.org/t/p/w342${poster_path}`}
|
||||
alt={title}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user