aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/sections
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-12 22:45:38 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-12 22:50:01 +0800
commit5df789bd0512b06d5a83476c7364aea05a1d1701 (patch)
tree45b1ed91e991ce0e8c9fee352085c86a8ff48195 /packages/website/ts/@next/components/sections
parent74959cf354d0162c0bb6187f249d1a8ae8ff740b (diff)
downloaddexon-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')
-rw-r--r--packages/website/ts/@next/components/sections/landing/cta.tsx8
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>
);