mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 15:52:39 +10:00
feat(admin ui): customisable image carousel and new layout
This commit is contained in:
@ -113,13 +113,13 @@
|
||||
</p>
|
||||
<div class="mt-6 py-4 rounded">
|
||||
<VueCarousel :items-to-show="1">
|
||||
<VueSlide v-for="image in game.mImageLibrary" :key="image">
|
||||
<VueSlide v-for="image in game.mImageCarousel" :key="image">
|
||||
<img
|
||||
class="w-fit h-48 lg:h-96 rounded"
|
||||
:src="useObject(image)"
|
||||
/>
|
||||
</VueSlide>
|
||||
<VueSlide v-if="game.mImageLibrary.length == 0">
|
||||
<VueSlide v-if="game.mImageCarousel.length == 0">
|
||||
<div class="h-48 lg:h-96 aspect-[1/2] flex items-center justify-center text-zinc-700 font-bold font-display">
|
||||
No images
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user