From e6a10460390529cd8c1164456b71a4f6140d128b Mon Sep 17 00:00:00 2001 From: mantikoros Date: Mon, 13 Jun 2022 11:19:46 -0500 Subject: [PATCH] landing page branding, UI tweaks --- ...feed-create.tsx => landing-page-panel.tsx} | 47 ++++++++++--------- web/pages/index.tsx | 4 +- 2 files changed, 27 insertions(+), 24 deletions(-) rename web/components/{feed-create.tsx => landing-page-panel.tsx} (57%) diff --git a/web/components/feed-create.tsx b/web/components/landing-page-panel.tsx similarity index 57% rename from web/components/feed-create.tsx rename to web/components/landing-page-panel.tsx index 0a9b77e3..7597bb1e 100644 --- a/web/components/feed-create.tsx +++ b/web/components/landing-page-panel.tsx @@ -1,51 +1,54 @@ import { SparklesIcon } from '@heroicons/react/solid' + +import { Contract } from 'common/contract' + import { Spacer } from './layout/spacer' import { firebaseLogin } from 'web/lib/firebase/users' import { ContractsGrid } from './contract/contracts-list' -import { Contract } from 'common/contract' import { Col } from './layout/col' import { Row } from './layout/row' -import { SiteLink } from './site-link' -import { formatMoney } from 'common/util/format' -export function FeedPromo(props: { hotContracts: Contract[] }) { +export function LandingPagePanel(props: { hotContracts: Contract[] }) { const { hotContracts } = props return ( <> - + -

-
- Bet on{' '} - - anything! - -
-

- -
- Bet on any topic imaginable with play-money markets. Or create your - own! -
-
+
+

+
+ Predict{' '} + + anything! + +
+

+ +
+ Create a play-money prediction market on any topic you care about + and bet with your friends on what will happen! +
+ {/*
Sign up and get {formatMoney(1000)} - worth $10 to your{' '} favorite charity. -
+
*/} +
+ {' '} diff --git a/web/pages/index.tsx b/web/pages/index.tsx index 6934d99e..886ccd7c 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -3,7 +3,7 @@ import Router from 'next/router' import { Contract, getContractsBySlugs } from 'web/lib/firebase/contracts' import { Page } from 'web/components/page' -import { FeedPromo } from 'web/components/feed-create' +import { LandingPagePanel } from 'web/components/landing-page-panel' import { Col } from 'web/components/layout/col' import { useUser } from 'web/hooks/use-user' import { ManifoldLogo } from 'web/components/nav/manifold-logo' @@ -46,7 +46,7 @@ const Home = (props: { hotContracts: Contract[] }) => {
- + {/*

View{' '}