Changes
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
* * * * * root /usr/local/bin/php /var/www/artisan schedule:run >> /var/log/cron.log 2>&1
|
* * * * * /usr/local/bin/php /var/www/artisan schedule:run >> /var/log/cron.log 2>&1
|
||||||
|
|||||||
@@ -4,13 +4,14 @@
|
|||||||
<div
|
<div
|
||||||
v-for="(item, index) in items"
|
v-for="(item, index) in items"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="w-full"
|
class="w-full h-[500px] overflow-hidden relative"
|
||||||
:class="{ 'block': currentIndex === index, 'hidden': currentIndex !== index }"
|
:class="{ 'block': currentIndex === index, 'hidden': currentIndex !== index }"
|
||||||
>
|
>
|
||||||
|
<div class="absolute inset-0 bg-cover bg-center blur-lg" :style="{ backgroundImage: 'url(/storage/' + item + ')' }"></div>
|
||||||
<img
|
<img
|
||||||
@click="openLightboxOnSlide(index + 1)"
|
@click="openLightboxOnSlide(index + 1)"
|
||||||
:src="'/storage/' + item"
|
:src="'/storage/' + item"
|
||||||
class="mx-auto max-h-[500px] object-cover rounded-md hover:opacity-95 hover:duration-200 transition"
|
class="absolute inset-0 w-full h-full object-cover rounded-md hover:opacity-95 hover:duration-200 transition"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -32,10 +33,7 @@
|
|||||||
{{ block.data.alt }}
|
{{ block.data.alt }}
|
||||||
</figcaption>
|
</figcaption>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<FsLightbox class="" :slide="slide" :toggler="toggler" :sources="items.map(item => domainPath + '/storage/' + item)"/>
|
<FsLightbox class="" :slide="slide" :toggler="toggler" :sources="items.map(item => domainPath + '/storage/' + item)"/>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -83,3 +81,9 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.blur-lg {
|
||||||
|
filter: blur(20px);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user