reza fixed somelink on home page

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

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

@ -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) => (

Loading…
Cancel
Save