|
|
@ -9,6 +9,7 @@ import thirdPic from '../../assets/img/undraw_certificate_re_yadi.svg'; |
|
|
|
import VerificationInput from "../../components/verificationInput"; |
|
|
|
import VerificationInput from "../../components/verificationInput"; |
|
|
|
import Input from "../../components/input"; |
|
|
|
import Input from "../../components/input"; |
|
|
|
import FileInput from "../../components/fileInput"; |
|
|
|
import FileInput from "../../components/fileInput"; |
|
|
|
|
|
|
|
import Button from "../../components/Button"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Register = ({ activeLogin }) => { |
|
|
|
const Register = ({ activeLogin }) => { |
|
|
@ -59,7 +60,62 @@ const Register = ({ activeLogin }) => { |
|
|
|
step: 3 |
|
|
|
step: 3 |
|
|
|
}, |
|
|
|
}, |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
const grades = [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 0, |
|
|
|
|
|
|
|
title: '' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 1, |
|
|
|
|
|
|
|
title: 'پایه اول' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 2, |
|
|
|
|
|
|
|
title: 'پایه دوم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 3, |
|
|
|
|
|
|
|
title: 'پایه سوم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 4, |
|
|
|
|
|
|
|
title: 'پایه چهارم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 5, |
|
|
|
|
|
|
|
title: 'پایه پنجم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 6, |
|
|
|
|
|
|
|
title: 'پایه ششم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 7, |
|
|
|
|
|
|
|
title: 'پایه هفتم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 8, |
|
|
|
|
|
|
|
title: 'پایه هشتم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 9, |
|
|
|
|
|
|
|
title: 'پایه نهم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 10, |
|
|
|
|
|
|
|
title: 'پایه دهم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 11, |
|
|
|
|
|
|
|
title: 'پایه یازدهم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
id: 12, |
|
|
|
|
|
|
|
title: 'پایه دوازدهم' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="w-full flex items-center justify-center" style={{ height: '100vh', direction: 'rtl' }}> |
|
|
|
<div className="w-full flex items-center justify-center" style={{ height: '100vh', direction: 'rtl' }}> |
|
|
@ -140,11 +196,41 @@ const Register = ({ activeLogin }) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="w-full px-10 py-6 border-b flex items-center border-solid border-gray-200">
|
|
|
|
<div className="w-full px-10 py-10 border-b flex items-center border-solid border-gray-200">
|
|
|
|
<div className="mb-4"> |
|
|
|
<div className=""> |
|
|
|
<h1 className="font-black">پایه تحصیلی</h1> |
|
|
|
<h1 className="font-black">پایه تحصیلی</h1> |
|
|
|
<p className="font-bold text-gray-300 text-sm">لطفا پایه تحصیلی دانش آموز را وارد کنید</p> |
|
|
|
<p className="font-bold text-gray-300 text-sm">لطفا پایه تحصیلی دانش آموز را وارد کنید</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<select className="bg-white border border-solid border-gray-300 w-48 p-3 rounded-lg text-gray-400 outline-red52 mx-6"> |
|
|
|
|
|
|
|
{grades.map((item) =>( |
|
|
|
|
|
|
|
<option key={`Grade__${item.id}`}>{item.title}</option> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="w-full px-10 py-8 flex flex-col ">
|
|
|
|
|
|
|
|
<div className="mb-4"> |
|
|
|
|
|
|
|
<h1 className="font-black">مشخصات هویتی دانش آموز</h1> |
|
|
|
|
|
|
|
<p className="font-bold text-gray-300 text-sm">اطلاعات هویتی دانش آموز را با دقت تکمیل و عکس مدارک را بارگزاری نمایید</p> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="flex justify-between items-center"> |
|
|
|
|
|
|
|
<Input title="نام مدرسه" borderType="rounded" gapSize="20" direction='rtl' id={4}/> |
|
|
|
|
|
|
|
<select className="bg-white border border-solid border-gray-200 w-full px-3 rounded text-gray-400 outline-red52 mx-2 h-12 mt-6"> |
|
|
|
|
|
|
|
{grades.map((item) =>( |
|
|
|
|
|
|
|
<option key={`Grade__${item.id}`}>{item.title}</option> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
<Input title="نام" borderType="rounded" gapSize="8" direction='rtl' id={5}/> |
|
|
|
|
|
|
|
<Input title="کدملی" borderType="rounded" gapSize="12" id={6} type='number'/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="flex pt-10 justify-end"> |
|
|
|
|
|
|
|
<div className="w-40"> |
|
|
|
|
|
|
|
<Button borderType='rounded' title='مرحله بعد' onClick={() => |
|
|
|
|
|
|
|
setSteps(1) |
|
|
|
|
|
|
|
} /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</> |
|
|
|
</> |
|
|
|