diff --git a/client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-already-wordpress/components/form/index.tsx b/client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-already-wpcom/components/form/index.tsx similarity index 81% rename from client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-already-wordpress/components/form/index.tsx rename to client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-already-wpcom/components/form/index.tsx index ddcad2a359cb9..220ad2bd32f73 100644 --- a/client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-already-wordpress/components/form/index.tsx +++ b/client/landing/stepper/declarative-flow/internals/steps-repository/site-migration-already-wpcom/components/form/index.tsx @@ -25,7 +25,7 @@ const CheckboxIntents = ( { label, control, value }: CheckboxProps ) => ( render={ ( { field } ) => { return ( { if ( isChecked ) { field.onChange( [ ...field.value, value ] ); @@ -57,7 +57,7 @@ const OtherDetails = ( { label, control, error }: OtherDetailsProps ) => { rules={ { required: translate( 'Please, provide more details.' ) } } render={ ( { field } ) => { return ( -
+
{ label } { placeholder={ translate( 'Share any other details that will help us figure out what we need to do next.' ) } - className={ clsx( 'site-migration-already-wordpress__form-textarea', { - 'site-migration-already-wordpress__form-textarea--error': error, + className={ clsx( 'site-migration-already-wpcom__form-textarea', { + 'site-migration-already-wpcom__form-textarea--error': error, } ) } /> { error && error.message && ( -

{ error.message }

+

{ error.message }

) }
); @@ -129,21 +129,19 @@ const Form: FC< FormProps > = ( { onComplete } ) => { const isOtherChecked = intents.includes( 'other' ); return ( -
-
-
-
+
+ +
+

{ translate( 'What brought you here today?' ) }

{ errors.intents && ( -

- { errors.intents.message } -

+

{ errors.intents.message }

) }
import( './steps-repository/site-migration-already-wordpress' ), + slug: 'already-wpcom', + asyncComponent: () => import( './steps-repository/site-migration-already-wpcom' ), }, PICK_SITE: {