From 1318911070ede7121e9697d70be3c050f72db5e1 Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Tue, 3 Feb 2026 20:34:22 +0000 Subject: [PATCH] Bob AI: Can you add a button to see the entire menu and cr... --- src/components/sections/product/ProductCardTwo.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/sections/product/ProductCardTwo.tsx b/src/components/sections/product/ProductCardTwo.tsx index 91767b7..c970c43 100644 --- a/src/components/sections/product/ProductCardTwo.tsx +++ b/src/components/sections/product/ProductCardTwo.tsx @@ -11,6 +11,7 @@ import type { Product } from "@/lib/api/product"; import type { LucideIcon } from "lucide-react"; import type { ButtonConfig, GridVariant, CardAnimationType, TitleSegment } from "@/components/cardStack/types"; import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants"; +import { useRouter } from "next/navigation"; type ProductCardTwoGridVariant = Exclude; @@ -178,6 +179,7 @@ const ProductCardTwo = ({ const { products: fetchedProducts, isLoading } = useProducts(); const products = (fetchedProducts.length > 0 ? fetchedProducts : productsProp) as ProductCard[]; const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle); + const router = useRouter(); const customGridRows = (gridVariant === "bento-grid" || gridVariant === "bento-grid-inverted") ? "md:grid-rows-[22rem_22rem] 2xl:grid-rows-[26rem_26rem]" @@ -237,6 +239,12 @@ const ProductCardTwo = ({ actionButtonClassName={actionButtonClassName} /> ))} + ); };