There was an error while loading. Please reload this page.
1 parent ae97aff commit 77b7418Copy full SHA for 77b7418
1 file changed
src/sections/Venue.astro
@@ -35,9 +35,10 @@ const venuePhotos = [
35
<VenueContent />
36
</Prose>
37
38
- <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mt-12">
+ {/* Mobile: swipeable scroll-snap carousel, peeking edge hints it scrolls */}
39
+ <div class="flex overflow-x-auto snap-x snap-mandatory gap-4 mt-12 sm:grid sm:grid-cols-2">
40
{venuePhotos.map((photo) => (
- <figure class="relative">
41
+ <figure class="relative flex-none w-5/6 snap-start sm:w-full">
42
{/* alt is empty: photo.alt is rendered once below as the visible figcaption, so it's not read twice by screen readers */}
43
<Image
44
src={photo.src}
0 commit comments