|
|
|
@ -104,7 +104,8 @@ export const Main = ({ isMobile, |
|
|
|
|
videosData.map((video, index) => ( |
|
|
|
|
<Link |
|
|
|
|
to={"/videos/" + video.id} |
|
|
|
|
className="flex flex-col rounded-md ml-4" |
|
|
|
|
className="flex flex-col rounded-md ml-4 " |
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
<VodProduct
|
|
|
|
|
productTitle={`دوره ی ویدیویی ${video.name}`} |
|
|
|
@ -112,10 +113,14 @@ export const Main = ({ isMobile, |
|
|
|
|
price={video.price} |
|
|
|
|
priceTitle={false} |
|
|
|
|
discountPrice={false} |
|
|
|
|
key={index} |
|
|
|
|
index={index} |
|
|
|
|
minHeight={"250px"} |
|
|
|
|
/> |
|
|
|
|
</Link> |
|
|
|
|
)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</ScrollContainer> |
|
|
|
|
|
|
|
|
|
<div className="w-full flex flex-row flex-wrap mt-0 border-t-2 border-solid border-gray-100 overflow-y-hidden justify-between"> |
|
|
|
@ -136,6 +141,7 @@ export const Main = ({ isMobile, |
|
|
|
|
productCatTextColor='text-blueC0' |
|
|
|
|
productHolderBorder='' |
|
|
|
|
productHolderHoverBorder='shadow-md' |
|
|
|
|
starRate={Math.floor(Math.random() * 5) + 1} |
|
|
|
|
/> |
|
|
|
|
)) |
|
|
|
|
: books?.map((product, index) => ( |
|
|
|
@ -154,6 +160,7 @@ export const Main = ({ isMobile, |
|
|
|
|
productCatTextColor='text-blueC0' |
|
|
|
|
productHolderBorder='' |
|
|
|
|
productHolderHoverBorder='shadow-md' |
|
|
|
|
starRate={Math.floor(Math.random() * 5) + 2} |
|
|
|
|
/> |
|
|
|
|
</Link> |
|
|
|
|
))} |
|
|
|
|