diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-21 11:53:07 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-21 11:53:07 +0800 |
commit | 13fed15e0c4a643bb5a80737901c3d85be39e6ee (patch) | |
tree | 91ff437a50cfde62083a9c3a4a1fd2b999ee6dd5 /packages/website/ts/components/top_bar | |
parent | 38a308ce5b15b83f41e2646e50c2bfa7584ca3ab (diff) | |
download | dexon-0x-contracts-13fed15e0c4a643bb5a80737901c3d85be39e6ee.tar.gz dexon-0x-contracts-13fed15e0c4a643bb5a80737901c3d85be39e6ee.tar.zst dexon-0x-contracts-13fed15e0c4a643bb5a80737901c3d85be39e6ee.zip |
Improve homepage and add translations in chinese, russian, korean and spanish
Diffstat (limited to 'packages/website/ts/components/top_bar')
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar_menu_item.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 15bfe2a39..43e92bb9b 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -152,7 +152,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { }; const hoverActiveNode = ( <div className="flex relative" style={{ color: menuIconStyle.color }}> - <div style={{ paddingRight: 10 }}>Developers</div> + <div style={{ paddingRight: 10 }}>{this.props.translate.get(Key.Developers, Deco.Cap)}</div> <div className="absolute" style={{ paddingLeft: 3, right: 3, top: -2 }}> <i className="zmdi zmdi-caret-right" style={{ fontSize: 22 }} /> </div> @@ -295,7 +295,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { </a> <Link to={`${WebsitePaths.FAQ}`} className="text-decoration-none"> <MenuItem className="py2" onTouchTap={this._onMenuButtonClick.bind(this)}> - {this.props.translate.get(Key.FAQ, Deco.Cap)} + {this.props.translate.get(Key.Faq, Deco.Cap)} </MenuItem> </Link> </div> diff --git a/packages/website/ts/components/top_bar/top_bar_menu_item.tsx b/packages/website/ts/components/top_bar/top_bar_menu_item.tsx index 983050abc..e70381456 100644 --- a/packages/website/ts/components/top_bar/top_bar_menu_item.tsx +++ b/packages/website/ts/components/top_bar/top_bar_menu_item.tsx @@ -34,7 +34,7 @@ export class TopBarMenuItem extends React.Component<TopBarMenuItemProps, TopBarM marginTop: 15, paddingLeft: 9, paddingRight: 9, - width: 77, + minWidth: 77, } : {}; const menuItemColor = this.props.isNightVersion ? 'white' : this.props.style.color; |