feat: Add text shadow to game titles to visually indicate user opinion.

This commit is contained in:
code002lover 2025-12-04 21:34:04 +01:00
parent e63f1a45cf
commit 648ca81614

View File

@ -503,7 +503,17 @@ export function GameList() {
: "#191f2e", // no opinion (bg-2)
}}
>
<strong>{game.title}</strong>
<strong
style={{
textShadow: opinion
? opinion.wouldPlay
? "0 0 10px #4caf50" // would play (green)
: "0 0 10px #f44336" // would not play (red)
: "none", // no opinion (bg-2)
}}
>
{game.title}
</strong>
<GameImage game={game.title} />
</Link>
<div