diff options
| author | realtradam <[email protected]> | 2024-05-23 16:55:59 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-23 16:55:59 -0400 |
| commit | 7a38eef00de0bb35565dda3ddb1efa748c22ea47 (patch) | |
| tree | f94e4fb29bedf5f05dcb6913b77932a077bf0216 /src/components/GameCard.jsx | |
| parent | 5f1b0bb1883a8021c7261dad59e063824849fd81 (diff) | |
| download | malcz.com-7a38eef00de0bb35565dda3ddb1efa748c22ea47.tar.gz malcz.com-7a38eef00de0bb35565dda3ddb1efa748c22ea47.zip | |
improve games
Diffstat (limited to 'src/components/GameCard.jsx')
| -rw-r--r-- | src/components/GameCard.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/GameCard.jsx b/src/components/GameCard.jsx index 82ad423..ac63160 100644 --- a/src/components/GameCard.jsx +++ b/src/components/GameCard.jsx @@ -15,10 +15,10 @@ export default function GameCard ({ link = "./", width = "72", game = { card_img <a href={ link } className="block w-min pt-10 px-1" target="_blank"> <div className="gameCard"> <div className="gameCardWrapper"> - <img src={`${import.meta.env.VITE_API_TITLE}/api/v1/games_img/realtradam/${game.titleSlug}.png?type=card`} className="gameCardCoverImg" /> + <img style={{imageRendering: game.img_rendering}} src={`${import.meta.env.VITE_API_TITLE}/api/v1/games_img/realtradam/${game.titleSlug}.png?type=card`} className="gameCardCoverImg" /> </div> - <img src={`${import.meta.env.VITE_API_TITLE}/api/v1/games_img/realtradam/${game.titleSlug}.png?type=title`} className="gameTitleImg p-5%" /> - <img src={`${import.meta.env.VITE_API_TITLE}/api/v1/games_img/realtradam/${game.titleSlug}.png?type=char`} className="gameCharacterImg" /> + <img style={{imageRendering: game.img_rendering}} src={`${import.meta.env.VITE_API_TITLE}/api/v1/games_img/realtradam/${game.titleSlug}.png?type=title`} className="gameTitleImg p-5%" /> + <img style={{imageRendering: game.img_rendering}} src={`${import.meta.env.VITE_API_TITLE}/api/v1/games_img/realtradam/${game.titleSlug}.png?type=char`} className="gameCharacterImg" /> </div> </a> </> |
