market intro panel

This commit is contained in:
mantikoros 2022-09-12 17:30:51 -05:00
parent 3d3caa7a42
commit 0e5b1a7742
2 changed files with 28 additions and 4 deletions

View File

@ -42,6 +42,7 @@ import { YesNoSelector } from './yes-no-selector'
import { PlayMoneyDisclaimer } from './play-money-disclaimer' import { PlayMoneyDisclaimer } from './play-money-disclaimer'
import { isAndroid, isIOS } from 'web/lib/util/device' import { isAndroid, isIOS } from 'web/lib/util/device'
import { WarningConfirmationButton } from './warning-confirmation-button' import { WarningConfirmationButton } from './warning-confirmation-button'
import { MarketIntroPanel } from './market-intro-panel'
export function BetPanel(props: { export function BetPanel(props: {
contract: CPMMBinaryContract | PseudoNumericContract contract: CPMMBinaryContract | PseudoNumericContract
@ -90,10 +91,7 @@ export function BetPanel(props: {
/> />
</> </>
) : ( ) : (
<> <MarketIntroPanel />
<BetSignUpPrompt />
<PlayMoneyDisclaimer />
</>
)} )}
</Col> </Col>

View File

@ -0,0 +1,26 @@
import Image from 'next/future/image'
import { Col } from './layout/col'
import { BetSignUpPrompt } from './sign-up-prompt'
export function MarketIntroPanel() {
return (
<Col>
<div className="text-xl">Play-money predictions</div>
<Image
height={150}
width={150}
className="self-center"
src="/flappy-logo.gif"
/>
<div className="text-sm mb-4">
Manifold Markets is a play-money prediction market platform where you can
forecast anything.
</div>
<BetSignUpPrompt />
</Col>
)
}