fix: lien vers le titre phare sur la page artiste
This commit is contained in:
@@ -146,6 +146,7 @@ export default function AwtisDetay({anAwtis}) {
|
|||||||
<Grid container>
|
<Grid container>
|
||||||
{coverUrl && (
|
{coverUrl && (
|
||||||
<Grid size={{xs: 12, sm: 4}}>
|
<Grid size={{xs: 12, sm: 4}}>
|
||||||
|
<Link href={`/paroles/${titrePhare.slug}`} style={{display: 'block', height: '100%'}}>
|
||||||
<Box sx={{position: 'relative', minHeight: 130, height: '100%'}}>
|
<Box sx={{position: 'relative', minHeight: 130, height: '100%'}}>
|
||||||
<Image
|
<Image
|
||||||
src={coverUrl}
|
src={coverUrl}
|
||||||
@@ -157,12 +158,15 @@ export default function AwtisDetay({anAwtis}) {
|
|||||||
style={{objectFit: 'cover'}}
|
style={{objectFit: 'cover'}}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
</Link>
|
||||||
</Grid>
|
</Grid>
|
||||||
)}
|
)}
|
||||||
<Grid size={{xs: 12, sm: coverUrl ? 8 : 12}}>
|
<Grid size={{xs: 12, sm: coverUrl ? 8 : 12}}>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Typography variant='subtitle1' sx={{fontWeight: 700}} gutterBottom>
|
<Typography variant='subtitle1' sx={{fontWeight: 700}} gutterBottom>
|
||||||
|
<Link href={`/paroles/${titrePhare.slug}`} style={{color: 'inherit', textDecoration: 'none'}}>
|
||||||
{titrePhare.titre}
|
{titrePhare.titre}
|
||||||
|
</Link>
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant='caption' sx={{color: 'text.secondary', display: 'block', mb: 1}}>
|
<Typography variant='caption' sx={{color: 'text.secondary', display: 'block', mb: 1}}>
|
||||||
Écouter sur
|
Écouter sur
|
||||||
|
|||||||
Reference in New Issue
Block a user