|
|
|
@ -12,7 +12,8 @@ import Loading from "../../components/Loading"; |
|
|
|
|
import Radio from "../../components/Radio"; |
|
|
|
|
|
|
|
|
|
//assets
|
|
|
|
|
import dropdownIcon from "../../assets/icons/dropdown-blue.svg"; |
|
|
|
|
import dropdownIcon from "../../assets/icons/white-dropdown.svg"; |
|
|
|
|
|
|
|
|
|
import arrowBlueIcon from "../../assets/icons/arrow-right-blue.svg"; |
|
|
|
|
import arrowWhiteIcon from "../../assets/icons/arrow-left-white.svg"; |
|
|
|
|
|
|
|
|
@ -328,16 +329,27 @@ export const Address = ({ |
|
|
|
|
onClick={() => submit()} |
|
|
|
|
/> |
|
|
|
|
<button |
|
|
|
|
className="bg-transparent mt-4 text-tiny py-3 flex flex-row justify-center items-center border border-solid border-blueC0 text-green7B rounded-full" |
|
|
|
|
className="bg-transparent mt-4 text-base lg:text-tiny border bg-blueC0 text-white font-bold rounded-md py-3.5 lg:py-4 flex flex-row justify-center items-center" |
|
|
|
|
onClick={() => setPhase("deliveryForm")} |
|
|
|
|
> |
|
|
|
|
بازگشت |
|
|
|
|
<img |
|
|
|
|
src={dropdownIcon} |
|
|
|
|
alt="" |
|
|
|
|
className="w-3.5 transform rotate-90" |
|
|
|
|
className="w-4 transform rotate-90" |
|
|
|
|
/> |
|
|
|
|
</button> |
|
|
|
|
{/* <button |
|
|
|
|
className="bg-transparent mt-4 text-tiny py-3 flex flex-row justify-center items-center border border-solid border-blueC0 text-green7B rounded-full" |
|
|
|
|
onClick={() => setPhase("deliveryForm")} |
|
|
|
|
> |
|
|
|
|
fsddsf |
|
|
|
|
<img |
|
|
|
|
src={dropdownIcon} |
|
|
|
|
alt="" |
|
|
|
|
className="w-3.5 transform rotate-90" |
|
|
|
|
/> |
|
|
|
|
</button> */} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -348,9 +360,10 @@ export const Address = ({ |
|
|
|
|
profilePage ? "mx-auto" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
{!profilePage && ( |
|
|
|
|
<div |
|
|
|
|
className={`flex flex-row items-center mb-7 cursor-pointer
|
|
|
|
|
`}
|
|
|
|
|
`}
|
|
|
|
|
onClick={() => { |
|
|
|
|
setActiveCheckbox(!activeCheckbox); |
|
|
|
|
}} |
|
|
|
@ -369,8 +382,9 @@ export const Address = ({ |
|
|
|
|
</span> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
{console.log(activeCheckbox)} |
|
|
|
|
{activeCheckbox === false ? ( |
|
|
|
|
)} |
|
|
|
|
|
|
|
|
|
{activeCheckbox === false && !profilePage ? ( |
|
|
|
|
<> |
|
|
|
|
<Header |
|
|
|
|
title="اطلاعات هویتی" |
|
|
|
|