Skip to content

Commit

Permalink
Merge pull request #1161 from SocialGouv/fix/erreurs-sur-liens
Browse files Browse the repository at this point in the history
fix(us-2130)-modifier les style de filAriane et lien external
  • Loading branch information
Anhara01 authored Dec 8, 2023
2 parents e0131ce + 7504d53 commit 1099072
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion components/FilAriane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function FilAriane({ path }: FilArianeProps) {
<>
<Link
href={href}
className='text-s-regular text-content_color underline hover:text-primary_darken'
className='text-s-regular text-content_color underline hover:text-primary'
>
{label}
</Link>
Expand Down
2 changes: 1 addition & 1 deletion components/LienRetour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function LienRetour({ returnUrlOrPath }: LienRetourProps) {
<nav aria-label="Fil d'ariane">
<Link
href={returnUrlOrPath}
className='flex items-center text-s-regular text-content_color underline hover:text-primary_darken'
className='flex items-center text-s-regular text-content_color underline hover:text-primary'
>
<IconComponent
name={IconName.ArrowBackward}
Expand Down
6 changes: 2 additions & 4 deletions components/chat/HeaderChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function HeaderChat({
<div className=' items-center mx-4 my-6 short:hidden'>
<div className='pb-3 flex items-center justify-between'>
<button
className='border-none rounded-full mr-2 bg-primary_lighten flex items-center hover:text-primary'
className='border-none rounded-full mr-2 bg-primary_lighten flex items-center hover:text-primary focus:pr-2'
aria-label={labelRetour}
onClick={onBack}
>
Expand All @@ -32,9 +32,7 @@ export default function HeaderChat({
focusable={false}
className='w-5 h-5 fill-primary mr-3'
/>
<span className='text-s-regular underline hover:text-primary_darken'>
Retour
</span>
<span className='text-s-regular text-content underline'>Retour</span>
</button>
{iconName && (
<button
Expand Down
2 changes: 1 addition & 1 deletion components/chat/LienEvenement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function LienEvenement({
>
<Link
href={`/mes-jeunes/edition-rdv?idRdv=${infoEvenement.id}`}
className='underline text-[inherit]'
className='underline text-content_color hover:text-primary'
>
Voir l’événement{' '}
<span className='sr-only'>{infoEvenement.titre}</span>
Expand Down
2 changes: 1 addition & 1 deletion components/chat/LienEvenementEmploi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function LienEvenementEmploi({
href={infoEvenementEmploi.url}
target='_blank'
rel='noreferrer noopener'
className='underline text-[inherit] flex items-center'
className='underline text-primary hover:text-primary_darken flex items-center'
>
Voir l’événement emploi{' '}
<span className='sr-only'>
Expand Down
2 changes: 1 addition & 1 deletion components/chat/LienOffre.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function LienOffre({
>
<Link
href={`/offres/${typeToUrlParam(infoOffre.type)}/${infoOffre.id}`}
className='underline text-[inherit]'
className='text-content_color underline hover:text-primary'
>
Voir l’offre <span className='sr-only'>{infoOffre.titre}</span>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion components/chat/LienSessionMilo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function LienSessionMilo({
href={`/agenda/sessions/${infoSessionMilo.id}`}
target='_blank'
rel='noreferrer noopener'
className='underline text-[inherit] flex items-center'
className='underline text-primary hover:primary_darken flex items-center'
>
Voir les détails de la session{' '}
<span className='sr-only'>
Expand Down
2 changes: 1 addition & 1 deletion components/jeune/BlocInformationJeune.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function DossierExterne(props: { href: string; onClick: () => void }) {
role='img'
title='ouvrir'
aria-hidden={true}
className='ml-2 w-4 h-4 fill-primary'
className='ml-2 w-4 h-4 fill-[currentColor]'
/>
</a>
</dd>
Expand Down
2 changes: 1 addition & 1 deletion components/layouts/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function Footer({ conseiller }: FooterProps) {
{liens.map(({ url, label }) => (
<li
key={label.toLowerCase().replace(/\s/g, '-')}
className='mr-4 text-s-regular text-primary_darken hover:text-primary'
className='mr-4 text-s-regular text-primary hover:text-primary_darken'
>
<ExternalLink
key={url}
Expand Down

0 comments on commit 1099072

Please sign in to comment.