diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-13 23:39:03 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-13 23:39:19 +0800 |
commit | 81690d1ce508fc40ab90aff3539359efe7a93dba (patch) | |
tree | 4b1a0264785eaae52245845021aa1ae7ff4e1209 /packages/website/ts/@next/components/sections | |
parent | f846e2f6e07bdcfc410e44c86528ba1cefe94810 (diff) | |
download | dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.tar dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.tar.gz dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.tar.bz2 dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.tar.lz dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.tar.xz dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.tar.zst dexon-0x-contracts-81690d1ce508fc40ab90aff3539359efe7a93dba.zip |
Removes <Link> component, clean up Button.tsx
Diffstat (limited to 'packages/website/ts/@next/components/sections')
-rw-r--r-- | packages/website/ts/@next/components/sections/landing/cta.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/@next/components/sections/landing/hero.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/sections/landing/cta.tsx b/packages/website/ts/@next/components/sections/landing/cta.tsx index 3aac7f5d8..5a0617256 100644 --- a/packages/website/ts/@next/components/sections/landing/cta.tsx +++ b/packages/website/ts/@next/components/sections/landing/cta.tsx @@ -24,13 +24,13 @@ export const SectionLandingCta = (props: Props) => ( icon="getStarted" title="Ready to build on 0x?" linkLabel="Get Started" - linkUrl="#" + linkUrl="https://0xproject.com/docs" /> <BlockIconLink icon="getInTouch" title="Want help from the 0x team?" linkLabel="Get in Touch" - onClick={props.onContactClick} + linkAction={props.onContactClick} /> </Section> ); diff --git a/packages/website/ts/@next/components/sections/landing/hero.tsx b/packages/website/ts/@next/components/sections/landing/hero.tsx index 513fa9867..8c9d4376f 100644 --- a/packages/website/ts/@next/components/sections/landing/hero.tsx +++ b/packages/website/ts/@next/components/sections/landing/hero.tsx @@ -21,7 +21,7 @@ const HeroActions = () => ( Get Started </Button> - <Button href="/why" isTransparent={true} isInline={true}> + <Button to="/next/why" isTransparent={true} isInline={true}> Learn More </Button> </> |