This commit is contained in:
f4ilji
2025-01-11 13:28:38 +05:00
parent 1d6ff295d1
commit 34a4516273
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -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
v-for="(item, index) in items"
:key="index"
class="w-full"
class="w-full h-[500px] overflow-hidden relative"
: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
@click="openLightboxOnSlide(index + 1)"
: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>
@@ -32,10 +33,7 @@
{{ block.data.alt }}
</figcaption>
<FsLightbox class="" :slide="slide" :toggler="toggler" :sources="items.map(item => domainPath + '/storage/' + item)"/>
</template>
<script>
@@ -83,3 +81,9 @@ export default {
},
};
</script>
<style scoped>
.blur-lg {
filter: blur(20px);
}
</style>