reza fixed somelink on home page

temp
Reza_ashrafi 3 years ago
parent 3b705c1384
commit 067889d4e4
  1. 4
      src/views/Address/index.js
  2. 8
      src/views/Home/Portrait/Private/Blogs/index.js

@ -50,7 +50,11 @@ export const Address = ({
getProvince();
}
if (isMobile) {
if (editPage || profilePage) {
setHeaderOptions(headerOptions);
} else {
setHeaderOptions({ shown: true, back: true, title: "آدرس جدید" });
}
}
if (editPage) {
getAddress({ id: location.getId() });

@ -16,8 +16,13 @@ function Blogs({ list, isDark, setActive }) {
<strong className="text-green7B dark:text-white font-bold text-base lg:text-sm">
خواندنیها
</strong>
<Link to="/blogs">
{isDark ? (
<img src={arrowWhiteIcon} alt="" className={`transform ml-4 w-7`} />
<img
src={arrowWhiteIcon}
alt=""
className={`transform ml-4 w-7`}
/>
) : (
<img
src={arrowGreenIcon}
@ -25,6 +30,7 @@ function Blogs({ list, isDark, setActive }) {
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) => (

Loading…
Cancel
Save