fix(frontend): show backdrops instead of posters for new person detail design

pull/480/head
sct 4 years ago
parent 1fb7ea7258
commit 9f5f920c23

@ -81,11 +81,11 @@ const PersonDetails: React.FC = () => {
<div className="absolute top-0 left-0 right-0 z-0 h-96"> <div className="absolute top-0 left-0 right-0 z-0 h-96">
<ImageFader <ImageFader
isDarker isDarker
backgroundImages={[...(sortedCrew ?? []), ...(sortedCast ?? [])] backgroundImages={[...(sortedCast ?? []), ...(sortedCrew ?? [])]
.filter((media) => media.posterPath) .filter((media) => media.posterPath)
.map( .map(
(media) => (media) =>
`//image.tmdb.org/t/p/w1920_and_h800_multi_faces/${media.posterPath}` `//image.tmdb.org/t/p/w1920_and_h800_multi_faces/${media.backdropPath}`
) )
.slice(0, 6)} .slice(0, 6)}
/> />

Loading…
Cancel
Save