Register Nearly Done

main
Pedram Keshavarzi 3 years ago
parent 024b912860
commit 451b24511d
  1. 8
      src/view/LoginSignUp/index.js
  2. 28
      src/view/register/index.js

@ -1,6 +1,6 @@
import React, { useEffect, useState, useRef } from "react";
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 secondPic from '../../assets/img/undraw_quiz_nlyh.svg';
import thirdPic from '../../assets/img/undraw_certificate_re_yadi.svg';
@ -136,7 +136,7 @@ const LoginSignUp = ({ activeLogin }) => {
</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">
<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`}
className="Login-box-form-btn w-full h-12 rounded-lg bg-red52 text-white flex items-center justify-center mt-4"
onClick={() => {
if(register == false){
activeLogin()
}
}}

@ -408,6 +408,34 @@ const Register = ({ activeLogin }) => {
</>
}
{
steps == 3 &&
<>
<div className="w-full px-10 pb-6 border-b border-solid border-gray-200">
<div className="mb-4">
<h1 className="font-black">قوانین و مقررات ثبت نام</h1>
<p className="font-bold text-gray-300 text-sm">لطفا اطلاعات مربوط هویتی پدر را وارد کنید</p>
</div>
<div className="w-full flex pt-10 justify-end">
<div className="w-40 mx-4">
<Button borderType='rounded' title='بازگشت به مرحله قبل' type='outlined' onClick={() =>
setSteps(1)
} />
</div>
<div className="w-40">
<Button borderType='rounded' title='ورود' to='/dashboard' onClick={() =>
activeLogin()
} />
</div>
</div>
</div>
</>
}

Loading…
Cancel
Save