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
|
<div
|
||||||
style={{
|
style={{
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "150px",
|
height: "100px",
|
||||||
background: "#ddd",
|
background: "#ddd",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
|||||||
@ -512,7 +512,13 @@ export function GameList() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div
|
||||||
|
style={{
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
height: "100%",
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Link
|
<Link
|
||||||
to={`/game/${encodeURIComponent(game.title)}`}
|
to={`/game/${encodeURIComponent(game.title)}`}
|
||||||
key={game.title}
|
key={game.title}
|
||||||
@ -523,7 +529,7 @@ export function GameList() {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
height: "50%",
|
flex: "1",
|
||||||
borderColor: opinion
|
borderColor: opinion
|
||||||
? opinion.wouldPlay
|
? opinion.wouldPlay
|
||||||
? "#4caf50" // would play (green)
|
? "#4caf50" // would play (green)
|
||||||
|
|||||||
1312
state.json
1312
state.json
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user