diff --git a/src/langs/fa.json b/src/langs/fa.json index b3218dd..8f2b8fe 100644 --- a/src/langs/fa.json +++ b/src/langs/fa.json @@ -364,7 +364,7 @@ }, "notif": { "natification": "اعلان ها", - "all_read": "پاک کردن همه" + "all_read": "خواندن همه" }, "profile": { "account_user": "حساب کاربری", diff --git a/src/pages/home/Home.tsx b/src/pages/home/Home.tsx index 56a3c69..7b1f8a7 100644 --- a/src/pages/home/Home.tsx +++ b/src/pages/home/Home.tsx @@ -37,7 +37,7 @@ const Home: FC = () => { :
- { }} onPointerLeaveCapture={() => { }} > + { }} onPointerLeaveCapture={() => { }} > { getAds.data?.data?.ads?.map((item: AdsItemType) => { return ( diff --git a/src/pages/learning/Detail.tsx b/src/pages/learning/Detail.tsx index 0c8a59c..a0f857c 100644 --- a/src/pages/learning/Detail.tsx +++ b/src/pages/learning/Detail.tsx @@ -36,12 +36,12 @@ const LearningDetail: FC = () => { -
-
+
+
{getLearningDetail.data?.data?.learning?.title}
-
+
{
-
+
{
-
+
{ const navigate = useNavigate() const { t } = useTranslation('global'); const ref = useOutsideClick(() => setShowModal(false)); - const [activeTab, setActiveTab] = useState<'all' | 'read' | 'unread'>('all'); + const [activeTab, setActiveTab] = useState<'read' | 'unread'>('unread'); const [showModal, setShowModal] = useState(false); const { data, fetchNextPage, hasNextPage, refetch } = useGetNotification(activeTab); const readAll = useReadAll() @@ -100,15 +100,6 @@ const Notifications: FC = () => {
-
setActiveTab('all')} - className={clx( - 'flex-1 border-l cursor-pointer text-white border-white border-opacity-70 flex justify-center items-center', - activeTab === 'all' ? 'bg-white bg-opacity-70 text-black' : '' - )} - > - همه -
setActiveTab('unread')} className={clx( diff --git a/src/pages/transaction/components/Detail.tsx b/src/pages/transaction/components/Detail.tsx index dcab7ae..ad65ce5 100644 --- a/src/pages/transaction/components/Detail.tsx +++ b/src/pages/transaction/components/Detail.tsx @@ -21,7 +21,7 @@ const Detail: FC = () => { title_header={`${t('transaction.transaction2')} ۱۲۳۴۵۵`} >
-
+
@@ -48,7 +48,7 @@ const Detail: FC = () => {
-
+
@@ -73,7 +73,7 @@ const Detail: FC = () => {
-
+
@@ -97,7 +97,7 @@ const Detail: FC = () => {
-
+
@@ -122,7 +122,7 @@ const Detail: FC = () => {
-
+
diff --git a/src/shared/Footer.tsx b/src/shared/Footer.tsx index a448301..43901e5 100644 --- a/src/shared/Footer.tsx +++ b/src/shared/Footer.tsx @@ -14,15 +14,15 @@ const Footer: FC = () => {
- +
- -
- {t('footer.home')} +
+ {t('footer.my_services')}
@@ -38,19 +38,19 @@ const Footer: FC = () => {
- +
-
- {t('footer.my_services')} + {t('footer.home')}
diff --git a/src/shared/SideBar.tsx b/src/shared/SideBar.tsx index 3bf5f21..c01852b 100644 --- a/src/shared/SideBar.tsx +++ b/src/shared/SideBar.tsx @@ -110,7 +110,7 @@ const SideBar: FC = () => { />
-
+
}