From 8c9df8151aad5abe440d4cfc29e3514ed9283405 Mon Sep 17 00:00:00 2001 From: shafi54 <108669266+shafi-aviz@users.noreply.github.com> Date: Sat, 4 Jul 2026 15:46:18 +0530 Subject: [PATCH] enh --- apps/web-ui/src/routes/home.product.$id.tsx | 3 +++ apps/web-ui/src/routes/home.search.tsx | 3 +++ apps/web-ui/src/routes/stores.$storeId.tsx | 3 +++ 3 files changed, 9 insertions(+) diff --git a/apps/web-ui/src/routes/home.product.$id.tsx b/apps/web-ui/src/routes/home.product.$id.tsx index d9516f2..46f4824 100644 --- a/apps/web-ui/src/routes/home.product.$id.tsx +++ b/apps/web-ui/src/routes/home.product.$id.tsx @@ -12,6 +12,7 @@ import dayjs from 'dayjs' import { ChevronLeft, Star, Zap, Truck, Store, Package, Plus, Clock, AlertCircle } from 'lucide-react' import { Dialog } from '../components/Dialog' import { FloatingCartBar } from '../components/FloatingCartBar' +import AddToCartDialog from '../components/AddToCartDialog' import { AppLayout } from '../components/AppLayout' export const Route = createFileRoute('/home/product/$id')({ @@ -432,6 +433,8 @@ function ProductDetailPage() { {/* Floating Cart Bar */} + + ) diff --git a/apps/web-ui/src/routes/home.search.tsx b/apps/web-ui/src/routes/home.search.tsx index 87dd754..49ce210 100644 --- a/apps/web-ui/src/routes/home.search.tsx +++ b/apps/web-ui/src/routes/home.search.tsx @@ -6,6 +6,7 @@ import { p, SearchBar, div } from 'web-components' import { ProductCard } from '../components/ProductCard' import { SearchX, Loader2, ChevronLeft } from 'lucide-react' import { AppLayout } from '../components/AppLayout' +import AddToCartDialog from '../components/AddToCartDialog' import { useCartStore } from '../lib/stores/cart-store' export const Route = createFileRoute('/home/search')({ @@ -175,6 +176,8 @@ function SearchPage() { )} + + ) } diff --git a/apps/web-ui/src/routes/stores.$storeId.tsx b/apps/web-ui/src/routes/stores.$storeId.tsx index b0fb9a3..078b4ea 100644 --- a/apps/web-ui/src/routes/stores.$storeId.tsx +++ b/apps/web-ui/src/routes/stores.$storeId.tsx @@ -3,6 +3,7 @@ import { useStoreWithProducts, useAllProducts } from '../hooks/prominent-api-hoo import { useState, useMemo } from 'react' import { p } from 'web-components' import { AppLayout } from '../components/AppLayout' +import AddToCartDialog from '../components/AddToCartDialog' import { ProductCard } from '../components/ProductCard' import { usePopulateCentralStores } from '../hooks/usePopulateCentralStores' import { ArrowLeft, Store, X, Grid3X3 } from 'lucide-react' @@ -177,6 +178,8 @@ function StoreDetailPage() { )} + + ) }