|
|
@ -56,19 +56,20 @@ const AccordionDesign1 = ({ items, vod }) => { |
|
|
|
{vod === !true && ( |
|
|
|
{vod === !true && ( |
|
|
|
<img |
|
|
|
<img |
|
|
|
src="images/accordionGroup2725.svg" |
|
|
|
src="images/accordionGroup2725.svg" |
|
|
|
className="w-4" |
|
|
|
className="w-3" |
|
|
|
alt="line" |
|
|
|
alt="line" |
|
|
|
/> |
|
|
|
/> |
|
|
|
)} |
|
|
|
)} |
|
|
|
<span className={`text-sm ${vod === true ? "mr-0" : "mr-3"}`}> |
|
|
|
<span className={`text-sm ${vod === true ? "mr-0" : "mr-3"}`}> |
|
|
|
1 |
|
|
|
{i + 1} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="w-0.5 h-6 mx-3 bg-surfaceBorder"></div> |
|
|
|
<div className="w-0.5 h-5 mx-3 bg-surfaceBorder"></div> |
|
|
|
<p className="text-sm flex-1">{subItem.name}</p> |
|
|
|
<p className="text-sm flex-1">{subItem.name}</p> |
|
|
|
<div className="flex flex-row items-center justify-end gap-x-3 flex-1"> |
|
|
|
<div className="flex flex-row items-center justify-end gap-x-3 flex-1"> |
|
|
|
{vod ? ( |
|
|
|
{vod ? ( |
|
|
|
<> |
|
|
|
<> |
|
|
|
|
|
|
|
<div className="flex flex-row items-center ml-7"> |
|
|
|
<p className="text-xs"> |
|
|
|
<p className="text-xs"> |
|
|
|
دقیقه: |
|
|
|
دقیقه: |
|
|
|
<span>{item.min}</span> |
|
|
|
<span>{item.min}</span> |
|
|
@ -77,6 +78,7 @@ const AccordionDesign1 = ({ items, vod }) => { |
|
|
|
className="px-2 py-1 text-primary text-sm border border-surfaceBorder rounded mr-4" |
|
|
|
className="px-2 py-1 text-primary text-sm border border-surfaceBorder rounded mr-4" |
|
|
|
text={"پخش"} |
|
|
|
text={"پخش"} |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
</> |
|
|
|
</> |
|
|
|
) : ( |
|
|
|
) : ( |
|
|
|
<> |
|
|
|
<> |
|
|
@ -105,6 +107,7 @@ export default AccordionDesign1; |
|
|
|
|
|
|
|
|
|
|
|
AccordionDesign1.defaultProps = { |
|
|
|
AccordionDesign1.defaultProps = { |
|
|
|
vod: true, |
|
|
|
vod: true, |
|
|
|
|
|
|
|
|
|
|
|
items: [ |
|
|
|
items: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: |
|
|
|
title: |
|
|
|