Skip to content

Commit

Permalink
fix import gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Nov 10, 2023
1 parent bb7d10c commit 5319f91
Showing 1 changed file with 2 additions and 30 deletions.
32 changes: 2 additions & 30 deletions resources/js/Pages/Public/Projects/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,36 +232,7 @@
v-html="video?.html"
/>
</div>
<Vue3PictureSwipe
:items="project.swipe_gallery"
:options="{ mainClass: 'grid sm:grid-cols-1 gap-2 lg:grid-cols-4 mt-10' }"
class="mt-10"
></Vue3PictureSwipe>
<!-- <div-->
<!-- v-for="(image, index) in project.gallery"-->
<!-- :class="{-->
<!-- 'h-full overflow-hidden rounded-lg group aspect-h-1 aspect-w-2 sm:aspect-h-3 sm:row-span-2' : ((index+1)%2===0),-->
<!-- 'overflow-hidden rounded-lg group aspect-h-1 aspect-w-2 sm:aspect-none sm:relative sm:h-full' : ((index)+1%2===1),-->
<!-- }"-->
<!-- :key="index"-->
<!-- >-->
<!-- <img-->
<!-- :src="image.url"-->
<!-- alt=""-->
<!-- :class="{-->
<!-- 'object-cover object-center group-hover:opacity-75': (index+1)%2===0,-->
<!-- 'object-cover object-center group-hover:opacity-75 sm:absolute sm:inset-0 sm:h-full sm:w-full': (index+1)%2===1-->
<!-- }"-->
<!-- />-->
<!-- </div>-->
<!-- <img v-for="(images,index) in project.gallery"-->
<!-- :key="index"-->
<!-- :src="images.url"-->
<!-- alt=""-->
<!-- class="object-cover object-center group-hover:opacity-75"-->
<!-- />-->
<Gallery :images="project.swipe_gallery" class="mt-10" />
</div>
</div>
</div>
Expand Down Expand Up @@ -317,6 +288,7 @@
import LargeSquarePattern from '@/Components/patterns/LargeSquarePattern.vue';
import { ExternalLinkIcon } from '@heroicons/vue/outline';
import Gallery from "@/Components/Gallery.vue";
const props = defineProps({
project: {
Expand Down

0 comments on commit 5319f91

Please sign in to comment.