From 002885090de17feb8c55342b2227a04cabd02dc2 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Sun, 25 Oct 2020 13:29:52 -0300 Subject: [PATCH] Image Pass --- components/core/UserNav/DropdownMenu.tsx | 4 ++-- components/product/ProductCard/ProductCard.tsx | 4 ++-- tailwind.config.js | 9 ++++++++- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/components/core/UserNav/DropdownMenu.tsx b/components/core/UserNav/DropdownMenu.tsx index 1f935657c..241ac08d8 100644 --- a/components/core/UserNav/DropdownMenu.tsx +++ b/components/core/UserNav/DropdownMenu.tsx @@ -40,8 +40,8 @@ const DropdownMenu: FC = ({ open = false }) => { > {LINKS.map(({ name, href }) => ( - - + + {({ active }) => ( {name} )} diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index 0ff4cd56c..6383686b2 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -24,7 +24,7 @@ const ProductCard: FC = ({ imgHeight, priority, }) => { - const src = p.images.edges?.[0]?.node.urlOriginal! + const src = p.images.edges?.[0]?.node.urlLarge! if (variant === 'slim') { return ( @@ -35,7 +35,7 @@ const ProductCard: FC = ({