Changes on album image

This commit is contained in:
2024-10-14 00:25:02 -03:00
parent 19d8322dfc
commit 7280733186
3 changed files with 42 additions and 35 deletions

View File

@@ -135,10 +135,12 @@ export default function AlbumShowcase({
>
<div
onClick={() => setShowSpookyImage(!showSpookyImage)}
className="cursor-pointer *:select-none"
className="*:drag-none cursor-pointer *:select-none"
>
<Swiper>
<SwiperSlide className="shadow-lg">
<SwiperSlide
className={`shadow-lg ${!showSpookyImage ? "swiper-no-swiping" : ""}`}
>
<AlbumImage
entry={entry}
showSpookyImage={showSpookyImage}
@@ -163,7 +165,9 @@ export default function AlbumShowcase({
error={firstImageError}
/>
</SwiperSlide>
<SwiperSlide>
<SwiperSlide
className={`shadow-lg ${!showSpookyImage ? "swiper-no-swiping" : ""}`}
>
<AlbumImage
number={2}
entry={secondEntry}