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

View File

@@ -15,8 +15,8 @@
>
<img
v-if="movie.covers[0]"
:src="movie.covers[0].isS3 ? `https://cdndev.traxxx.me/${movie.covers[0].thumbnail}` : `/media/${movie.covers[0].thumbnail}`"
:style="{ 'background-image': movie.covers[0].isS3 ? `url(https://cdndev.traxxx.me/${movie.covers[0].lazy})` : `url(/media/${movie.covers[0].lazy})` }"
:src="getPath(movie.covers[0], 'thumbnail')"
:style="{ 'background-image': `url(${getPath(movie.covers[0], 'lazy')})` }"
class="thumbnail"
loading="lazy"
>
@@ -119,6 +119,8 @@
import { ref, inject } from 'vue';
import { format } from 'date-fns';
import getPath from '#/src/get-path.js';
import Heart from '#/components/stashes/heart.vue';
const props = defineProps({