|
|
@ -235,6 +235,41 @@ const ProductDesign = ({ |
|
|
|
|
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(catId == 4){ |
|
|
|
|
|
|
|
return ( |
|
|
|
|
|
|
|
<div className={`flex flex-col text-right rounded-xl justify-start w-full m-4 border border-red82OP`} |
|
|
|
|
|
|
|
style={{ width: '375px', direction: 'rtl' }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<img src="https://narafella.ir/wp-content/uploads/2021/08/books-min.jpg" className="rounded-t-xl pb-2"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="border-b border-red82OP pb-2 px-4 text-center"> |
|
|
|
|
|
|
|
<h1 className="text-blue5F text-lg font-bold">کتاب {productName}</h1> |
|
|
|
|
|
|
|
<p className="text-blue7E text-sm my-2"> |
|
|
|
|
|
|
|
در این قسمت یک توضیحات کوتاه در مورد دوره خواهد آمد که بصورت دو خط در این قسمت قرار میگیرد |
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="flex p-4 justify-between items-center"> |
|
|
|
|
|
|
|
<h1 className="font-black text-xl text-red52">{productPrice} تومان</h1> |
|
|
|
|
|
|
|
<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
|
|
|
|
|
|
|
|
`}
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<button onClick={btnOnClick}>افزودن به سبد خرید</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
else{ |
|
|
|
else{ |
|
|
|
return <div></div> |
|
|
|
return <div></div> |
|
|
|
} |
|
|
|
} |
|
|
|