fix: lien vers le titre phare sur la page artiste

This commit is contained in:
2026-07-03 19:59:49 +04:00
parent 55967bfc3c
commit a56b355493
+4
View File
@@ -146,6 +146,7 @@ export default function AwtisDetay({anAwtis}) {
<Grid container>
{coverUrl && (
<Grid size={{xs: 12, sm: 4}}>
<Link href={`/paroles/${titrePhare.slug}`} style={{display: 'block', height: '100%'}}>
<Box sx={{position: 'relative', minHeight: 130, height: '100%'}}>
<Image
src={coverUrl}
@@ -157,12 +158,15 @@ export default function AwtisDetay({anAwtis}) {
style={{objectFit: 'cover'}}
/>
</Box>
</Link>
</Grid>
)}
<Grid size={{xs: 12, sm: coverUrl ? 8 : 12}}>
<CardContent>
<Typography variant='subtitle1' sx={{fontWeight: 700}} gutterBottom>
<Link href={`/paroles/${titrePhare.slug}`} style={{color: 'inherit', textDecoration: 'none'}}>
{titrePhare.titre}
</Link>
</Typography>
<Typography variant='caption' sx={{color: 'text.secondary', display: 'block', mb: 1}}>
Écouter sur