|
|
|
@ -49,7 +49,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={homeIcon} |
|
|
|
|
className="opacity-50 dark:bg-white" |
|
|
|
|
alt="صفحه اصلی" |
|
|
|
|
alt={`${window.t("صفحه اصلی")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -62,7 +62,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={logoutIcon} |
|
|
|
|
className="opacity-50 dark:bg-white" |
|
|
|
|
alt="کتابهای من" |
|
|
|
|
alt={`${window.t("کتابهای من")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -75,7 +75,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={dangerIcon} |
|
|
|
|
className="opacity-50 dark:bg-white" |
|
|
|
|
alt="پشتیبانی" |
|
|
|
|
alt={`${window.t("پشتیبانی")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -90,7 +90,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? homeDarkIcon : homeIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="صفحه اصلی" |
|
|
|
|
alt={`${window.t("صفحه اصلی")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -106,7 +106,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? cartDarkIcon : cartIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="سبد خرید" |
|
|
|
|
alt={`${window.t("سبد خرید")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -122,7 +122,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? activationDarkIcon : activationIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="فعال سازی کتاب" |
|
|
|
|
alt={`${window.t("فعال سازی کتاب")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -138,7 +138,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? arDarkIcon : arIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="واقعیت افزوده" |
|
|
|
|
alt={`${window.t("واقعیت افزوده")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -154,7 +154,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? ordersDarkIcon : ordersIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="سفارشات" |
|
|
|
|
alt={`${window.t("سفارشات")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -170,7 +170,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? faqDarkIcon : faqIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="سوالات متداول" |
|
|
|
|
alt={`${window.t("سوالات متداول")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -186,7 +186,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? contactDarkIcon : contactIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="پشتیبانی" |
|
|
|
|
alt={`${window.t("پشتیبانی")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -202,7 +202,7 @@ const MyDrawer = ({ |
|
|
|
|
<img |
|
|
|
|
src={isDark ? logoutDarkIcon : logoutIcon} |
|
|
|
|
className="opacity-50" |
|
|
|
|
alt="خروج از حساب کاربری" |
|
|
|
|
alt={`${window.t("خروج از حساب کاربری")}`} |
|
|
|
|
/> |
|
|
|
|
), |
|
|
|
|
toast: "", |
|
|
|
@ -214,7 +214,7 @@ const MyDrawer = ({ |
|
|
|
|
accept: () => { |
|
|
|
|
logout(); |
|
|
|
|
}, |
|
|
|
|
text: "قصد خروج از حساب کاربری رو داری؟", |
|
|
|
|
text:`${window.t("قصد خروج از حساب کاربری رو داری؟")}`, |
|
|
|
|
}); |
|
|
|
|
setDrawerOpen(false); |
|
|
|
|
}, |
|
|
|
|