From 847e2b681003dcfa7d450e30eae403d4c7b9d6af Mon Sep 17 00:00:00 2001 From: Nicholai Date: Mon, 20 Oct 2025 19:02:30 -0600 Subject: [PATCH] feat(flash): change Available Flash from grid to responsive carousel with book buttons --- components/artist-portfolio.tsx | 39 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/components/artist-portfolio.tsx b/components/artist-portfolio.tsx index 481fe954a..417cd1050 100644 --- a/components/artist-portfolio.tsx +++ b/components/artist-portfolio.tsx @@ -8,7 +8,6 @@ import { Instagram, ExternalLink, Loader2 } from "lucide-react" import { useArtist } from "@/hooks/use-artist-data" import { useIsMobile } from "@/hooks/use-mobile" import { type CarouselApi, Carousel, CarouselContent, CarouselItem } from "@/components/ui/carousel" -import { Card } from "@/components/ui/card" import { useFlash } from "@/hooks/use-flash" // Removed mobile filter scroll area @@ -466,29 +465,31 @@ export function ArtistPortfolio({ artistId }: ArtistPortfolioProps) { - {/* Available Flash (both desktop and mobile if items exist) */} + {/* Available Flash (carousel) */} {flashItems && flashItems.length > 0 && (

Available Flash

-
- {flashItems.map((item) => ( - -
- {item.title -
-
-
-
{item.title || 'Flash piece'}
- {item.sizeHint &&
{item.sizeHint}
} + + + {flashItems.map((item) => ( + +
+ {item.title
- -
- - ))} -
+
+
+
{item.title || 'Flash piece'}
+ {item.sizeHint &&
{item.sizeHint}
} +
+ +
+ + ))} + +
)}