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/pages | |
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/pages')
-rw-r--r-- | packages/website/ts/@next/pages/about/press.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/@next/pages/why.tsx | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index 259618d13..92c076266 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -3,7 +3,7 @@ import * as React from 'react'; import styled from 'styled-components'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; -import { Link } from 'ts/@next/components/button'; +import { Button } from 'ts/@next/components/button'; import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; import { Separator } from 'ts/@next/components/separator'; import { Heading, Paragraph } from 'ts/@next/components/text'; @@ -61,7 +61,7 @@ const Highlight = ({ highlight }) => ( <Column width="60%" maxWidth="560px"> <Paragraph isMuted={false}>{highlight.text}</Paragraph> - <Link href={highlight.href} isWithArrow={true} isNoBorder={true}>Read Article</Link> + <Button href={highlight.href} isWithArrow={true} isNoBorder={true}>Read Article</Button> </Column> </HighlightWrap> ); diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx index 75269d7ef..bb9b058e2 100644 --- a/packages/website/ts/@next/pages/why.tsx +++ b/packages/website/ts/@next/pages/why.tsx @@ -8,7 +8,7 @@ import { colors } from 'ts/style/colors'; import {Hero} from 'ts/@next/components/hero'; import { Banner } from 'ts/@next/components/banner'; -import { Link } from 'ts/@next/components/button'; +import { Button } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; import { SiteWrap } from 'ts/@next/components/siteWrap'; import { Slide, Slider } from 'ts/@next/components/slider/slider'; @@ -84,14 +84,13 @@ export class NextWhy extends React.PureComponent { title="The exchange layer for the crypto economy" description="The world's assets are becoming tokenized on public blockchains. 0x Protocol is free, open-source infrastructure that allows anyone in the world to build products that enable the purchasing and trading of crypto tokens." actions={ - <Link + <Button href="/docs" - isCentered={true} isWithArrow={true} isAccentColor={true} > Build on 0x - </Link> + </Button> } /> |