diff --git a/components/commerce/cart-drawer.tsx b/components/commerce/cart-drawer.tsx index 3cfd16d..a427f84 100644 --- a/components/commerce/cart-drawer.tsx +++ b/components/commerce/cart-drawer.tsx @@ -98,10 +98,10 @@ const CartDrawer: React.FC = () => { return (
{/* Product Image */} -
+
{image ? ( { className="w-full h-full object-cover" /> ) : ( -
+
)} @@ -117,13 +117,13 @@ const CartDrawer: React.FC = () => { {/* Product Details */}
-

+

{item.merchandise.product.title}

{/* Variant Info */} {selectedOptions.length > 0 && ( -
+
{selectedOptions.map((option, index) => ( {option.value} @@ -137,7 +137,7 @@ const CartDrawer: React.FC = () => { {/* Quantity Controls */}
-
+
@@ -204,7 +204,7 @@ const CartDrawer: React.FC = () => {
-
+
Shipping and taxes calculated at checkout
diff --git a/components/commerce/collection-card.tsx b/components/commerce/collection-card.tsx index 3aa3ce5..d2f64ff 100644 --- a/components/commerce/collection-card.tsx +++ b/components/commerce/collection-card.tsx @@ -24,7 +24,7 @@ const CollectionCard: React.FC = ({ collection }) => { {/* Collection Image */} -
+
{collection.image ? ( = ({ collection }) => { className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300" /> ) : ( -
+
)} @@ -40,18 +40,18 @@ const CollectionCard: React.FC = ({ collection }) => { {/* Collection Info */} -

+

{collection.title}

{collection.description && ( -

+

{collection.description.substring(0, 100)} {collection.description.length > 100 ? '...' : ''}

)} -
+
View Collection
diff --git a/components/commerce/collection-detail.tsx b/components/commerce/collection-detail.tsx index b3325ef..65fce92 100644 --- a/components/commerce/collection-detail.tsx +++ b/components/commerce/collection-detail.tsx @@ -64,18 +64,18 @@ const CollectionDetail: React.FC<{ handle?: string }> = ({ handle: handleProp }) return (
-

+

{title}

{products.length === 0 ? (
-
- -

+
+ +

No Products in Collection

-

+

This collection doesn't have any products yet.

diff --git a/components/commerce/collections.tsx b/components/commerce/collections.tsx index 3b04894..a049371 100644 --- a/components/commerce/collections.tsx +++ b/components/commerce/collections.tsx @@ -11,19 +11,19 @@ const Collections: React.FC = () => { return (
-

+

Our Collections

{/* Loading Skeleton */}
{Array.from({ length: 6 }).map((_, index) => ( -
-
+
+
-
-
-
+
+
+
))} @@ -62,12 +62,12 @@ const Collections: React.FC = () => { Our Collections

-
- -

+
+ +

No Collections Found

-

+

Check back later or configure your Shopify store connection.

@@ -79,7 +79,7 @@ const Collections: React.FC = () => { return (
-

+

Our Collections

diff --git a/components/commerce/product-detail/index.tsx b/components/commerce/product-detail/index.tsx index 93078df..1d1c23d 100644 --- a/components/commerce/product-detail/index.tsx +++ b/components/commerce/product-detail/index.tsx @@ -158,7 +158,7 @@ const ProductDetail: React.FC = ({ handle: handleProp }) => } return ( -
+
diff --git a/components/commerce/product-detail/product-detail-gallery.tsx b/components/commerce/product-detail/product-detail-gallery.tsx index cd444c4..64d33d4 100644 --- a/components/commerce/product-detail/product-detail-gallery.tsx +++ b/components/commerce/product-detail/product-detail-gallery.tsx @@ -23,7 +23,7 @@ const ProductDetailGallery: React.FC = ({ return (
{/* Main Image */} -
+
{images.length > 0 ? ( = ({ className="w-full h-full object-cover" /> ) : ( -
+
)} @@ -46,8 +46,8 @@ const ProductDetailGallery: React.FC = ({ onClick={() => setSelectedImage(index)} className={`aspect-square rounded-lg overflow-hidden border-2 transition-colors ${ selectedImage === index - ? 'border-black' - : 'border-gray-200 hover:border-gray-300' + ? 'border-foreground' + : 'border-border hover:border-muted-foreground' }`} > = ({ return (
-

+

{product.title}

{/* Price */}
- + {formatPrice(price)} {hasDiscount && compareAtPrice && ( <> - + {formatPrice(compareAtPrice)} @@ -61,7 +61,7 @@ const ProductDetailInfo: React.FC = ({ {/* Description */} {product.description && ( -
+
{product.descriptionHtml ? (
) : ( @@ -73,7 +73,7 @@ const ProductDetailInfo: React.FC = ({ {/* Product Options */} {product.options.map(option => (
-

-
- -

+
+ +

No Products Found

-

+

Check back later or configure your Shopify store connection.

@@ -190,7 +190,7 @@ const Products: React.FC = ({ return (
-

+

{title}

diff --git a/components/commerce/shop-footer.tsx b/components/commerce/shop-footer.tsx index 452ff07..1b3c369 100644 --- a/components/commerce/shop-footer.tsx +++ b/components/commerce/shop-footer.tsx @@ -2,7 +2,7 @@ import React from 'react'; const Footer: React.FC = () => { return ( -