diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-18 05:29:46 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2019-01-18 05:29:46 +0800 |
commit | 02b7a4390908e74805cc5ae9f97f4ddceaba8fde (patch) | |
tree | 9af5c74a19be6b6fba49022388bb529e7e32889c /packages/dev-tools-pages/ts/components/hero.tsx | |
parent | 92f5ad4f1518b2aaa3f1754b44a3059ac1610e0c (diff) | |
parent | e1e531a2a48cdacd3d8e8b6427e3f0410699ea3d (diff) | |
download | dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.gz dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.bz2 dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.lz dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.xz dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.tar.zst dexon-sol-tools-02b7a4390908e74805cc5ae9f97f4ddceaba8fde.zip |
Merge branch 'development' into feature/instant/asset-buyer-check-liquidity
Diffstat (limited to 'packages/dev-tools-pages/ts/components/hero.tsx')
-rw-r--r-- | packages/dev-tools-pages/ts/components/hero.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/dev-tools-pages/ts/components/hero.tsx b/packages/dev-tools-pages/ts/components/hero.tsx index cdcad6982..e2977f3f2 100644 --- a/packages/dev-tools-pages/ts/components/hero.tsx +++ b/packages/dev-tools-pages/ts/components/hero.tsx @@ -9,16 +9,16 @@ import { Beta } from './typography'; const Hero: React.StatelessComponent<ContextInterface> = ({ children }) => ( <ThemeContext.Consumer> - {({ subtitle, tagline }: ContextInterface) => ( + {({ subtitle, tagline, docLink }: ContextInterface) => ( <StyledHero> <HeroContainer> <Subtitle>{subtitle}</Subtitle> <Tagline as="p">{tagline}</Tagline> - <Button as="a" href="#" large={true}> + <Button as="a" href={docLink} target="_blank" large={true}> Read the Docs </Button> </HeroContainer> - {navigator.userAgent !== 'ReactSnap' ? children : null} + {children} </StyledHero> )} </ThemeContext.Consumer> |