|
|
|
@ -49,7 +49,7 @@ function Address({ |
|
|
|
|
</button> |
|
|
|
|
) : ( |
|
|
|
|
<button |
|
|
|
|
className={`flex flex-row border border-solid items-center w-full px-3 py-6 rounded-md mt-4 transition-all duration-500 gap-10 border-opacity-30 dark:bg-opacity-5 ${ |
|
|
|
|
className={`flex flex-row justify-between border border-solid items-center w-full px-3 py-6 rounded-md mt-4 transition-all duration-500 gap-10 border-opacity-30 dark:bg-opacity-5 ${ |
|
|
|
|
userAddressId === address?.id |
|
|
|
|
? "bg-blueC0 bg-opacity-5 border-blueC0" |
|
|
|
|
: "bg-grayF9 border-gray45" |
|
|
|
@ -84,9 +84,13 @@ function Address({ |
|
|
|
|
شماره تماس: {address.cellphone} |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
<div className="flex flex-col items-center gap-y-5"> |
|
|
|
|
<button class="text-sm cursor-pointer">حذف</button> |
|
|
|
|
<button class="text-sm cursor-pointer">ویرایش</button> |
|
|
|
|
<div className=" flex flex-col items-center gap-y-5"> |
|
|
|
|
<button class="text-sm w-full cursor-pointer border border-red-200 bg-red-100 px-2 py-1 rounded-sm "> |
|
|
|
|
حذف |
|
|
|
|
</button> |
|
|
|
|
<button class="text-sm w-full cursor-pointer border border-green-200 bg-green-100 px-2 py-1 rounded-sm "> |
|
|
|
|
ویرایش |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</button> |
|
|
|
|
); |
|
|
|
|