diff --git a/src/components/SignUp.js b/src/components/SignUp.js index 3f49c83..f1b2047 100644 --- a/src/components/SignUp.js +++ b/src/components/SignUp.js @@ -31,6 +31,8 @@ import LinkedInIcon from '@mui/icons-material/LinkedIn'; import axios from "axios"; +import { RiMailCheckLine } from "react-icons/ri"; + function SignUp() { const url_login = process.env.REACT_APP_API_URL + "myclass/api/login/"; @@ -110,7 +112,7 @@ function SignUp() { window.scrollTo({ top: 0, behavior: "smooth", - }); + }); var mymail = document.getElementsByName("email")[0].value; //var mypwd = document.getElementsByName("pwd")[0].value; @@ -171,7 +173,7 @@ function SignUp() { document.getElementsByName("pasrobot")[0].style.backgroundColor = "red"; alert(" Le total dans la zone 'je ne suis pas un robot' est incohérent. Recommencez svp :) !!!"); - + return; } @@ -272,9 +274,9 @@ function SignUp() { setisconnected("true"); setmyApimyApiMessage(result['message']); window.scrollTo({ - top: 0, - behavior: "smooth", - }); + top: 0, + behavior: "smooth", + }); if (String(menucompte) === String("user")) { history.push("/Connexion-utilisateur-0"); @@ -317,7 +319,7 @@ function SignUp() { window.scrollTo({ top: 0, behavior: "smooth", - }); + }); if (String(menucompte) === String("user")) { menu_user_account() @@ -446,7 +448,7 @@ function SignUp() { + style={{ "float": "left", "textAlign": "center" }}>Organisme de formation
@@ -460,21 +462,34 @@ function SignUp() { } - - - - - - -
- + Email + +   + + + } + + /> + + +
+ + Mot de passe {newpawdvisible ? : } @@ -490,9 +506,10 @@ function SignUp() { } /> +
-
+ {/*
@@ -518,13 +535,40 @@ function SignUp() { } label=" " /> + */} + + + Confirmer mot de passe + + + {confpwdvisible ? : } + + + } + + /> +
Créez un mot de passe contenant au moins :