|
|
|
@ -49,14 +49,15 @@ const ProductDesign = ({ |
|
|
|
|
}) => { |
|
|
|
|
const [isHovering, setIsHovering] = useState(false); |
|
|
|
|
return ( |
|
|
|
|
<div className={`flex flex-wrap sm:flex-nowrap justify-around ${big ? 'm-1' : 'w-48 m-2'} `} |
|
|
|
|
<div className={`flex flex-wrap sm:flex-nowrap justify-around ${big ? 'm' : 'w-48 m-2'} `} |
|
|
|
|
style={big ? {width: '300px'} : {}} |
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
<div className="w-full flex flex-wrap items-center justify-around my-5 px-4" onMouseEnter={() => setIsHovering(true)} |
|
|
|
|
onMouseLeave={() => setIsHovering(false)}> |
|
|
|
|
<div className="w-full flex flex-wrap items-center justify-around my-5 px-4" > |
|
|
|
|
<div |
|
|
|
|
className={`w-full sm:w-60 md:w-72 ${big ? '' : 'mx-5'} rounded-lg transition-all p-2 my-3 ${productHolderBorder} ${hoverMode == 'blue' ? 'hover:bg-grayF4' : null} ${productHolderBorderColor} hover:${productHolderHoverBorder}`} |
|
|
|
|
onMouseEnter={() => setIsHovering(true)} |
|
|
|
|
onMouseLeave={() => setIsHovering(false)} |
|
|
|
|
> |
|
|
|
|
{/* product image */} |
|
|
|
|
<div className="w-full relative"> |
|
|
|
|