Add categories into all products page and complete translation of that page

This commit is contained in:
Daniele Pancottini
2023-02-05 13:07:25 +01:00
parent 59f6c63ce3
commit c211bff2ad
7 changed files with 115 additions and 158 deletions

View File

@@ -43,7 +43,7 @@ const ProductCard: FC<Props> = ({
return (
<Link href={`/product/${product.slug}`}>
<a className={rootClassName} aria-label={product.name} onMouseLeave={() => setIsHover(false)} onMouseEnter={() => setIsHover(true)}>
<a className={rootClassName} aria-label={product.name} onMouseOut={() => setIsHover(false)} onMouseOver={() => setIsHover(true)}>
{variant === 'slim' && !isHover && (
<>
<div className={s.header}>
@@ -128,9 +128,6 @@ const ProductCard: FC<Props> = ({
p={6}
w={'full'}
bg={useColorModeValue('white', 'gray.800')}
boxShadow={'2xl'}
rounded={'lg'}
pos={'relative'}
zIndex={1}>
{process.env.COMMERCE_WISHLIST_ENABLED && (
<WishlistButton