Reduce KatStats
This commit is contained in:
+4
-1
@@ -80,7 +80,10 @@ 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>
|
||||
<Grid container spacing={2} marginBottom={3}>
|
||||
<Typography marginBottom={2} textAlign='center' sx={{fontWeight: 'bold'}} variant='h6' component='h4'>
|
||||
Traductions
|
||||
</Typography>
|
||||
<Grid container justifyContent='space-between' spacing={2} marginBottom={3}>
|
||||
{statsByLang.map(({code, value, emoji}) => (
|
||||
<KatStats key={code} emoji={emoji} value={value} total={stats.countParole} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user