feat: ajouter le logo Mastodon au badge des commentaires fédérés
Déploiement FRONT BETA / check (push) Successful in 2m12s
Déploiement FRONT PROD / check (push) Successful in 2m16s
Déploiement FRONT BETA / deploy (push) Successful in 23s
Déploiement FRONT PROD / deploy (push) Successful in 22s

This commit is contained in:
2026-07-05 19:35:40 +04:00
parent 5778d865e2
commit 75c5979478
+7 -1
View File
@@ -6,6 +6,7 @@ import Avatar from '@mui/material/Avatar'
import Typography from '@mui/material/Typography'
import Chip from '@mui/material/Chip'
import Link from 'next/link'
import {Mastodon} from '@icons-pack/react-simple-icons'
function formatAuteur(commentaire) {
if (commentaire.origine === 'activitypub') {
@@ -40,7 +41,12 @@ export default function Komante({commentaires}) {
</Link>
) : auteur}
{estFedere && (
<Chip label='Mastodon' size='small' sx={{ml: 1}} />
<Chip
label='Mastodon'
size='small'
icon={<Mastodon size={14} color='#6364FF' title='' />}
sx={{ml: 1}}
/>
)}
</Typography>
<Typography variant='body2'>{commentaire.contenu}</Typography>