Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions resources/views/components/partials/gallery.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@foreach($row1 as $photo)
<div class="overflow-hidden rounded-md" @click="select({{ $loop->index }})">
<img
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105"
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105 aspect-[4/3]"
src="{{ $photo->getUrl("webp") }}"
alt="">
</div>
Expand All @@ -38,7 +38,7 @@ class="h-full w-full cursor-pointer rounded-md object-cover transition-transform
@foreach($row2 as $photo)
<div class="overflow-hidden rounded-md" @click="select({{ $loop->index + 3 }})">
<img
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105"
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105 aspect-[4/3]"
src="{{ $photo->getUrl("webp") }}"
alt="">
</div>
Expand All @@ -48,7 +48,7 @@ class="h-full w-full cursor-pointer rounded-md object-cover transition-transform
@foreach($row3 as $photo)
<div class="overflow-hidden rounded-md" @click="select({{ $loop->index + 6 }})">
<img
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105"
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105 aspect-[4/3]"
src="{{ $photo->getUrl("webp") }}"
alt="">
</div>
Expand All @@ -58,7 +58,7 @@ class="h-full w-full cursor-pointer rounded-md object-cover transition-transform
@foreach($row4 as $photo)
<div class="overflow-hidden rounded-md" @click="select({{ $loop->index + 9 }})">
<img
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105"
class="h-full w-full cursor-pointer rounded-md object-cover transition-transform duration-300 hover:scale-105 aspect-[4/3]"
src="{{ $photo->getUrl("webp") }}"
alt="">
</div>
Expand Down