diff --git a/web/pages/embed/[username]/[contractSlug].tsx b/web/pages/embed/[username]/[contractSlug].tsx index 2415bcf7..fb88c154 100644 --- a/web/pages/embed/[username]/[contractSlug].tsx +++ b/web/pages/embed/[username]/[contractSlug].tsx @@ -30,6 +30,7 @@ import Custom404 from '../../404' import { useUser } from 'web/hooks/use-user' import { QuickBet } from 'web/components/contract/quick-bet' import { contractMetrics } from 'common/contract-details' +import Image from 'next/future/image' export const getStaticProps = fromPropz(getStaticPropz) export async function getStaticPropz(props: { @@ -93,42 +94,43 @@ export function ContractEmbed(props: { contract: Contract; bets: Bet[] }) { const user = useUser() if (user && (isBinary || isPseudoNumeric)) { return ( - - + + + + + Manifold logo + + + + {question} + + +
+ +
+ +
+ + ) + } else + return ( + + + + + Manifold logo + + +
{question}
- -
@{creatorUsername}
-
{creatorUsername}
-
- -
- -
- - -
- ) - } else - return ( - - - -
- {question} -
- {/* */} - -
@{creatorUsername}
-
@{creatorUsername}
-
{!user && isBinary && (