update src/components/AddToCart/index.js and src/components/BottomNavigation/index.js

temp
mahdi 2 years ago
parent 8e19d4f045
commit 9e1e0e5562
  1. 4
      src/components/AddToCart/index.js
  2. 10
      src/components/BottomNavigation/index.js

@ -62,11 +62,11 @@ const AddToCartCard = ({
<div className="w-full flex flex-col items-center justify-center p-4">
<h1 className="text-xl text-gray-500">
<span className=" text-blueC0"> {price} </span>
{window.t("تومان")}{" "}
{window.t("تومان")}
</h1>
{profit && (
<h5 className="text-xs p-2 pb-0 text-blue52">
{window.t("با خرید این کالا")} {profit}{" "}
{window.t("با خرید این کالا")} {profit}
{window.t("تومان سود کنید")}
</h5>
)}

@ -61,35 +61,35 @@ BottomNavigation.defaultProps = {
pages: [
{
id: 0,
name: "صفحه اصلی",
name: `${window.t("صفحه اصلی")}`,
link: "/",
activeIcon: activeHomeIcon,
deactiveIcon: deactiveHomeIcon,
},
{
id: 1,
name: "محصولات",
name: `${window.t("محصولات")}`,
link: "/products",
activeIcon: activeProductsIcon,
deactiveIcon: deactiveProductsIcon,
},
{
id: 2,
name: "ویدئو",
name: `${window.t("ویدئو")}`,
link: "/videos",
activeIcon: activeVideoIcon,
deactiveIcon: deactiveVideoIcon,
},
{
id: 3,
name: "سبد خرید",
name: `${window.t("سبد خرید")}`,
link: "/cart",
activeIcon: activeTestIcon,
deactiveIcon: deactiveTestIcon,
},
{
id: 4,
name: "حساب کاربری",
name: `${window.t("حساب کاربری")}`,
link: "/dashboard",
activeIcon: activeProfileIcon,
deactiveIcon: deactiveProfileIcon,

Loading…
Cancel
Save