diff options
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> ); |