mango-token-sale/components/HeroSectionLead.tsx

24 lines
741 B
TypeScript
Raw Normal View History

2021-07-22 22:02:04 -07:00
import GradientText from './GradientText'
2021-07-24 06:12:16 -07:00
import usePool from '../hooks/usePool'
2021-07-22 22:02:04 -07:00
const HeroSectionLead = () => {
2021-07-24 06:12:16 -07:00
const { startIdo } = usePool()
2021-07-22 22:02:04 -07:00
return (
<section className="flex">
2021-07-24 10:55:31 -07:00
<div className="px-8 pb-24 mb-16 mx-auto h-auto justify-items-center align-middle">
2021-07-22 22:02:04 -07:00
<div className="relative pt-16 md:pt-32 pb-2">
<div className="max-w-2xl mb-16 mx-auto text-left md:text-center lg:text-center">
<h2 className="mb-8 text-7xl text-white font-bold font-heading">
<GradientText>Wen</GradientText> Token?
</h2>
2021-07-24 06:19:16 -07:00
<p className="mb-8 text-7xl">{startIdo?.fromNow()}</p>
2021-07-22 22:02:04 -07:00
</div>
</div>
</div>
</section>
)
}
export default HeroSectionLead