fix: fixed alt for Resistants photos

proto-module-actu-react
Jalil Arfaoui 2023-02-07 01:40:37 +01:00
parent c01f49a59b
commit bb5054cb30
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export const PageResistant = () => {
<noscript> <noscript>
<img <img
src={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`} src={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`}
alt="Jonathan Attias et Caroline Perez"/></noscript> alt={resistant.noms}/></noscript>
<img className="thumb-image loaded" <img className="thumb-image loaded"
data-src={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`} data-src={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`}
data-image={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`} data-image={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`}

View File

@ -26,7 +26,7 @@ export const ResistantRow = ({resistant}: Props) => {
> >
<img <img
src={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`} src={`https://enfance-libre.frama.io/resistants/assets/${resistant.id}.jpg`}
alt="Jonathan Attias et Caroline Perez" alt={resistant.noms}
style={{width: "200px", height: "200px"}} style={{width: "200px", height: "200px"}}
/> />
</div> </div>