2021-12-01 19:58:00 +00:00
|
|
|
import { Fragment } from 'react'
|
|
|
|
import { Popover, Transition } from '@headlessui/react'
|
2021-12-02 18:38:49 +00:00
|
|
|
import { XIcon } from '@heroicons/react/outline'
|
|
|
|
import { ConvertKitEmailForm } from './convert-kit-email-form'
|
2021-12-01 19:58:00 +00:00
|
|
|
|
|
|
|
export const Hero = () => {
|
|
|
|
return (
|
2021-12-01 23:23:48 +00:00
|
|
|
<div className="relative overflow-hidden h-screen bg-world-trading bg-cover ">
|
|
|
|
{/* <div className="absolute w-full h-full overflow-hidden bg-world-trading bg-cover bg-gray-900 z--1" /> */}
|
|
|
|
|
2021-12-01 19:58:00 +00:00
|
|
|
<Popover as="header" className="relative">
|
|
|
|
<div className="pt-6">
|
|
|
|
<nav
|
|
|
|
className="relative max-w-7xl mx-auto flex items-center justify-between px-4 sm:px-6"
|
|
|
|
aria-label="Global"
|
|
|
|
>
|
|
|
|
<div className="flex items-center flex-1">
|
|
|
|
<div className="flex items-center justify-between w-full md:w-auto">
|
|
|
|
<a href="#">
|
2021-12-01 23:23:48 +00:00
|
|
|
<span className="sr-only">Mantic Markets</span>
|
2021-12-01 19:58:00 +00:00
|
|
|
<img
|
|
|
|
className="h-8 w-auto sm:h-10"
|
|
|
|
src="/logo.png"
|
|
|
|
alt=""
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<Transition
|
|
|
|
as={Fragment}
|
|
|
|
enter="duration-150 ease-out"
|
|
|
|
enterFrom="opacity-0 scale-95"
|
|
|
|
enterTo="opacity-100 scale-100"
|
|
|
|
leave="duration-100 ease-in"
|
|
|
|
leaveFrom="opacity-100 scale-100"
|
|
|
|
leaveTo="opacity-0 scale-95"
|
|
|
|
>
|
|
|
|
<Popover.Panel focus className="absolute z-10 top-0 inset-x-0 p-2 transition transform origin-top md:hidden">
|
|
|
|
<div className="rounded-lg shadow-md bg-white ring-1 ring-black ring-opacity-5 overflow-hidden">
|
|
|
|
<div className="px-5 pt-4 flex items-center justify-between">
|
|
|
|
<div>
|
|
|
|
<img
|
|
|
|
className="h-8 w-auto"
|
|
|
|
src="https://tailwindui.com/img/logos/workflow-mark-indigo-600.svg"
|
|
|
|
alt=""
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div className="-mr-2">
|
2021-12-01 23:23:48 +00:00
|
|
|
<Popover.Button className="bg-white rounded-md p-2 inline-flex items-center justify-center text-gray-400 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-green-600">
|
2021-12-01 19:58:00 +00:00
|
|
|
<span className="sr-only">Close menu</span>
|
|
|
|
<XIcon className="h-6 w-6" aria-hidden="true" />
|
|
|
|
</Popover.Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Popover.Panel>
|
|
|
|
</Transition>
|
|
|
|
</Popover>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
<div className="pt-10 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>
|
2021-12-01 23:23:48 +00:00
|
|
|
<span className="block text-green-400">prediction markets</span>
|
2021-12-01 19:58:00 +00:00
|
|
|
</h1>
|
|
|
|
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
|
2021-12-02 01:42:52 +00:00
|
|
|
Create and resolve your own prediction markets to earn a percent of the bet volume. Powered by Solana.
|
2021-12-01 19:58:00 +00:00
|
|
|
</p>
|
|
|
|
<div className="mt-10 sm:mt-12">
|
2021-12-02 18:38:49 +00:00
|
|
|
<ConvertKitEmailForm />
|
2021-12-01 19:58:00 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
)
|
2021-12-02 01:42:52 +00:00
|
|
|
}
|