Merged scene and movie page banner into single component. Improved movie cover display.

This commit is contained in:
2024-08-29 01:53:26 +02:00
parent 1a389ef843
commit ea3ef0fc1a
6 changed files with 25 additions and 421 deletions

View File

@@ -1,4 +1,4 @@
export function curateMedia(media) {
export function curateMedia(media, context = {}) {
if (!media) {
return null;
}
@@ -13,5 +13,6 @@ export function curateMedia(media) {
height: media.height,
index: media.index,
credit: media.credit,
type: context.type || null,
};
}