diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-29 13:34:11 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-30 03:45:24 +0800 |
commit | d93d4c34f5372147fc295572a2f0acf3bd9baa55 (patch) | |
tree | a7bc33cb5b09601cf05dfe72cc9ef4defd8bb398 /packages/website/ts | |
parent | 557267477e10902e801e18733d551f13c402a6cd (diff) | |
download | dexon-sol-tools-d93d4c34f5372147fc295572a2f0acf3bd9baa55.tar.gz dexon-sol-tools-d93d4c34f5372147fc295572a2f0acf3bd9baa55.tar.zst dexon-sol-tools-d93d4c34f5372147fc295572a2f0acf3bd9baa55.zip |
Update whats new
Diffstat (limited to 'packages/website/ts')
-rw-r--r-- | packages/website/ts/pages/landing/landing.tsx | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/packages/website/ts/pages/landing/landing.tsx b/packages/website/ts/pages/landing/landing.tsx index 4833fa8f3..1cc2ee5c0 100644 --- a/packages/website/ts/pages/landing/landing.tsx +++ b/packages/website/ts/pages/landing/landing.tsx @@ -8,6 +8,7 @@ import { SubscribeForm } from 'ts/components/forms/subscribe_form'; import { TopBar } from 'ts/components/top_bar/top_bar'; import { CallToAction } from 'ts/components/ui/button'; import { Container } from 'ts/components/ui/container'; +import { Text } from 'ts/components/ui/text'; import { Dispatcher } from 'ts/redux/dispatcher'; import { Deco, Key, Language, ScreenWidths, WebsitePaths } from 'ts/types'; import { constants } from 'ts/utils/constants'; @@ -39,7 +40,7 @@ interface Project { } const THROTTLE_TIMEOUT = 100; -const WHATS_NEW_TITLE = '18 ideas for 0x relayers in 2018'; +const WHATS_NEW_TITLE = 'V2 of the 0x Protocol is now live!'; const WHATS_NEW_URL = 'https://blog.0xproject.com/18-ideas-for-0x-relayers-in-2018-80a1498b955f'; const relayerProjects: Project[] = [ @@ -216,19 +217,24 @@ export class Landing extends React.Component<LandingProps, LandingState> { return ( <div className="sm-center sm-px1"> <a href={WHATS_NEW_URL} target="_blank" className="inline-block text-decoration-none"> - <div className="flex sm-pl0 md-pl2 lg-pl0" style={{ fontFamily: 'Roboto Mono', fontWeight: 600 }}> - <div - className="mr1 px1" - style={{ - backgroundColor: colors.white, - borderRadius: 3, - color: colors.heroGrey, - height: 23, - }} + <div className="flex items-center sm-pl0 md-pl2 lg-pl0"> + <Container + paddingTop="5px" + paddingLeft="8px" + paddingBottom="5px" + paddingRight="8px" + backgroundColor={colors.white} + borderRadius={6} > - New - </div> - <div style={{ color: colors.darkGrey }}>{WHATS_NEW_TITLE}</div> + <Text fontSize="16px" fontWeight={500} fontColor={colors.heroGrey}> + New + </Text> + </Container> + <Container marginLeft="12px"> + <Text fontSize="18px" fontWeight={500} fontColor={colors.white}> + {WHATS_NEW_TITLE} + </Text> + </Container> </div> </a> </div> |