@@ -66,9 +66,7 @@ export default function SSICredentialVerifyFromVPRequestPage(): React.ReactEleme
6666 height : '100%' ,
6767 backgroundColor : '#FFFFFF' ,
6868 alignItems : 'center' ,
69- justifyContent : 'center' ,
70- marginLeft : 4 ,
71- marginRight : 4 ,
69+ justifyContent : 'center'
7270 } } >
7371 < div style = { {
7472 display : 'flex' ,
@@ -87,48 +85,35 @@ export default function SSICredentialVerifyFromVPRequestPage(): React.ReactEleme
8785 marginBottom : '25%' ,
8886 marginTop : '25%'
8987 } } >
88+ < div style = { { flexGrow : 1 , display : 'flex' , justifyContent : 'center' , marginBottom : 0 } } >
89+ { < MemoizedAuthenticationQR ecosystem = { ecosystem }
90+ fgColor = { 'rgba(50, 57, 72, 1)' }
91+ width = { pageConfig . rightPaneLeftPane ?. qrCode ?. width ?? 300 }
92+ vpDefinitionId = { flowRouter . getVpDefinitionId ( ) }
93+ onAuthRequestRetrieved = { console . log }
94+ onSignInComplete = { onSignInComplete }
95+ setQrCodeData = { setDeepLink } /> }
96+ </ div >
97+ < div style = { {
98+ paddingTop : 20 ,
99+ paddingBottom : 20 ,
100+ display : 'flex' ,
101+ flexDirection : 'column' ,
102+ alignItems : 'center' ,
103+ gap : '1rem'
104+ } } >
105+ < DeepLinkButton link = { deepLink } buttonType = { "secondary" } textColor = { pageConfig . textColor } style = { { width : 300 } } />
106+ < SSIPrimaryButton
107+ caption = { t ( 'credential_verify_request_right_pane_button_caption' ) }
108+ onClick = { async ( ) => {
109+ navigate ( '/information/manual/request' ) ;
110+ } }
111+ />
112+ </ div >
113+
90114
91- < div style = { { flexGrow : 1 , display : 'flex' , justifyContent : 'center' , marginBottom : 0 } } >
92- < NonMobileOS >
93- < div style = { { flexGrow : 1 , display : 'flex' , justifyContent : 'center' , alignItems : 'center' } } >
94- { /*Whether the QR code is shown (mobile) is handled in the component itself */ }
95- { < MemoizedAuthenticationQR ecosystem = { ecosystem }
96- fgColor = { 'rgba(50, 57, 72, 1)' }
97- width = { pageConfig . rightPaneLeftPane ?. qrCode ?. width ?? 300 }
98- vpDefinitionId = { flowRouter . getVpDefinitionId ( ) }
99- onAuthRequestRetrieved = { console . log }
100- onSignInComplete = { onSignInComplete }
101- setQrCodeData = { setDeepLink } /> }
102- </ div >
103- </ NonMobileOS >
104- < MobileOS >
105- { < MemoizedAuthenticationQR ecosystem = { ecosystem }
106- vpDefinitionId = { flowRouter . getVpDefinitionId ( ) }
107- onAuthRequestRetrieved = { console . log }
108- onSignInComplete = { onSignInComplete }
109- setQrCodeData = { setDeepLink } /> }
110- < div style = { { gap : 24 , display : 'flex' , flexDirection : 'column' , alignItems : 'center' , overflow : 'hidden' } } >
111- < DeepLinkButton style = { { flexGrow : 1 } } link = { deepLink } />
112- </ div >
113- </ MobileOS >
114- </ div >
115- < div style = { {
116- paddingTop : 40 ,
117- paddingBottom : 20 ,
118- display : 'flex' ,
119- flexDirection : 'column' ,
120- alignItems : 'center' ,
121- gap : '1rem'
122- } } >
123- < SSIPrimaryButton
124- caption = { t ( 'credential_verify_request_right_pane_button_caption' ) }
125- onClick = { async ( ) => {
126- navigate ( '/information/manual/request' )
127- } }
128- />
129- < Text style = { { flexGrow : 1 } } className = { `${ style . pReduceLineSpace } poppins-semi-bold-16` }
130- lines = { t ( 'credential_verify_request_right_pane_bottom_paragraph' ) . split ( '\n' ) } />
131- </ div >
115+ < Text style = { { flexGrow : 1 } } className = { `${ style . pReduceLineSpace } poppins-semi-bold-16` }
116+ lines = { t ( 'credential_verify_request_right_pane_bottom_paragraph' ) . split ( '\n' ) } />
132117 </ div >
133118 < div style = { {
134119 display : 'flex' ,
0 commit comments