fixed layout of registration page
This commit is contained in:
parent
bbd137a334
commit
8b2529013f
@ -72,10 +72,10 @@ const RegisterPage = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
||||||
<div className="col-12 col-lg-5 col-xl-4 d-flex align-items-center p-4 p-sm-5 bg-white">
|
<div className="col-12 col-lg-5 col-xl-4 d-flex align-items-center p-4 p-sm-5 bg-gray-60">
|
||||||
<div className="w-100" style={{ maxWidth: 420, margin: "0 auto" }}>
|
<div className="w-100" style={{ maxWidth: 420, margin: "0 auto" }}>
|
||||||
|
|
||||||
<h4 className="mb-2">Adventure starts here 🚀</h4>
|
<h4 className="mb-2">Adventure starts here </h4>
|
||||||
<p className="mb-3">Make your app management easy and fun!</p>
|
<p className="mb-3">Make your app management easy and fun!</p>
|
||||||
|
|
||||||
<form
|
<form
|
||||||
@ -83,13 +83,15 @@ const RegisterPage = () => {
|
|||||||
className="mb-2"
|
className="mb-2"
|
||||||
onSubmit={handleSubmit(onSubmit)}
|
onSubmit={handleSubmit(onSubmit)}
|
||||||
>
|
>
|
||||||
<div className="mb-2 text-start">
|
|
||||||
|
<div className="row">
|
||||||
|
<div className="col-12 col-sm-6 mb-2 text-start">
|
||||||
<label htmlFor="organizatioinName" className="form-label">
|
<label htmlFor="organizatioinName" className="form-label">
|
||||||
Organization Name
|
Organization Name
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
className="form-control"
|
className="form-control form-control-sm"
|
||||||
id="organizatioinName"
|
id="organizatioinName"
|
||||||
{...register("organizatioinName")}
|
{...register("organizatioinName")}
|
||||||
name="organizatioinName"
|
name="organizatioinName"
|
||||||
@ -105,13 +107,13 @@ const RegisterPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="mb-2 text-start">
|
<div className="col-12 col-sm-6 mb-2 text-start">
|
||||||
<label htmlFor="email" className="form-label">
|
<label htmlFor="email" className="form-label">
|
||||||
Email
|
Email
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
className="form-control"
|
className="form-control form-control-sm"
|
||||||
id="email"
|
id="email"
|
||||||
name="email"
|
name="email"
|
||||||
placeholder="Enter your email"
|
placeholder="Enter your email"
|
||||||
@ -126,21 +128,20 @@ const RegisterPage = () => {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div className="mb-2 form-password-toggle text-start">
|
<div className="mb-2 form-password-toggle text-start">
|
||||||
<label className="form-label" htmlFor="contactperson">
|
<label className="form-label" htmlFor="contactperson">
|
||||||
Contact Person
|
Contact Person
|
||||||
</label>
|
</label>
|
||||||
<div className="input-group">
|
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
id="contactperson"
|
id="contactperson"
|
||||||
{...register("contactPerson")}
|
{...register("contactPerson")}
|
||||||
className="form-control"
|
className="form-control form-control-sm"
|
||||||
name="contactPerson"
|
name="contactPerson"
|
||||||
placeholder="Contact Person"
|
placeholder="Contact Person"
|
||||||
aria-describedby="contactperson"
|
aria-describedby="contactperson"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
{errors.contactPerson && (
|
{errors.contactPerson && (
|
||||||
<div
|
<div
|
||||||
className="danger-text text-start"
|
className="danger-text text-start"
|
||||||
@ -154,17 +155,15 @@ const RegisterPage = () => {
|
|||||||
<label className="form-label" htmlFor="contactnumber">
|
<label className="form-label" htmlFor="contactnumber">
|
||||||
Contact Number
|
Contact Number
|
||||||
</label>
|
</label>
|
||||||
<div className="input-group">
|
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
id="contactnumber"
|
id="contactnumber"
|
||||||
{...register("contactNumber")}
|
{...register("contactNumber")}
|
||||||
className="form-control"
|
className="form-control form-control-sm"
|
||||||
name="contactNumber"
|
name="contactNumber"
|
||||||
placeholder="Contact Number"
|
placeholder="Contact Number"
|
||||||
aria-describedby="contactnumber"
|
aria-describedby="contactnumber"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
{errors.contactNumber && (
|
{errors.contactNumber && (
|
||||||
<div
|
<div
|
||||||
className="danger-text text-start"
|
className="danger-text text-start"
|
||||||
@ -178,16 +177,14 @@ const RegisterPage = () => {
|
|||||||
<label className="form-label" htmlFor="contactnumber">
|
<label className="form-label" htmlFor="contactnumber">
|
||||||
About Organization
|
About Organization
|
||||||
</label>
|
</label>
|
||||||
<div className="input-group">
|
|
||||||
<textarea
|
<textarea
|
||||||
id="about"
|
id="about"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
placeholder="about"
|
placeholder="About..."
|
||||||
aria-label="about"
|
aria-label="about"
|
||||||
aria-describedby="about"
|
aria-describedby="about"
|
||||||
{...register("about")}
|
{...register("about")}
|
||||||
></textarea>
|
></textarea>
|
||||||
</div>
|
|
||||||
{errors.about && (
|
{errors.about && (
|
||||||
<div
|
<div
|
||||||
className="danger-text text-start"
|
className="danger-text text-start"
|
||||||
@ -201,9 +198,8 @@ const RegisterPage = () => {
|
|||||||
<label className="form-label" htmlFor="oragnizationSize">
|
<label className="form-label" htmlFor="oragnizationSize">
|
||||||
Organization Size
|
Organization Size
|
||||||
</label>
|
</label>
|
||||||
<div className="input-group">
|
|
||||||
<select
|
<select
|
||||||
className="form-select"
|
className="form-select form-select-sm"
|
||||||
id="oragnizationSize"
|
id="oragnizationSize"
|
||||||
name="oragnizationSize"
|
name="oragnizationSize"
|
||||||
{...register("oragnizationSize")}
|
{...register("oragnizationSize")}
|
||||||
@ -216,7 +212,6 @@ const RegisterPage = () => {
|
|||||||
<option value="100-200">100-200</option>
|
<option value="100-200">100-200</option>
|
||||||
<option value="more than 200">more than 200</option>
|
<option value="more than 200">more than 200</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
{errors.oragnizationSize && (
|
{errors.oragnizationSize && (
|
||||||
<div
|
<div
|
||||||
className="danger-text text-start"
|
className="danger-text text-start"
|
||||||
@ -230,9 +225,8 @@ const RegisterPage = () => {
|
|||||||
<label className="form-label" htmlFor="industryId">
|
<label className="form-label" htmlFor="industryId">
|
||||||
Industry
|
Industry
|
||||||
</label>
|
</label>
|
||||||
<div className="input-group">
|
|
||||||
<select
|
<select
|
||||||
className="form-select"
|
className="form-select form-select-sm"
|
||||||
id="industryId"
|
id="industryId"
|
||||||
name="industryId"
|
name="industryId"
|
||||||
{...register("industryId")}
|
{...register("industryId")}
|
||||||
@ -249,7 +243,6 @@ const RegisterPage = () => {
|
|||||||
<option disabled>Loading industries...</option>
|
<option disabled>Loading industries...</option>
|
||||||
)}
|
)}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
{errors.industryId && (
|
{errors.industryId && (
|
||||||
<div
|
<div
|
||||||
className="danger-text text-start"
|
className="danger-text text-start"
|
||||||
|
|||||||
@ -102,7 +102,7 @@ const ResetPassword = () => {
|
|||||||
className="mb-3"
|
className="mb-3"
|
||||||
onSubmit={handleSubmit(onSubmitResetPassword)}
|
onSubmit={handleSubmit(onSubmitResetPassword)}
|
||||||
>
|
>
|
||||||
<div className="mb-3">
|
<div className="mb-3 text-start">
|
||||||
<label htmlFor="email" className="form-label">
|
<label htmlFor="email" className="form-label">
|
||||||
Email
|
Email
|
||||||
</label>
|
</label>
|
||||||
@ -124,9 +124,9 @@ const ResetPassword = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mb-2 form-password-toggle">
|
<div className="mb-2 form-password-toggle text-start">
|
||||||
<div className="mt-2">
|
<div className="mt-2">
|
||||||
<label htmlFor="email" className="form-label list-group-item">
|
<label htmlFor="email" className="form-label">
|
||||||
New Password
|
New Password
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user