Add Creative Comons license to Teks

This commit is contained in:
2024-04-14 07:08:24 +04:00
parent dcd6e98b05
commit 136925daa3
+5
View File
@@ -176,6 +176,11 @@ export default function Teks({parole}) {
<i>parole soumise par {parole.userAdmin.data.attributes.firstname}</i>
</Typography>
)}
{parole.creativeCommons && (
<Box sx={{maxWidth: 220, margin: '0 auto', textAlign: 'center'}}>
<LicenseModal license={parole.creativeCommons.toLowerCase()} />
</Box>
)}
{(parole.okiMizikID || parole.streamAudio.length > 0 || parole.gadeEmbed) && (
<Box sx={{textAlign: 'center'}}>
<EntegreMizik parole={parole} isMobile={isMobile} />