Reduce index stats cards

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-06-02 07:41:38 +04:00
parent a4536993f6
commit c6d4b5a08d
2 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -80,11 +80,11 @@ export default function Home({errorCode, errorMessage, stats}) {
<KatKayLa tit='Paroles' kantite={stats.countParole} href='/paroles' as='/paroles' />
<KatKayLa tit='Artistes' kantite={stats.countArtiste} href='/awtis?paj&paj=1' as='/awtis/paj/1' />
</Grid>
<Box marginBottom={3}>
<Grid container spacing={2} marginBottom={3}>
{statsByLang.map(({code, value, emoji}) => (
<KatStats key={code} emoji={emoji} value={value} total={stats.countParole} />
))}
</Box>
</Grid>
</Container>
<Footer />
</Box>