@@ -274,27 +274,84 @@ const SelectProducts = (props: SelectProductsProps) => {
274274 </ div >
275275 ) }
276276 { orderInProcessOverlayVisible && (
277- < Modal withCloseButton = { false } opened = { true } onClose = { ( ) => setOrderInProcessOverlayVisible ( false ) } >
278- < div style = { { textAlign : 'center' , padding : '20px' } } >
279- < img style = { { width : '110px' } } src = { '/stopwatch-product-icon.svg' } alt = { '' } />
280- < div >
281- < h4 style = { { margin : '0' } } >
277+ < Modal
278+ withCloseButton = { false }
279+ opened = { true }
280+ onClose = { ( ) => setOrderInProcessOverlayVisible ( false ) }
281+ styles = { {
282+ body : {
283+ padding : '30px 24px'
284+ } ,
285+ content : {
286+ borderRadius : '8px' ,
287+ backgroundColor : props . colors ?. background || 'white'
288+ }
289+ } }
290+ >
291+ < div style = { {
292+ textAlign : 'center' ,
293+ display : 'flex' ,
294+ flexDirection : 'column' ,
295+ alignItems : 'center' ,
296+ gap : '16px' ,
297+ color : props . colors ?. primaryText || 'inherit'
298+ } } >
299+ < div style = { { width : '100%' } } >
300+ < h3 style = { {
301+ margin : '0 0 12px 0' ,
302+ fontSize : '20px' ,
303+ fontWeight : '600' ,
304+ color : props . colors ?. primaryText || 'inherit'
305+ } } >
282306 { t `Please continue in the new tab` }
283- </ h4 >
284- < Trans >
285- If a new tab did not open, please { ' ' }
286- < a href = { '/checkout/' + eventId + '/' + productMutation . data ?. data . short_id + '/details' + '?session_identifier=' + productMutation . data ?. data . session_identifier }
287- target = { '_blank' } rel = { 'noopener noreferrer' } >
288- < b > { t `click here` } </ b > .
289- </ a >
290- </ Trans >
307+ </ h3 >
308+
309+ < p style = { {
310+ margin : '0 0 20px 0' ,
311+ fontSize : '15px' ,
312+ lineHeight : '1.5' ,
313+ color : props . colors ?. primaryText || 'inherit'
314+ } } >
315+ { t `If a new tab did not open automatically, please click the button below to continue to checkout.` }
316+ </ p >
317+
318+ < Button
319+ component = "a"
320+ href = { '/checkout/' + eventId + '/' + productMutation . data ?. data . short_id + '/details' + '?session_identifier=' + productMutation . data ?. data . session_identifier }
321+ target = { '_blank' }
322+ rel = { 'noopener noreferrer' }
323+ fullWidth
324+ size = "md"
325+ styles = { {
326+ root : {
327+ backgroundColor : props . colors ?. secondary || '#228be6' ,
328+ color : props . colors ?. secondaryText || 'white' ,
329+ fontWeight : 600 ,
330+ marginBottom : '12px' ,
331+ '&:hover' : {
332+ backgroundColor : props . colors ?. secondary || '#1c7ed6' ,
333+ }
334+ }
335+ } }
336+ >
337+ { t `Continue to Checkout` }
338+ </ Button >
339+
291340 < Button
292- style = { { marginTop : '20px' } }
293341 onClick = { ( ) => setOrderInProcessOverlayVisible ( false ) }
294- variant = { 'transparent' }
295- size = { 'xs' }
342+ variant = { 'subtle' }
343+ size = { 'sm' }
344+ styles = { {
345+ root : {
346+ color : props . colors ?. primaryText || '#228be6' ,
347+ '&:hover' : {
348+ backgroundColor : 'transparent' ,
349+ textDecoration : 'underline'
350+ }
351+ }
352+ } }
296353 >
297- { t `Dismiss` }
354+ { t `Dismiss this message ` }
298355 </ Button >
299356 </ div >
300357 </ div >
0 commit comments