|
|
|
|
@ -4,7 +4,7 @@ import { RecoveryPopup } from 'features/AuthServiceApp/components/RecoveryPopup' |
|
|
|
|
import { client } from 'features/AuthServiceApp/config/clients' |
|
|
|
|
|
|
|
|
|
import { PAGES } from '../../config/pages' |
|
|
|
|
import { AuthProviders } from '../../config/authProviders' |
|
|
|
|
// import { AuthProviders } from '../../config/authProviders'
|
|
|
|
|
import { LanguageSelect } from '../LanguageSelect' |
|
|
|
|
import { PasswordInput } from '../PasswordInput' |
|
|
|
|
import { Input } from '../../../../components/Input' |
|
|
|
|
@ -26,11 +26,11 @@ import { |
|
|
|
|
} from '../../styled' |
|
|
|
|
import { |
|
|
|
|
RegisterButton, |
|
|
|
|
AuthButtonsContainer, |
|
|
|
|
AuthButton, |
|
|
|
|
AuthButtonText, |
|
|
|
|
AuthButtonImage, |
|
|
|
|
ContinueWith, |
|
|
|
|
// AuthButtonsContainer,
|
|
|
|
|
// AuthButton,
|
|
|
|
|
// AuthButtonText,
|
|
|
|
|
// AuthButtonImage,
|
|
|
|
|
// ContinueWith,
|
|
|
|
|
} from './styled' |
|
|
|
|
import { CompanyInfo } from '../../../CompanyInfo' |
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ const Login = () => { |
|
|
|
|
email, |
|
|
|
|
formError, |
|
|
|
|
formRef, |
|
|
|
|
handleAuthButtonClick, |
|
|
|
|
// handleAuthButtonClick,
|
|
|
|
|
handleModalOpen, |
|
|
|
|
handleSubmit, |
|
|
|
|
isFetching, |
|
|
|
|
@ -121,21 +121,21 @@ const Login = () => { |
|
|
|
|
<RegisterButton to={`${PAGES.registration}${window.location.search}`}> |
|
|
|
|
<T9n t='register' /> |
|
|
|
|
</RegisterButton> |
|
|
|
|
<ContinueWith t='or_continue_with' /> |
|
|
|
|
{/* <ContinueWith t='or_continue_with' /> |
|
|
|
|
<AuthButtonsContainer> |
|
|
|
|
<AuthButton onClick={handleAuthButtonClick(AuthProviders.Google)}> |
|
|
|
|
<AuthButtonImage authProvider={AuthProviders.Google} /> |
|
|
|
|
<AuthButtonText>Google</AuthButtonText> |
|
|
|
|
</AuthButton> |
|
|
|
|
{/* <AuthButton onClick={handleAuthButtonClick(AuthProviders.Facebook)}> |
|
|
|
|
</AuthButton> */} |
|
|
|
|
{/* <AuthButton onClick={handleAuthButtonClick(AuthProviders.Facebook)}> |
|
|
|
|
<AuthButtonImage authProvider={AuthProviders.Facebook} /> |
|
|
|
|
<AuthButtonText>Facebook</AuthButtonText> |
|
|
|
|
</AuthButton> */} |
|
|
|
|
{/* <AuthButton onClick={handleAuthButtonClick(AuthProviders.AppleID)}> |
|
|
|
|
{/* <AuthButton onClick={handleAuthButtonClick(AuthProviders.AppleID)}> |
|
|
|
|
<AuthButtonImage authProvider={AuthProviders.AppleID} /> |
|
|
|
|
<AuthButtonText>Apple ID</AuthButtonText> |
|
|
|
|
</AuthButton> */} |
|
|
|
|
</AuthButtonsContainer> |
|
|
|
|
{/* </AuthButtonsContainer> */} |
|
|
|
|
</ButtonsBlock> |
|
|
|
|
<Container> |
|
|
|
|
<ForgotPass onClick={handleModalOpen}> |
|
|
|
|
|