diff --git a/.env b/.env index e93dae5..7595181 100644 --- a/.env +++ b/.env @@ -68,6 +68,8 @@ REACT_APP_MAX_FILE_SIZE=1000000 REACT_APP_TOTAL_NUM_FILE=4 REACT_APP_LOGOUT_TEXT="Sign Out" +REACT_APP_APPLE_SOCIAL_LOGIN=0 +REACT_APP_LINKEDIN_SOCIAL_LOGIN=0 #apigate.lotus.g1.wrenchboard.com:76.209.103.227 diff --git a/.env.development b/.env.development index 4b9bb76..c737971 100644 --- a/.env.development +++ b/.env.development @@ -42,4 +42,7 @@ REACT_APP_GOOGLE_REDIRECT_URL=http://localhost:9082/login/auth/ REACT_APP_MAX_FILE_SIZE=1000000 REACT_APP_TOTAL_NUM_FILE=4 -REACT_APP_LOGOUT_TEXT="Sign Out" \ No newline at end of file +REACT_APP_LOGOUT_TEXT="Sign Out" + +REACT_APP_APPLE_SOCIAL_LOGIN=0 +REACT_APP_LINKEDIN_SOCIAL_LOGIN=0 \ No newline at end of file diff --git a/.env.production b/.env.production index b866259..8ac5c74 100644 --- a/.env.production +++ b/.env.production @@ -49,4 +49,6 @@ DISABLE_ESLINT_PLUGIN=true REACT_APP_MAX_FILE_SIZE=1000000 REACT_APP_TOTAL_NUM_FILE=4 -REACT_APP_LOGOUT_TEXT="Sign Out" \ No newline at end of file +REACT_APP_LOGOUT_TEXT="Sign Out" +REACT_APP_APPLE_SOCIAL_LOGIN=0 +REACT_APP_LINKEDIN_SOCIAL_LOGIN=0 diff --git a/src/components/AuthPages/Login/index.jsx b/src/components/AuthPages/Login/index.jsx index c0a09f2..daf7756 100644 --- a/src/components/AuthPages/Login/index.jsx +++ b/src/components/AuthPages/Login/index.jsx @@ -329,35 +329,51 @@ export default function Login() { )} -
- - -
-
- - +
+
+ +
+
+ +
+
+ +
+
+ +
@@ -433,12 +449,12 @@ export default function Login() { } {/* END of login component */} - {loginType == "full" && -
- This site is protected by hCaptcha and the our Privacy Policy - and Terms of Service apply. -
- } + {loginType == "full" && ( +
+ This site is protected by hCaptcha and the our Privacy Policy + and Terms of Service apply. +
+ )} @@ -447,7 +463,14 @@ export default function Login() { ); } -const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false, style = {visibility: 'visible' } }) => { +const BrandBtn = ({ + link, + imgSrc, + brand, + onClick, + isAnchor = false, + style = { visibility: "visible" }, +}) => { // const doGoogle = async () => { // alert("start google"); // }; @@ -467,7 +490,7 @@ const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false, style = {vis // alert("start facebook"); // }; return ( -
+
{isAnchor ? (