@ -77,7 +77,7 @@ const ProductDesign = ({
if ( catId == 1 ) {
return (
< div className = { ` flex flex-col pt-4 text-right rounded-xl justify-start w-full m-4 border border-red82OP ${ isMobile && 'w-11/12' } ` }
< div className = { ` flex flex-col cursor-pointer pt-4 text-right rounded-xl justify-start w-full m-4 border border-red82OP ${ isMobile && 'w-11/12' } ` }
style = { { width : ! isMobile && '375px' , direction : 'rtl' } }
onClick = { onClick }
>
@ -104,7 +104,7 @@ const ProductDesign = ({
< div className = "flex p-4 justify-between items-center" >
< h1 className = "font-black text-xl text-red52" > { productPrice } تومان < / h 1 >
< div
className = { ` bg-pinkF5 text-red26 w-32 border-2 border-red52 px-1 py-2 text-xs flex justify-center hover:bg-red52 hover:text-white
className = { ` bg-pinkF5 text-red26 rounded-md w-32 border-2 border-red52 px-1 py-2 text-xs flex justify-center hover:bg-red52 hover:text-white
` }
>
< button className = "z-3" onClick = { btnOnClick } > افزودن به سبد خرید < / b u t t o n >
@ -121,7 +121,7 @@ const ProductDesign = ({
}
if ( catId == 2 ) {
return (
< div className = "w-full flex justify-center" >
< div className = "w-full flex justify-center" >
< div className = { ` flex ${ isMobile ? 'flex-col w-11/12 border-red52' : 'border-red82OP pt-4' } border my-4 rounded-lg ` } style = { { width : ! isMobile && '90%' } } >
< div className = { ` ${ isMobile ? 'w-full h-24 ' : 'w-60 p-4 flex items-center justify-center' } ` } >
{ /* image */ }
@ -173,7 +173,7 @@ const ProductDesign = ({
< div className = { ` flex px-4 ${ isMobile ? 'w-full border-red82OP border-t' : 'w-2/5 py-4' } justify-between items-center ` } >
< h1 className = { ` ${ isMobile && 'w-1/2 h-full flex items-center py-4 border-l border-red82OP' } font-black text-xl text-red52 ` } > { productPrice } تومان < / h 1 >
< div
className = { ` bg-pinkF5 text-red26 w-32 border-2 border-red52 px-1 py-2 text-xs flex justify-center hover:bg-red52 hover:text-white
className = { ` bg-pinkF5 rounded-md text-red26 w-32 border-2 border-red52 px-1 py-2 text-xs flex justify-center hover:bg-red52 hover:text-white
` }
>
< button onClick = { btnOnClick } > رزرو پیش ثبت نام < / b u t t o n >
@ -190,7 +190,7 @@ const ProductDesign = ({
}
if ( catId == 3 ) {
return (
< div className = { ` flex flex-col pt-4 text-right rounded-xl justify-start w-full m-4 border border-red82OP ${ isMobile && 'w-11/12' } ` }
< div className = { ` flex cursor-pointer flex-col pt-4 text-right rounded-xl justify-start w-full m-4 border border-red82OP ${ isMobile && 'w-11/12' } ` }
style = { { width : ! isMobile && '375px' , direction : 'rtl' } }
>
@ -233,7 +233,7 @@ const ProductDesign = ({
< div className = "flex p-4 justify-between items-center" >
< h1 className = "font-black text-xl text-red52" > { productPrice } تومان < / h 1 >
< div
className = { ` bg-pinkF5 text-red26 w-32 border-2 border-red52 px-1 py-2 text-xs flex justify-center hover:bg-red52 hover:text-white
className = { ` bg-pinkF5 text-red26 w-32 border-2 rounded-md border-red52 px-1 py-2 text-xs flex justify-center hover:bg-red52 hover:text-white
` }
>
< button onClick = { btnOnClick } > افزودن به سبد خرید < / b u t t o n >
@ -249,7 +249,7 @@ const ProductDesign = ({
}
if ( catId == 4 ) {
return (
< div className = { ` flex flex-col text-right rounded-xl justify-start w-full m-4 border border-red82OP ${ isMobile && 'w-11/12' } ` }
< div className = { ` flex flex-col cursor-pointer text-right rounded-xl justify-start w-full m-4 border border-red82OP ${ isMobile && 'w-11/12' } ` }
style = { { width : ! isMobile && '375px' , direction : 'rtl' } }
>
@ -270,7 +270,7 @@ const ProductDesign = ({
< h1 className = { ` font-black text-xl py-4 text-red52 ${ isMobile && 'w-1/2 border-l border-red82OP text-center' } ` } > { productPrice } تومان < / h 1 >
< div
className = { ` bg- ${ isMobile ? 'blueFF border-blueDF rounded-lg py-3' : 'pinkF5 border-red52 py-2' } text-red26 w-32 border-2 px-1 text-xs flex justify-center hover:bg-red52 hover:text-white
className = { ` bg- ${ isMobile ? 'blueFF border-blueDF rounded-lg py-3' : 'pinkF5 border-red52 py-2' } rounded-md text-red26 w-32 border-2 px-1 text-xs flex justify-center hover:bg-red52 hover:text-white
` }
>
< button onClick = { btnOnClick } > افزودن به سبد خرید < / b u t t o n >