Cleanup movie details page

This commit is contained in:
Zoe Roux 2025-07-13 22:18:15 +02:00
parent 3f1c027019
commit 512b378702
No known key found for this signature in database

View File

@ -515,7 +515,7 @@ export const Header = ({
xs: vh(40), xs: vh(40),
sm: min(vh(60), px(750)), sm: min(vh(60), px(750)),
md: min(vh(60), px(680)), md: min(vh(60), px(680)),
lg: vh(70), lg: vh(65),
}, },
}} }}
{...(css({ {...(css({
@ -536,7 +536,7 @@ export const Header = ({
rating={data.rating} rating={data.rating}
runtime={data.kind === "movie" ? data.runtime : null} runtime={data.kind === "movie" ? data.runtime : null}
poster={data.poster} poster={data.poster}
studios={data.kind !== "collection" ? data.studios : null} studios={data.kind !== "collection" ? data.studios! : null}
playHref={data.kind !== "collection" ? data.playHref : null} playHref={data.kind !== "collection" ? data.playHref : null}
trailerUrl={data.kind !== "collection" ? data.trailerUrl : null} trailerUrl={data.kind !== "collection" ? data.trailerUrl : null}
watchStatus={ watchStatus={
@ -551,7 +551,6 @@ export const Header = ({
}, },
})} })}
/> />
</GradientImageBackground>
<Description <Description
description={data?.description} description={data?.description}
genres={data?.genres} genres={data?.genres}
@ -583,6 +582,7 @@ export const Header = ({
/> />
))} ))}
</Container> </Container>
</GradientImageBackground>
{/* {type === "show" && ( */} {/* {type === "show" && ( */}
{/* <ShowWatchStatusCard {...(data?.watchStatus as any)} /> */} {/* <ShowWatchStatusCard {...(data?.watchStatus as any)} /> */}
{/* )} */} {/* )} */}