Add Button to LoginProvider

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-10-31 23:01:33 +04:00
parent a20d0d4142
commit 4de3bb1f97
2 changed files with 19 additions and 15 deletions
+7 -7
View File
@@ -35,20 +35,20 @@ const PROVIDERS = [
{
id: 'google',
title: 'Google',
width: 46,
height: 46
width: 16,
height: 16
},
{
id: 'twitter',
title: 'Twitter',
width: 56,
height: 46
width: 16,
height: 13
},
{
id: 'github',
title: 'GitHub',
width: 52,
height: 51
width: 16,
height: 15
}
]
@@ -258,7 +258,7 @@ function Koneksyon({chimen}) {
<Box sx={{textAlign: 'center', marginBottom: 3}}>
<Typography gutterBottom textAlign='center'>Connectez-vous avec</Typography>
<Grid container alignItems='center' justifyContent='center' spacing={5}>
<Grid container alignItems='center' justifyContent='center' columnSpacing={{xs: 1, sm: 2, md: 3}}>
{PROVIDERS.map(({id, title, width, height}) => (
<Grid key={id} item marginTop={1}>
<LoginProvider id={id} title={title} width={width} height={height} callbackUrl={`${siteUrl}${chimen}`} />