Improve landing page, especially on mobile!

This commit is contained in:
jahooma 2021-12-12 22:36:15 -06:00
parent 1048f866d1
commit fbb0bd4aa8
2 changed files with 7 additions and 7 deletions

View File

@ -84,7 +84,7 @@ export function Header(props: { darkBackground?: boolean }) {
</Link>
</div>
<div className="space-x-8 md:flex md:ml-16">
<div className="space-x-8 md:flex md:ml-16 mr-8">
{navigation.map((item) => (
<Link key={item.name} href={item.href}>
<a

View File

@ -3,7 +3,7 @@ import { Header } from './header'
export const Hero = () => {
return (
<div className="relative overflow-hidden h-screen bg-world-trading bg-cover bg-gray-900">
<div className="relative overflow-hidden h-screen bg-world-trading bg-cover bg-gray-900 bg-center lg:bg-left">
<Header darkBackground />
<main>
<div className="pt-40 sm:pt-16 lg:pt-8 lg:pb-14 lg:overflow-hidden">
@ -12,14 +12,14 @@ export const Hero = () => {
<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 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 font-bold">
<div className="mb-2">Create your own</div>
<div className="text-green-400 font-bold">
prediction markets
</span>
</div>
</h1>
<p className="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Forecast the future with play-money prediction markets for
you and your community
Better forecasting with accessible play-money prediction
markets for you and your community
</p>
<div className="mt-10 sm:mt-12">
<ConvertKitEmailForm />