Added series page and scene page section, no overview (yet).

This commit is contained in:
2024-06-02 00:30:56 +02:00
parent eb2807d0e0
commit 5cfab6c9ca
12 changed files with 988 additions and 27 deletions

15
src/media.js Normal file
View File

@@ -0,0 +1,15 @@
export function curateMedia(media) {
if (!media) {
return null;
}
return {
id: media.id,
path: media.path,
thumbnail: media.thumbnail,
lazy: media.lazy,
isS3: media.is_s3,
width: media.width,
height: media.height,
};
}