diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-15 05:37:01 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-15 05:37:01 +0800 |
commit | a1410409fff5a015c5afbe3eabc1cbc8e70d1735 (patch) | |
tree | b7661133548e1d1bf88f7ec960536f516bd3ef5d /packages/website/ts/@next/components | |
parent | 32eab3acff7d2cb334db9396a6182df9ba672390 (diff) | |
download | dexon-0x-contracts-a1410409fff5a015c5afbe3eabc1cbc8e70d1735.tar.gz dexon-0x-contracts-a1410409fff5a015c5afbe3eabc1cbc8e70d1735.tar.zst dexon-0x-contracts-a1410409fff5a015c5afbe3eabc1cbc8e70d1735.zip |
Add contact modal to pages with contact link
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r-- | packages/website/ts/@next/components/banner.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/banner.tsx b/packages/website/ts/@next/components/banner.tsx index e8c846947..e779c5889 100644 --- a/packages/website/ts/@next/components/banner.tsx +++ b/packages/website/ts/@next/components/banner.tsx @@ -17,7 +17,8 @@ interface Props { interface CTAButton { text: string; - href: string; + href?: string; + onClick?: () => void; } interface BorderProps { @@ -64,6 +65,7 @@ export const Banner: React.StatelessComponent<Props> = (props: Props) => { {secondaryCta && <Button href={secondaryCta.href} + onClick={secondaryCta.onClick} isTransparent={true} > {secondaryCta.text} |