feat: grayscale aussi sur les ex-resistants avec video
parent
3d1f6b12c5
commit
39e520048c
|
@ -49,6 +49,7 @@ export const ResistantRow = ({ resistant }: Props) => {
|
||||||
width={"200"}
|
width={"200"}
|
||||||
height={"200"}
|
height={"200"}
|
||||||
onClick={() => navigate(resistant.id)}
|
onClick={() => navigate(resistant.id)}
|
||||||
|
style={getResistantGrayscaleRule(resistant)}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<img
|
<img
|
||||||
|
|
|
@ -29,6 +29,7 @@ export const ResistantThumb = ({ resistant }: Props) => {
|
||||||
height={"200"}
|
height={"200"}
|
||||||
className="resistant-thumb"
|
className="resistant-thumb"
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
|
style={getResistantGrayscaleRule(resistant)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue