|
|
@ -224,7 +224,7 @@ const ProductDesign = ({ |
|
|
|
{/* add to cart */} |
|
|
|
{/* add to cart */} |
|
|
|
{addToCartHolder && ( |
|
|
|
{addToCartHolder && ( |
|
|
|
<button |
|
|
|
<button |
|
|
|
className={`rounded-md px-2 py-3 border text-xs text-productPrice mt-2 hover:bg-darkCrimsonBgColor hover:text-white active:bg-rangeFillBgColor transition duration-500 ${ |
|
|
|
className={`rounded-lg px-2 py-3 border text-xs text-productPrice mt-2 hover:bg-darkCrimsonBgColor hover:text-white active:bg-rangeFillBgColor transition duration-500 ${ |
|
|
|
priceDirection.indexOf("col") !== -1 ? "w-full" : "" |
|
|
|
priceDirection.indexOf("col") !== -1 ? "w-full" : "" |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
|
> |
|
|
|
> |
|
|
@ -258,7 +258,7 @@ const ProductDesign = ({ |
|
|
|
)} |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* dark hover effect */} |
|
|
|
{/* dark hover effect */} |
|
|
|
<div className="absolute right-0 bottom-0 h-full w-full group-hover:bg-black group-hover:rounded group-hover:border transition duration-300 opacity-50"></div> |
|
|
|
<div className="absolute right-0 bottom-0 h-full w-full group-hover:bg-blackBg group-hover:rounded group-hover:border transition duration-300 opacity-50"></div> |
|
|
|
<button className="group-hover:opacity-100 bg-blueBgColor text-white rounded p-2 text-xs absolute left-1/2 bottom-1/2 transform -translate-x-1/2 -translate-y-1/2 opacity-0 transition duration-300"> |
|
|
|
<button className="group-hover:opacity-100 bg-blueBgColor text-white rounded p-2 text-xs absolute left-1/2 bottom-1/2 transform -translate-x-1/2 -translate-y-1/2 opacity-0 transition duration-300"> |
|
|
|
افزودن به سبد خرید |
|
|
|
افزودن به سبد خرید |
|
|
|
</button> |
|
|
|
</button> |
|
|
|