|
|
@ -105,6 +105,7 @@ export const Main = ({ isMobile, |
|
|
|
<Link |
|
|
|
<Link |
|
|
|
to={"/videos/" + video.id} |
|
|
|
to={"/videos/" + video.id} |
|
|
|
className="flex flex-col rounded-md ml-4 " |
|
|
|
className="flex flex-col rounded-md ml-4 " |
|
|
|
|
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
<VodProduct
|
|
|
|
<VodProduct
|
|
|
|
productTitle={`دوره ی ویدیویی ${video.name}`} |
|
|
|
productTitle={`دوره ی ویدیویی ${video.name}`} |
|
|
@ -112,10 +113,14 @@ export const Main = ({ isMobile, |
|
|
|
price={video.price} |
|
|
|
price={video.price} |
|
|
|
priceTitle={false} |
|
|
|
priceTitle={false} |
|
|
|
discountPrice={false} |
|
|
|
discountPrice={false} |
|
|
|
|
|
|
|
key={index} |
|
|
|
|
|
|
|
index={index} |
|
|
|
|
|
|
|
minHeight={"250px"} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Link> |
|
|
|
</Link> |
|
|
|
)) |
|
|
|
)) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</ScrollContainer> |
|
|
|
</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"> |
|
|
|
<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' |
|
|
|
productCatTextColor='text-blueC0' |
|
|
|
productHolderBorder='' |
|
|
|
productHolderBorder='' |
|
|
|
productHolderHoverBorder='shadow-md' |
|
|
|
productHolderHoverBorder='shadow-md' |
|
|
|
|
|
|
|
starRate={Math.floor(Math.random() * 5) + 1} |
|
|
|
/> |
|
|
|
/> |
|
|
|
)) |
|
|
|
)) |
|
|
|
: books?.map((product, index) => ( |
|
|
|
: books?.map((product, index) => ( |
|
|
@ -154,6 +160,7 @@ export const Main = ({ isMobile, |
|
|
|
productCatTextColor='text-blueC0' |
|
|
|
productCatTextColor='text-blueC0' |
|
|
|
productHolderBorder='' |
|
|
|
productHolderBorder='' |
|
|
|
productHolderHoverBorder='shadow-md' |
|
|
|
productHolderHoverBorder='shadow-md' |
|
|
|
|
|
|
|
starRate={Math.floor(Math.random() * 5) + 2} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Link> |
|
|
|
</Link> |
|
|
|
))} |
|
|
|
))} |
|
|
|