update | 30

temp
mahdi 2 years ago
parent 9f58f360a3
commit 3bb37b64b4
  1. 2
      src/components/Footer/index.js
  2. 2
      src/views/Dashboard/layouts/Main/Addresses/index.js
  3. 2
      src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js
  4. 8
      src/views/ShoppingCart/Product/index.js
  5. 2
      src/views/ShoppingCart/index.js

@ -64,7 +64,7 @@ const FooterDesign1 = ({ color, bg, items, hasHeader }) => {
{item.links.map((link, index) => (
<li className="mt-6" key={index}>
<Link
className="text-gray70 text-base"
className="text-gray70 text-base "
to={link.link}
key={index}
>

@ -181,7 +181,7 @@ const Location = ({
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
onClick={() => delAddress(address.id)}
>
<button class="text-sm">حذف</button>
<button class="text-sm ">حذف</button>
<img src={trash} alt="delete-address" className="w-5 mr-3" />
</div>
</div>

@ -147,7 +147,7 @@ const Location = ({
ویرایش
</Link>
<button
className="py-3 pr-2 pl-10 border-none m-0 text-sm text-red19 font-bold"
className="py-3 pr-2 pl-10 border-none m-0 bg-blue-300 text-sm text-red19 font-bold"
onClick={() => delAddress(address.id)}
>
حذف

@ -12,7 +12,7 @@ import deleteIcon from "../../../assets/icons/delete.svg";
function Product({ product, grades, pushToCart, isMobile, loading }) {
return isMobile ? (
<div className="flex flex-row justify-between py-5 border-b border-solid border-grayDB dark:border-gray45">
<div className="flex flex-row">
<div className="flex flex-row ">
<img
src={"https://dnvn.ir/api/v1/file/" + product.product.book.fileIds}
className="rounded-md w-20"
@ -29,7 +29,7 @@ function Product({ product, grades, pushToCart, isMobile, loading }) {
</span>
</div>
</div>
<div className={"flex flex-col justify-between items-end"}>
<div className="flex flex-col justify-between items-end ">
<img
src={exitIcon}
className="w-4"
@ -86,7 +86,7 @@ function Product({ product, grades, pushToCart, isMobile, loading }) {
}
src={deleteIcon}
alt="delete"
className="border border-red-800 border-solid p-1 w-8 bg-red-100 rounded-md cursor-pointer"
className="border border-blue-800 border-solid p-1 w-8 bg-red-100 rounded-md cursor-pointer"
/>
) : (
<button
@ -177,7 +177,7 @@ function Product({ product, grades, pushToCart, isMobile, loading }) {
}
src={deleteIcon}
alt="delete"
className="border border-red-800 border-solid p-1 w-8 bg-red-100 rounded-md cursor-pointer"
className="border border-red-300 border-solid p-1 w-7 bg-red-100 rounded-md cursor-pointer"
/>
) : (
<button

@ -86,7 +86,7 @@ function ShoppingCart({
<div className="w-full flex flex-col">
<header className="w-full flex flex-row gap-10">
<strong className="w-3/4 pb-2 border-b border-solid border-gray-200 text-gray70 text-sm font-normal">
کالاهای انتخابی{" "}
کالاهای انتخابی
</strong>
<strong className="w-1/4 pb-2 border-b border-solid border-gray-200 text-gray70 text-sm font-normal">
تعداد سفارش

Loading…
Cancel
Save