@@ -11,7 +11,6 @@ import { AuthError } from 'common/models/auth';
1111import { useAuth } from 'common/hooks/useAuth' ;
1212import { useProgress } from 'common/hooks/useProgress' ;
1313import Input from 'common/components/Input/Input' ;
14- import HeaderRow from 'common/components/Text/HeaderRow' ;
1514import { formatAuthError } from 'common/utils/auth-errors' ;
1615import AuthErrorDisplay from 'common/components/Auth/AuthErrorDisplay' ;
1716import AuthLoadingIndicator from 'common/components/Auth/AuthLoadingIndicator' ;
@@ -152,17 +151,14 @@ const VerificationForm = ({
152151 >
153152 { ( { dirty, isSubmitting } ) => (
154153 < Form data-testid = { `${ testid } -form` } >
155- < HeaderRow border >
156- < div > { t ( 'email-verification .title' , { ns : 'auth' } ) } </ div >
157- </ HeaderRow >
154+ < h1 className = "ls-verification-form__title" >
155+ { t ( 'confirm-account .title' , { ns : 'auth' } ) }
156+ </ h1 >
158157
159158 < div className = "ls-verification-form__message" >
160- < IonText > { t ( 'email-verification.message' , { ns : 'auth' } ) } </ IonText >
161- { email && (
162- < IonText className = "ls-verification-form__email" >
163- < strong > { email } </ strong >
164- </ IonText >
165- ) }
159+ < IonText >
160+ { t ( 'confirm-account.message' , { ns : 'auth' } ) } { email && < strong > { email } </ strong > }
161+ </ IonText >
166162 </ div >
167163
168164 < Input
@@ -184,18 +180,29 @@ const VerificationForm = ({
184180 disabled = { isSubmitting || ! dirty || isLoading }
185181 data-testid = { `${ testid } -button-submit` }
186182 >
187- { t ( 'confirm' , { ns : 'auth' } ) }
183+ { t ( 'confirm-account.submit ' , { ns : 'auth' } ) }
188184 </ IonButton >
189185
190- < div className = "ls-verification-form__resend" >
186+ < IonButton
187+ fill = "outline"
188+ color = "medium"
189+ className = "ls-verification-form__resend-button"
190+ expand = "block"
191+ onClick = { handleResendCode }
192+ disabled = { isSubmitting || isLoading }
193+ data-testid = { `${ testid } -button-resend` }
194+ >
195+ { t ( 'resend-code' , { ns : 'auth' } ) }
196+ </ IonButton >
197+
198+ < div className = "ls-verification-form__back-link" >
191199 < IonButton
192200 fill = "clear"
193201 color = "medium"
194- onClick = { handleResendCode }
195- disabled = { isSubmitting || isLoading }
196- data-testid = { `${ testid } -button-resend` }
202+ routerLink = "/auth/signin"
203+ data-testid = { `${ testid } -button-back` }
197204 >
198- { t ( 'resend-code ' , { ns : 'auth' } ) }
205+ ← { t ( 'back-to-login ' , { ns : 'auth' } ) }
199206 </ IonButton >
200207 </ div >
201208 </ Form >
0 commit comments