Add ccheart_red icon

This commit is contained in:
2024-04-14 07:07:49 +04:00
parent ea70d6b0d0
commit dcd6e98b05
2 changed files with 27 additions and 0 deletions
+13
View File
@@ -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' />
)}