From be0cd67e2fda3196dfad916319cea2811fe636e2 Mon Sep 17 00:00:00 2001 From: Bret Little Date: Wed, 11 Dec 2024 13:11:55 -0500 Subject: [PATCH] Add testing framework --- app/components/Cart.tsx | 2 +- app/components/FeaturedCollections.tsx | 6 +++++- app/components/Hero.tsx | 6 +++++- app/components/PageLayout.tsx | 2 ++ app/components/ProductCard.tsx | 2 ++ app/routes/($locale).collections._index.tsx | 1 + 6 files changed, 16 insertions(+), 3 deletions(-) diff --git a/app/components/Cart.tsx b/app/components/Cart.tsx index 3befd69..38e8ac4 100644 --- a/app/components/Cart.tsx +++ b/app/components/Cart.tsx @@ -188,7 +188,7 @@ function CartCheckoutActions({checkoutUrl}: {checkoutUrl: string}) { return (
- + diff --git a/app/components/FeaturedCollections.tsx b/app/components/FeaturedCollections.tsx index 9ea1470..afa53c6 100644 --- a/app/components/FeaturedCollections.tsx +++ b/app/components/FeaturedCollections.tsx @@ -25,7 +25,11 @@ export function FeaturedCollections({ {collectionsWithImage.map((collection) => { return ( - +
{collection?.image && ( diff --git a/app/components/Hero.tsx b/app/components/Hero.tsx index 1461647..4ac811c 100644 --- a/app/components/Hero.tsx +++ b/app/components/Hero.tsx @@ -31,7 +31,11 @@ export function Hero({ top, }: HeroProps) { return ( - +
{BadgeCounter} @@ -400,6 +401,7 @@ function Badge({ ) : ( {BadgeCounter} diff --git a/app/components/ProductCard.tsx b/app/components/ProductCard.tsx index 3c3ac10..5a815dd 100644 --- a/app/components/ProductCard.tsx +++ b/app/components/ProductCard.tsx @@ -48,6 +48,7 @@ export function ProductCard({ return (
{quickAdd && firstVariant.availableForSale && (