Add ccheart_red icon
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import PropTypes from 'prop-types'
|
||||
import {useRouter} from 'next/navigation'
|
||||
import Image from 'next/image'
|
||||
import {format} from 'date-fns'
|
||||
import {fr} from 'date-fns/locale'
|
||||
import Card from '@mui/material/Card'
|
||||
@@ -65,6 +66,18 @@ export default function TeksKat({parole}) {
|
||||
<Typography display='inline' style={{marginRight: 5}} variant='h6' component='h2'>
|
||||
{titre}
|
||||
</Typography>
|
||||
{attributes.creativeCommons && (
|
||||
<Box marginInline={1}>
|
||||
<Image
|
||||
width={24}
|
||||
height={24}
|
||||
title='Creative Commons'
|
||||
alt='ccheart_red'
|
||||
src='/images/cc/icons/ccheart_red.svg'
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
{attributes.explicitLyrics && (
|
||||
<ExplicitIcon style={{marginRight: 5}} color='error' fontSize='small' />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user