Fix koneksyon display
This commit is contained in:
@@ -106,7 +106,7 @@ function Koneksyon({detay, tit, soutit, titGwose, chimen}) {
|
|||||||
return (
|
return (
|
||||||
<Container maxWidth='sm'>
|
<Container maxWidth='sm'>
|
||||||
{tit && (
|
{tit && (
|
||||||
<Box align='center'>
|
<Box sx={{textAlign: 'center'}}>
|
||||||
<Typography display='inline' variant={`h${titGwose}`} component='h1'>
|
<Typography display='inline' variant={`h${titGwose}`} component='h1'>
|
||||||
{tit}
|
{tit}
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -169,8 +169,16 @@ function Koneksyon({detay, tit, soutit, titGwose, chimen}) {
|
|||||||
|
|
||||||
{loading && <LinearProgress size={24} style={{width: '100%', marginTop: '1em'}} />}
|
{loading && <LinearProgress size={24} style={{width: '100%', marginTop: '1em'}} />}
|
||||||
|
|
||||||
|
<Box sx={{textAlign: 'center', marginBlock: 3}}>
|
||||||
|
{PROVIDERS.map(({id, title, icon}) => (
|
||||||
|
<Box key={id} marginTop={1}>
|
||||||
|
<LoginProvider id={id} title={title} icon={icon} callbackUrl={`${siteUrl}${chimen}`} />
|
||||||
|
</Box>
|
||||||
|
))}
|
||||||
|
</Box>
|
||||||
|
|
||||||
{detay && (
|
{detay && (
|
||||||
<Box align='center' marginTop={3}>
|
<Box sx={{textAlign: 'center', marginTop: 3}}>
|
||||||
<Typography display='block' variant='h6' component='h2'>
|
<Typography display='block' variant='h6' component='h2'>
|
||||||
Pour obtenir un accès, faites-en la demande
|
Pour obtenir un accès, faites-en la demande
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -183,14 +191,6 @@ function Koneksyon({detay, tit, soutit, titGwose, chimen}) {
|
|||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Box marginTop={3} marginBottom={3} align='center'>
|
|
||||||
{PROVIDERS.map(({id, title, icon}) => (
|
|
||||||
<Box key={id} marginTop={1}>
|
|
||||||
<LoginProvider id={id} title={title} icon={icon} callbackUrl={`${siteUrl}${chimen}`} />
|
|
||||||
</Box>
|
|
||||||
))}
|
|
||||||
</Box>
|
|
||||||
|
|
||||||
{loginError && (
|
{loginError && (
|
||||||
<Snackbar
|
<Snackbar
|
||||||
open={open}
|
open={open}
|
||||||
|
|||||||
Reference in New Issue
Block a user