feat: styliser le lien vers le fil BOKANTE
Déploiement FRONT BETA / check (push) Successful in 2m7s
Déploiement FRONT PROD / check (push) Successful in 2m15s
Déploiement FRONT BETA / deploy (push) Successful in 24s
Déploiement FRONT PROD / deploy (push) Successful in 24s

This commit is contained in:
2026-07-07 16:13:57 +04:00
parent f5a4014e41
commit 99daeb014c
+24 -2
View File
@@ -14,7 +14,7 @@ import FormControl from '@mui/material/FormControl'
import InputLabel from '@mui/material/InputLabel' import InputLabel from '@mui/material/InputLabel'
import Select from '@mui/material/Select' import Select from '@mui/material/Select'
import MenuItem from '@mui/material/MenuItem' import MenuItem from '@mui/material/MenuItem'
import Link from 'next/link' import Link from '@mui/material/Link'
import {Mastodon} from '@icons-pack/react-simple-icons' import {Mastodon} from '@icons-pack/react-simple-icons'
const BOKANTE_URL = process.env.NEXT_PUBLIC_BOKANTE_URL || 'https://bokante.o-k-i.net' const BOKANTE_URL = process.env.NEXT_PUBLIC_BOKANTE_URL || 'https://bokante.o-k-i.net'
@@ -59,7 +59,29 @@ export default function ReponsMastodon({bokanteStatusId}) {
<Box sx={{maxWidth: 700, margin: '1em auto 0', textAlign: 'center'}}> <Box sx={{maxWidth: 700, margin: '1em auto 0', textAlign: 'center'}}>
<Typography variant='body2' sx={{mb: 1}}> <Typography variant='body2' sx={{mb: 1}}>
Rejoignez la discussion sur le Fediverse via{' '} Rejoignez la discussion sur le Fediverse via{' '}
<Link href={tootUrl} target='_blank' rel='noopener noreferrer'>BOKANTE (Mastodon)</Link> <Link
href={tootUrl}
target='_blank'
rel='noopener noreferrer'
underline='hover'
sx={{
display: 'inline-flex',
alignItems: 'center',
gap: 0.5,
px: 1,
py: 0.25,
borderRadius: 1,
bgcolor: 'action.hover',
color: 'primary.main',
fontWeight: 500,
textDecoration: 'none',
'&:hover': {
bgcolor: 'action.selected'
}
}}
>
BOKANTE (Mastodon)
</Link>
</Typography> </Typography>
<Button <Button
variant='outlined' variant='outlined'