diff --git a/src/components/Navbar/index.scss b/src/components/Navbar/index.scss index a76b824..935bfe8 100644 --- a/src/components/Navbar/index.scss +++ b/src/components/Navbar/index.scss @@ -12,6 +12,9 @@ background-color: $gray1 !important; border: none !important; } + .MuiButton-root{ + color: black !important; + } } &__dark{ background-color: black; diff --git a/src/views/About/index.tsx b/src/views/About/index.tsx index 3407a02..008c7f4 100644 --- a/src/views/About/index.tsx +++ b/src/views/About/index.tsx @@ -14,7 +14,7 @@ function About({ fury, advantages, keywords, keywords2, first, theme, setTheme }
checkPhoneNumber()}> +
checkPhoneNumber()} + > دوباره ارسال کنید
)} @@ -178,9 +189,12 @@ function SignUp({ sendOtp, sendPhoneNumber, loginFlag }: any) { ); } -export default connect((state : any) => ({ - loginFlag : state.user.setLogin, -}), { - sendOtp: user.otp_login, - sendPhoneNumber: user.otp, -})(SignUp); +export default connect( + (state: any) => ({ + loginFlag: state.user.setLogin, + }), + { + sendOtp: user.otp_login, + sendPhoneNumber: user.otp, + } +)(SignUp); diff --git a/src/views/Auth/index.tsx b/src/views/Auth/index.tsx index 9846fd0..ddaa387 100644 --- a/src/views/Auth/index.tsx +++ b/src/views/Auth/index.tsx @@ -2,17 +2,23 @@ import React, {useState, useEffect} from 'react'; import SignUp from './SignUp/index'; import Profile from './Profile/index'; import Login from './Login/index'; +import {connect} from 'react-redux'; -export default function Auth(props : any) { + +function Auth(props : any) { const [page, setPage] = useState(props.page); useEffect(() => { setPage(() => props.page); },[props.page]); return ( <> - { page === 'signup' &&توضیحات مرتبط با این درس
} + {selectedLesson === data.id && ( ++ توضیحات مرتبط با این درس +
+ )}در این قسمت شاید یک متن جهت زیباسازی قرار بگیرد
*/} {categories?.map((lesson: any, i: any) => ( -