|
|
@ -1,6 +1,6 @@ |
|
|
|
import React, { useEffect, useState, useRef } from "react"; |
|
|
|
import React, { useEffect, useState, useRef } from "react"; |
|
|
|
import { Link } from "react-router-dom"; |
|
|
|
import { Link } from "react-router-dom"; |
|
|
|
import logo from "../../assets/img/big-logo.svg"; |
|
|
|
import logo from "../../assets/img/logo.png"; |
|
|
|
import firstPic from '../../assets/img/undraw_professor_-8-lrt.svg'; |
|
|
|
import firstPic from '../../assets/img/undraw_professor_-8-lrt.svg'; |
|
|
|
import secondPic from '../../assets/img/undraw_quiz_nlyh.svg'; |
|
|
|
import secondPic from '../../assets/img/undraw_quiz_nlyh.svg'; |
|
|
|
import thirdPic from '../../assets/img/undraw_certificate_re_yadi.svg'; |
|
|
|
import thirdPic from '../../assets/img/undraw_certificate_re_yadi.svg'; |
|
|
@ -136,7 +136,7 @@ const LoginSignUp = ({ activeLogin }) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img src={logo} className="w-1/2 m-4" /> |
|
|
|
<img src={logo} className="w-1/3 m-6" /> |
|
|
|
<div className="flex flex-col items-start justify-start leading-normal"> |
|
|
|
<div className="flex flex-col items-start justify-start leading-normal"> |
|
|
|
<h1 className="text-red26 text-lg font-bold">ورود یا ثبت نام</h1> |
|
|
|
<h1 className="text-red26 text-lg font-bold">ورود یا ثبت نام</h1> |
|
|
|
<h1 className="text-red26 text-lg font-bold">سامانه ثبت نام مدارس موسسه علمی اندیشمند</h1> |
|
|
|
<h1 className="text-red26 text-lg font-bold">سامانه ثبت نام مدارس موسسه علمی اندیشمند</h1> |
|
|
@ -215,9 +215,9 @@ const LoginSignUp = ({ activeLogin }) => { |
|
|
|
to={register == true ? '/register' : `/dashboard`}
|
|
|
|
to={register == true ? '/register' : `/dashboard`}
|
|
|
|
className="Login-box-form-btn w-full h-12 rounded-lg bg-red52 text-white flex items-center justify-center mt-4" |
|
|
|
className="Login-box-form-btn w-full h-12 rounded-lg bg-red52 text-white flex items-center justify-center mt-4" |
|
|
|
onClick={() => { |
|
|
|
onClick={() => { |
|
|
|
if(register == false){ |
|
|
|
|
|
|
|
activeLogin() |
|
|
|
activeLogin() |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}} |
|
|
|
}} |
|
|
|