feat: Add new game entries and user play preferences to the game list.
This commit is contained in:
parent
0ac633bd34
commit
6d8a46b138
@ -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)
|
||||
|
||||
1314
state.json
1314
state.json
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user