manifold/web/components/hero.tsx
Austin Chen 634c0af85b
Finish porting simulator into React (#1)
* Preview bid results; toggle bid type

* Code cleanup: move hooks to where they're used

* Extract header to separate component

* Fix & reactify according to James's review

* Remove unnecessary useMemo

* Hack Chartjs type

* Add some notes on DX Todos

* Move non-page elements to lib/
2021-12-08 08:30:29 -08:00

36 lines
1.5 KiB
TypeScript

import { ConvertKitEmailForm } from './convert-kit-email-form'
import { Header } from './header'
export const Hero = () => {
return (
<div className="relative overflow-hidden h-screen bg-world-trading bg-cover bg-gray-900">
<Header />
<main>
<div className="pt-40 sm:pt-16 lg:pt-8 lg:pb-14 lg:overflow-hidden">
<div className="mx-auto max-w-7xl lg:px-8">
<div className="lg:grid lg:grid-cols-2 lg:gap-8">
<div className="mx-auto max-w-md px-4 sm:max-w-2xl sm:px-6 sm:text-center lg:px-0 lg:text-left lg:flex lg:items-center">
<div className="lg:py-24">
<h1 className="mt-4 text-4xl tracking-tight font-extrabold text-white sm:mt-5 sm:text-6xl lg:mt-6 xl:text-6xl">
<span className="block">Create your own</span>
<span className="block text-green-400">
prediction markets
</span>
</h1>
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Create and resolve your own prediction markets to earn a
percent of the bet volume. Powered by Solana.
</p>
<div className="mt-10 sm:mt-12">
<ConvertKitEmailForm />
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
)
}