diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-12 16:47:55 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-12 20:32:20 +0800 |
commit | c5db8f25d31d45ac3ff9fff78f7e1fde348d81d4 (patch) | |
tree | 0ec31d48290d5bb84d833cf70e51c0886b8dffdf /packages/website/ts/@next/pages/instant.tsx | |
parent | 965b1ff32fac0eaf91731b9f6b3d0a9ce94e6bb9 (diff) | |
download | dexon-sol-tools-c5db8f25d31d45ac3ff9fff78f7e1fde348d81d4.tar.gz dexon-sol-tools-c5db8f25d31d45ac3ff9fff78f7e1fde348d81d4.tar.zst dexon-sol-tools-c5db8f25d31d45ac3ff9fff78f7e1fde348d81d4.zip |
WIP
Diffstat (limited to 'packages/website/ts/@next/pages/instant.tsx')
-rw-r--r-- | packages/website/ts/@next/pages/instant.tsx | 65 |
1 files changed, 21 insertions, 44 deletions
diff --git a/packages/website/ts/@next/pages/instant.tsx b/packages/website/ts/@next/pages/instant.tsx index 73aed59b2..cf316cfe6 100644 --- a/packages/website/ts/@next/pages/instant.tsx +++ b/packages/website/ts/@next/pages/instant.tsx @@ -5,6 +5,8 @@ import LazyLoad from 'react-lazyload'; import {colors} from 'ts/style/colors'; +import {Hero} from 'ts/@next/components/hero'; + import {Banner} from 'ts/@next/components/banner'; import {Button, ButtonWrap, Link} from 'ts/@next/components/button'; import {Icon} from 'ts/@next/components/Icon'; @@ -12,6 +14,9 @@ import {Column, Section, Wrap, WrapCentered} from 'ts/@next/components/layout'; import {SiteWrap} from 'ts/@next/components/siteWrap'; import {Heading, Paragraph} from 'ts/@next/components/text'; +import {Definition} from 'ts/@next/components/Definition'; + +import {Section as NewSection} from 'ts/@next/components/newLayout'; // import { Configurator } from 'ts/pages/instant/configurator'; import LogoOutlined from 'ts/@next/icons/illustrations/logo-outlined.svg'; @@ -66,16 +71,11 @@ const featuresData = [ export const Next0xInstant = () => ( <SiteWrap> - <Section isPadLarge={true}> - <WrapCentered> - <Heading size="medium" isCentered={true}>Introducing 0x Instant</Heading> - <Paragraph size="medium" isCentered={true}> - A free and flexible way to offer simple<br /> - crypto purchasing in any app or website - </Paragraph> - <Button href="#">Get Started</Button> - </WrapCentered> - </Section> + <Hero + title="Introducing 0x Instant" + description="A free and flexible way to offer simple crypto purchasing in any app or website" + actions={<Button href="#">Get Started</Button>} + /> <Section isFullWidth={true} isNoPadding={true}> <Wrap width="full"> @@ -89,40 +89,17 @@ export const Next0xInstant = () => ( </Wrap> </Section> - <Section> - <Wrap width="narrow"> - {_.map(featuresData, (item, index) => ( - <Wrap padding={['large', 0, 'large', 0]}> - <Column colWidth="1/3"> - <Icon name={item.icon} size={240} /> - </Column> - - <Column colWidth="2/3"> - <Heading> - {item.title} - </Heading> - <Paragraph size="medium" isMuted={true}> - {item.description} - </Paragraph> - - <ButtonWrap> - {_.map(item.links, (link, i) => ( - <Link - href={link.url} - key={`link-${i}`} - isTransparent={true} - isAccentColor={true} - isWithArrow={true} - > - {link.label} - </Link> - ))} - </ButtonWrap> - </Column> - </Wrap> - ))} - </Wrap> - </Section> + <NewSection> + {_.map(featuresData, (item, index) => ( + <Definition + title={item.title} + description={item.description} + isInlineIcon={true} + iconSize={240} + actions={item.links} + /> + ))} + </NewSection> <Section bgColor={colors.backgroundDark}> <Wrap> |