Skip to content

Commit 3e0641f

Browse files
committed
placeholders reflect actual structure
1 parent 732267a commit 3e0641f

2 files changed

Lines changed: 26 additions & 11 deletions

File tree

client/src/pages/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
EventHighlightCard,
77
eventHighlightCardType,
88
} from "@/components/ui/eventHighlightCard";
9-
// import FeatureBox from "@/components/ui/featureBox";
109
import { placeholderEvents, placeholderGames } from "@/placeholderData";
1110

1211
import { Button } from "../components/ui/button";
@@ -160,7 +159,7 @@ export default function Landing() {
160159
</h2>
161160
</div>
162161

163-
<div className="flex flex-col items-start gap-4">
162+
<div className="flex flex-col items-end gap-4">
164163
<Link href="/">
165164
<Button>See more games by our members</Button>
166165
</Link>

client/src/placeholderData.ts

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,39 @@ export const placeholderEvents = [
4545
},
4646
];
4747

48+
// Roughly reflects the game model but may need some finetuning.
4849
export const placeholderGames = [
4950
{
5051
id: 1,
51-
title: "Cool Game",
52-
description: "Cool game is a game about being cool.",
53-
image: "/landing_placeholder.png",
52+
name: "Game 1",
53+
description: "Game 1 description",
54+
completion: 1,
55+
active: true,
56+
hostURL: "/",
57+
itchEmbedID: "1",
58+
thumbnail: "/landing_placeholder.png",
59+
event: 1,
5460
},
5561
{
5662
id: 2,
57-
title: "Cool Game 2",
58-
description: "Cool game 2 is a game about being cool.",
59-
image: "/landing_placeholder.png",
63+
name: "Game 2",
64+
description: "Game 2 description",
65+
completion: 1,
66+
active: true,
67+
hostURL: "/",
68+
itchEmbedID: "1",
69+
thumbnail: "/landing_placeholder.png",
70+
event: 1,
6071
},
6172
{
6273
id: 3,
63-
title: "Cool Game 3",
64-
description: "Cool game 3 is a game about being cool.",
65-
image: "/landing_placeholder.png",
74+
name: "Game 3",
75+
description: "Game 3 description",
76+
completion: 1,
77+
active: true,
78+
hostURL: "/",
79+
itchEmbedID: "1",
80+
thumbnail: "/landing_placeholder.png",
81+
event: 1,
6682
},
6783
];

0 commit comments

Comments
 (0)