|
|
@@ -55,43 +55,44 @@ const Index = () => { |
|
|
<div style={BackgroundHead} width="100%"> |
|
|
<div style={BackgroundHead} width="100%"> |
|
|
<Stack direction="row" height='70px'> |
|
|
<Stack direction="row" height='70px'> |
|
|
<Typography ml={15} color='#FFF' variant="h4" sx={{ pt: 2 }}> |
|
|
<Typography ml={15} color='#FFF' variant="h4" sx={{ pt: 2 }}> |
|
|
<FormattedMessage id={showAccountLinkUpMessages ? 'loginSuccessMessage1' : 'iAmSmartLoginSuccessHeading'} /> |
|
|
|
|
|
|
|
|
<FormattedMessage id={showAccountLinkUpMessages ? 'loginSuccessMessage1' : 'login'} /> |
|
|
</Typography> |
|
|
</Typography> |
|
|
</Stack> |
|
|
</Stack> |
|
|
</div> |
|
|
</div> |
|
|
</Grid> |
|
|
</Grid> |
|
|
{/*row 1*/} |
|
|
{/*row 1*/} |
|
|
<Grid item xs={12} md={12} > |
|
|
|
|
|
<Grid container justifyContent="flex-start" alignItems="center" > |
|
|
|
|
|
<center> |
|
|
|
|
|
<CheckCircleOutlineIcon color="success" sx={{ width: "200px", height: "200px" }} /> |
|
|
|
|
|
{showAccountLinkUpMessages ? ( |
|
|
|
|
|
<Grid item xs={12} md={12} > |
|
|
|
|
|
<Typography variant="h3" sx={{ ml: 8, mt: 4, mr: 8, textAlign: "center" }}> |
|
|
|
|
|
<div dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: 'loginSuccessMessage2' }) }} /> |
|
|
|
|
|
</Typography> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
) : null} |
|
|
|
|
|
</center> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
|
|
<Stack alignItems="center" sx={{ width: '100%', px: 2 }}> |
|
|
|
|
|
<CheckCircleOutlineIcon color="success" sx={{ width: '200px', height: '200px' }} /> |
|
|
|
|
|
{showAccountLinkUpMessages ? ( |
|
|
|
|
|
<Typography |
|
|
|
|
|
component="div" |
|
|
|
|
|
variant="h3" |
|
|
|
|
|
sx={{ mt: 4, maxWidth: 900, textAlign: 'center' }} |
|
|
|
|
|
dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: 'loginSuccessMessage2' }) }} |
|
|
|
|
|
/> |
|
|
|
|
|
) : ( |
|
|
|
|
|
<Typography component="div" variant="h3" sx={{ mt: 4, maxWidth: 900, textAlign: 'center' }}> |
|
|
|
|
|
<FormattedMessage id="iAmSmartLoginSuccessHeading" /> |
|
|
|
|
|
</Typography> |
|
|
|
|
|
)} |
|
|
|
|
|
</Stack> |
|
|
</Grid> |
|
|
</Grid> |
|
|
{/*row 2*/} |
|
|
{/*row 2*/} |
|
|
<Grid item xs={12} md={12} > |
|
|
|
|
|
<Grid container justifyContent="flex-start" alignItems="center" > |
|
|
|
|
|
<center> |
|
|
|
|
|
<Button |
|
|
|
|
|
component="span" |
|
|
|
|
|
variant="contained" |
|
|
|
|
|
size="large" |
|
|
|
|
|
sx={{ m: 4 }} |
|
|
|
|
|
onClick={() => { |
|
|
|
|
|
navigate("/dashboard"); |
|
|
|
|
|
}} |
|
|
|
|
|
> |
|
|
|
|
|
<FormattedMessage id="loginSuccessMessage3" /> |
|
|
|
|
|
</Button> |
|
|
|
|
|
</center> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
<Grid item xs={12} md={12}> |
|
|
|
|
|
<Stack alignItems="center" sx={{ width: '100%' }}> |
|
|
|
|
|
<Button |
|
|
|
|
|
component="span" |
|
|
|
|
|
variant="contained" |
|
|
|
|
|
size="large" |
|
|
|
|
|
sx={{ m: 4 }} |
|
|
|
|
|
onClick={() => { |
|
|
|
|
|
navigate("/dashboard"); |
|
|
|
|
|
}} |
|
|
|
|
|
> |
|
|
|
|
|
<FormattedMessage id="loginSuccessMessage3" /> |
|
|
|
|
|
</Button> |
|
|
|
|
|
</Stack> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Grid > |
|
|
</Grid > |
|
|
|
|
|
|
|
|
|