diff --git a/src/components/ProductCard.tsx b/src/components/ProductCard.tsx index a24ba42..95f6689 100644 --- a/src/components/ProductCard.tsx +++ b/src/components/ProductCard.tsx @@ -16,40 +16,64 @@ export default function ProductCard({ const isNew = Date.now() - new Date(product.createdAt).getTime() < NEW_WINDOW_MS; return ( - -
- {isNew && ( - - New - - )} - {product.onSale && ( - - Sale - - )} -
+ + {/* Image Container - Top 2/3 */} +
+
{thumbnail ? ( {product.name} ) : ( -
+
)}
+ + {/* Badges */} +
+ {isNew && ( + + New + + )} + {product.onSale && ( + + Sale + + )} +
-
- {product.onSale && product.originalPrice != null && ( - - )} - + + {/* Info Container - Bottom 1/3 */} +
+

+ {product.name} +

+ + {/* Price */} +
+ {product.onSale && product.originalPrice != null && ( + + )} + +
+ + {/* CTA */} +
+ + Explore → + +
);