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