Reduce KatStats

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-06-04 01:38:19 +04:00
parent c6d4b5a08d
commit c6131ffc43
4 changed files with 9 additions and 17 deletions
+1 -12
View File
@@ -13,20 +13,9 @@ export default function TraductionsStats({value, total}) {
<Box sx={{width: '100%'}}>
<Grid container rowSpacing={3} columnSpacing={6} justifyContent='space-around'>
<Grid item xs={12} md={6}>
<Typography style={{fontWeight: 'bold'}} align='center' variant='h5'>
<Typography style={{fontWeight: 'bold'}} align='center' variant='h6'>
{translated}
</Typography>
<Typography variant='h6' align='center' >
Paroles traduites
</Typography>
</Grid>
<Grid item xs={12} md={6}>
<Typography style={{fontWeight: 'bold'}} align='center' variant='h5'>
{value}
</Typography>
<Typography variant='h6' align='center' >
Paroles non traduites
</Typography>
</Grid>
</Grid>
<BarStats value={value} percent={percent} />