diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-12 22:45:38 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-12 22:50:01 +0800 |
commit | 5df789bd0512b06d5a83476c7364aea05a1d1701 (patch) | |
tree | 45b1ed91e991ce0e8c9fee352085c86a8ff48195 /packages/website/ts/@next/components/sections/landing/cta.tsx | |
parent | 74959cf354d0162c0bb6187f249d1a8ae8ff740b (diff) | |
download | dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.tar dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.tar.gz dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.tar.bz2 dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.tar.lz dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.tar.xz dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.tar.zst dexon-sol-tools-5df789bd0512b06d5a83476c7364aea05a1d1701.zip |
Added contact modal
Diffstat (limited to 'packages/website/ts/@next/components/sections/landing/cta.tsx')
-rw-r--r-- | packages/website/ts/@next/components/sections/landing/cta.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/sections/landing/cta.tsx b/packages/website/ts/@next/components/sections/landing/cta.tsx index 4c06982e4..b90b4070e 100644 --- a/packages/website/ts/@next/components/sections/landing/cta.tsx +++ b/packages/website/ts/@next/components/sections/landing/cta.tsx @@ -8,7 +8,11 @@ import {Column, Section} from 'ts/@next/components/newLayout'; import {BlockIconLink} from 'ts/@next/components/blockIconLink'; -export const SectionLandingCta = () => ( +interface Props { + onContactClick?: () => void; +} + +export const SectionLandingCta = (props: Props) => ( <Section isPadded={false} isFullWidth={true} @@ -25,7 +29,7 @@ export const SectionLandingCta = () => ( icon="coin" title="Wat help from the 0x team?" linkLabel="Get in Touch" - linkUrl="#" + onClick={props.onContactClick} /> </Section> ); |