Hardcode two new frontpage markets

This commit is contained in:
Austin Chen 2022-05-10 13:03:53 -04:00
parent 8313930c70
commit b97301c6fa

View File

@ -9,6 +9,7 @@ import { useUser } from 'web/hooks/use-user'
import { ManifoldLogo } from 'web/components/nav/manifold-logo' import { ManifoldLogo } from 'web/components/nav/manifold-logo'
export async function getStaticProps() { export async function getStaticProps() {
// These hardcoded markets will be shown in the frontpage for signed-out users:
const hotContracts = await getContractsBySlugs([ const hotContracts = await getContractsBySlugs([
'if-boris-johnson-is-leader-of-the-c', 'if-boris-johnson-is-leader-of-the-c',
'will-ethereum-merge-to-proofofstake', 'will-ethereum-merge-to-proofofstake',
@ -18,6 +19,8 @@ export async function getStaticProps() {
'how-many-us-supreme-court-justices', 'how-many-us-supreme-court-justices',
'who-will-win-the-nba-finals-champio', 'who-will-win-the-nba-finals-champio',
'what-database-will-manifold-be-prim', 'what-database-will-manifold-be-prim',
'will-the-supreme-court-leakers-iden',
'will-over-25-of-participants-in-the-163d54309e43',
]) ])
return { return {