diff --git a/src/components/RegisterForm/index.tsx b/src/components/RegisterForm/index.tsx index 2ec9674..750dc5e 100644 --- a/src/components/RegisterForm/index.tsx +++ b/src/components/RegisterForm/index.tsx @@ -25,6 +25,7 @@ import { fetchMiscMeetingDateListIfNeed, selectMiscMeetingDateList, } from "../../store/miscMeetingDateList" +import LoginForm from "../LoginForm" interface Props { dispatch: AppDispatch @@ -47,6 +48,7 @@ const RegisterForm = ({ dispatch }: Props): JSX.Element => { const [mobile, setMobile] = useState("") const [comment, setComment] = useState("") const [alreadyCame, setAlreadyCame] = useState(true) + const [alreadySignup, setAlreadySignup] = useState(false) const [firstMeeting, setFirstMeeting] = useState("") const [commentFirstMeeting, setCommentFirstMeeting] = useState("") const [howToContact, setHowToContact] = useState("Email") @@ -256,6 +258,47 @@ const RegisterForm = ({ dispatch }: Props): JSX.Element => { const cameAsVisitor = ( <> +
+
+
+ As-tu déjà été bénévole à Paris est Ludique (PeL) ? +
+
+
+
+ {["Oui", "Non"].map((option) => ( + + ))} +
+
+
+ {alreadySignup && ( +
+
+ Dans ce cas tu n'as pas besoin de t'inscrire ici, tu as déjà un compte sur + Force Orange ! +
+
+

+ Viens simplement t'identifier sur fo.parisestludique.fr{" "} + ou en dessous ^^ +

+ +
+
+ )} +