Add soutit to KatKayLa

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2021-08-21 21:37:09 +02:00
parent 70892ac488
commit 0e48e603a3
2 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -63,8 +63,8 @@ export default function Home({kantiteAwtis, kantiteTeks}) {
}
const kantite = [
{id: 1, tit: 'Kantité Tèks', kantite: kantiteTeks, route: '/teks'},
{id: 2, tit: 'Kantité Awtis', kantite: kantiteAwtis, route: '/awtis?paj&paj=1'}
{id: 1, tit: 'Tèks', soutit: 'Texte', kantite: kantiteTeks, route: '/teks'},
{id: 2, tit: 'Awtis', soutit: 'Artiste', kantite: kantiteAwtis, route: '/awtis?paj&paj=1'}
]
const matches = useMediaQuery('(max-width:600px)')
@@ -104,7 +104,7 @@ export default function Home({kantiteAwtis, kantiteTeks}) {
</Container>
<Container style={{marginBlock: '1.5em'}}>
<Grid container spacing={3}>
{kantite.map(k => <KatKayLa key={k.id} tit={k.tit} kantite={k.kantite} route={k.route} />)}
{kantite.map(k => <KatKayLa key={k.id} tit={k.tit} soutit={k.soutit} kantite={k.kantite} route={k.route} />)}
</Grid>
</Container>
<Carousel