feat: Add new game entries and user play preferences to the game list.
This commit is contained in:
@@ -13,7 +13,7 @@ export function GameImage({ game }: GameImageProps) {
|
||||
<div
|
||||
style={{
|
||||
width: "100%",
|
||||
height: "150px",
|
||||
height: "100px",
|
||||
background: "#ddd",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
|
||||
@@ -512,7 +512,13 @@ export function GameList() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
height: "100%",
|
||||
}}
|
||||
>
|
||||
<Link
|
||||
to={`/game/${encodeURIComponent(game.title)}`}
|
||||
key={game.title}
|
||||
@@ -523,7 +529,7 @@ export function GameList() {
|
||||
display: "flex",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "center",
|
||||
height: "50%",
|
||||
flex: "1",
|
||||
borderColor: opinion
|
||||
? opinion.wouldPlay
|
||||
? "#4caf50" // would play (green)
|
||||
|
||||
+1313
-1
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user