|
|
|
@ -16,15 +16,21 @@ function Blogs({ list, isDark, setActive }) { |
|
|
|
|
<strong className="text-green7B dark:text-white font-bold text-base lg:text-sm"> |
|
|
|
|
خواندنیها |
|
|
|
|
</strong> |
|
|
|
|
{isDark ? ( |
|
|
|
|
<img src={arrowWhiteIcon} alt="" className={`transform ml-4 w-7`} /> |
|
|
|
|
) : ( |
|
|
|
|
<img |
|
|
|
|
src={arrowGreenIcon} |
|
|
|
|
alt="" |
|
|
|
|
className={`transform ml-4 rotate-90`} |
|
|
|
|
/> |
|
|
|
|
)} |
|
|
|
|
<Link to="/blogs"> |
|
|
|
|
{isDark ? ( |
|
|
|
|
<img |
|
|
|
|
src={arrowWhiteIcon} |
|
|
|
|
alt="" |
|
|
|
|
className={`transform ml-4 w-7`} |
|
|
|
|
/> |
|
|
|
|
) : ( |
|
|
|
|
<img |
|
|
|
|
src={arrowGreenIcon} |
|
|
|
|
alt="" |
|
|
|
|
className={`transform ml-4 rotate-90`} |
|
|
|
|
/> |
|
|
|
|
)} |
|
|
|
|
</Link> |
|
|
|
|
</header> |
|
|
|
|
<ul className="list-none w-full overflow-x-scroll pt-3 flex flex-row pb-16 no-scrollbar"> |
|
|
|
|
{list.map((blog, index) => ( |
|
|
|
|