aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/sections/landing/cta.tsx
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-12 20:24:13 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-12 20:32:42 +0800
commitb1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7 (patch)
tree2eeabf74cfc10ede91b7637ebd62271129de7ed4 /packages/website/ts/@next/components/sections/landing/cta.tsx
parentc5db8f25d31d45ac3ff9fff78f7e1fde348d81d4 (diff)
downloaddexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.tar
dexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.tar.gz
dexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.tar.bz2
dexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.tar.lz
dexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.tar.xz
dexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.tar.zst
dexon-0x-contracts-b1f4bb722d9a6aaacdd3fdfe1bf7049efe043aa7.zip
More layout changes
Diffstat (limited to 'packages/website/ts/@next/components/sections/landing/cta.tsx')
-rw-r--r--packages/website/ts/@next/components/sections/landing/cta.tsx76
1 files changed, 22 insertions, 54 deletions
diff --git a/packages/website/ts/@next/components/sections/landing/cta.tsx b/packages/website/ts/@next/components/sections/landing/cta.tsx
index ad78a1ab4..4c06982e4 100644
--- a/packages/website/ts/@next/components/sections/landing/cta.tsx
+++ b/packages/website/ts/@next/components/sections/landing/cta.tsx
@@ -1,63 +1,31 @@
import * as React from 'react';
import {Button, ButtonWrap, Link} from 'ts/@next/components/button';
import {Icon, InlineIconWrap} from 'ts/@next/components/icon';
-import {Column, Section, Wrap, WrapCentered, WrapGrid} from 'ts/@next/components/layout';
+import {Wrap, WrapCentered, WrapGrid} from 'ts/@next/components/layout';
import {Heading, Paragraph} from 'ts/@next/components/text';
-export const SectionLandingCta = () => (
- <Section>
- <Wrap>
- <Column
- bgColor="#003831"
- colWidth="1/2"
- isPadLarge={true}
- >
- <WrapCentered>
- <Icon
- name="ready-to-build"
- size="large"
- margin={[0, 0, 'default', 0]}
- />
-
- <Paragraph size="medium" color="#00AE99" marginBottom="15px">
- Ready to build on 0x?
- </Paragraph>
-
- <Link
- href="#"
- isTransparent={true}
- isWithArrow={true}
- >
- Get Started
- </Link>
- </WrapCentered>
- </Column>
+import {Column, Section} from 'ts/@next/components/newLayout';
- <Column
- bgColor="#003831"
- colWidth="1/2"
- isPadLarge={true}
- >
- <WrapCentered>
- <Icon
- name="ready-to-build"
- size="large"
- margin={[0, 0, 'default', 0]}
- />
+import {BlockIconLink} from 'ts/@next/components/blockIconLink';
- <Paragraph size="medium" color="#00AE99" marginBottom="15px">
- Want help from the 0x team?
- </Paragraph>
-
- <Link
- href="#"
- isTransparent={true}
- isWithArrow={true}
- >
- Get in Touch
- </Link>
- </WrapCentered>
- </Column>
- </Wrap>
+export const SectionLandingCta = () => (
+ <Section
+ isPadded={false}
+ isFullWidth={true}
+ isFlex={true}
+ flexBreakpoint="900px"
+ >
+ <BlockIconLink
+ icon=""
+ title="Ready to build on 0x?"
+ linkLabel="Get Started"
+ linkUrl="#"
+ />
+ <BlockIconLink
+ icon="coin"
+ title="Wat help from the 0x team?"
+ linkLabel="Get in Touch"
+ linkUrl="#"
+ />
</Section>
);