@@ -15,7 +15,6 @@ import Input from 'components/Form/Input/Input';
15
15
import Alert from 'components/Alert/Alert' ;
16
16
import Link from 'next/link' ;
17
17
import OutboundLink from 'components/OutboundLink/OutboundLink' ;
18
- import styles from './RegistrationForm.module.css' ;
19
18
20
19
export const PASSWORD_FOR_EVERYBODY = 'nOnEeDfOrP@ssw0rd!' ;
21
20
@@ -115,7 +114,7 @@ function RegistrationForm({ initialValues, onSubmit, onSuccess }) {
115
114
validationSchema = { registrationSchema }
116
115
>
117
116
{ ( { isSubmitting } ) => (
118
- < Form className = { styles . RegistrationForm } >
117
+ < Form className = "w-full flex items-center flex-col [&>p]:my-5 [&>p]:mx-auto" >
119
118
< p >
120
119
We work closely with military veterans, service members, and spouses who are passionate
121
120
about transitioning into the tech industry. We work with over 7,000 members who are all
@@ -126,7 +125,7 @@ function RegistrationForm({ initialValues, onSubmit, onSuccess }) {
126
125
</ Link >
127
126
</ p >
128
127
129
- < div className = { styles . formContainer } >
128
+ < div className = "flex flex-col justify-between max-w-lg w-full" >
130
129
< Field
131
130
type = "email"
132
131
name = "email"
@@ -146,7 +145,7 @@ function RegistrationForm({ initialValues, onSubmit, onSuccess }) {
146
145
/>
147
146
148
147
< Field
149
- className = { styles . invisible }
148
+ className = "hidden"
150
149
type = "password"
151
150
name = "password"
152
151
label = "Password*"
@@ -156,7 +155,7 @@ function RegistrationForm({ initialValues, onSubmit, onSuccess }) {
156
155
/>
157
156
158
157
< Field
159
- className = { styles . invisible }
158
+ className = "hidden"
160
159
type = "password"
161
160
name = "confirm-password"
162
161
label = "Confirm Password*"
@@ -215,24 +214,19 @@ function RegistrationForm({ initialValues, onSubmit, onSuccess }) {
215
214
216
215
{ errorMessage && < Alert type = "error" > { errorMessage } </ Alert > }
217
216
218
- < hr className = { styles . seperator } />
217
+ < hr className = "my-8 mx-0 w-1/4" />
219
218
220
- < p className = { styles . aside } >
219
+ < p className = "bg-white border-1 border-solid border-secondary rounded-md text-sm py-2 px-3" >
221
220
The demographic information you provide, helps us understand our community needs, ensure
222
221
diversity, and provide specific resources to reach our mission. Thank you in advance for
223
222
providing honest answers.
224
223
< br />
225
- < span className = { styles . bold } > We do not sell your information to anyone.</ span >
224
+ < span className = "font- bold" > We do not sell your information to anyone.</ span >
226
225
</ p >
227
226
228
- < hr className = { styles . seperator } />
227
+ < hr className = "my-8 mx-0 w-1/4" />
229
228
230
- < Button
231
- className = { styles . topMargin }
232
- type = "submit"
233
- theme = "secondary"
234
- disabled = { isSubmitting }
235
- >
229
+ < Button className = "mt-4" type = "submit" theme = "secondary" disabled = { isSubmitting } >
236
230
Submit
237
231
</ Button >
238
232
</ Form >
0 commit comments