|
|
@ -15,19 +15,21 @@ const BreadCrumb = ({ breadCrumbs }) => { |
|
|
|
}`}
|
|
|
|
}`}
|
|
|
|
> |
|
|
|
> |
|
|
|
{breadCrumb.name} |
|
|
|
{breadCrumb.name} |
|
|
|
|
|
|
|
{console.log(breadCrumb.active)} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
{Number(index) !== breadCrumbs.length - 1 && ( |
|
|
|
{Number(index) !== breadCrumbs.length - 1 && ( |
|
|
|
<div |
|
|
|
<div> |
|
|
|
className={`mx-2 ${ |
|
|
|
{console.log(breadCrumbs.length - 1)} |
|
|
|
breadCrumb.active ? "text-blue-900" : "text-blue-400" |
|
|
|
|
|
|
|
}`}
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{/* {breadCrumb.active === true ? ( |
|
|
|
{/* {breadCrumb.active === true ? ( |
|
|
|
<img src={grayLeftArrow} className="w-10" /> |
|
|
|
<img src={grayLeftArrow} className="w-10" /> |
|
|
|
) : ( |
|
|
|
) : ( |
|
|
|
<img src={blackLeftArrow} className="w-10" /> |
|
|
|
<img src={blackLeftArrow} className="w-10" /> |
|
|
|
)} */} |
|
|
|
)} */} |
|
|
|
<img src={grayLeftArrow} className="w-4" /> |
|
|
|
{Number(index) === breadCrumbs.length - 2 ? ( |
|
|
|
|
|
|
|
<img src={blackLeftArrow} className="w-10" /> |
|
|
|
|
|
|
|
) : ( |
|
|
|
|
|
|
|
<img src={grayLeftArrow} className="w-10" /> |
|
|
|
|
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|