aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-31 02:47:55 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-31 02:49:27 +0800
commitfd5ad69c268ef5411901d8ff24e429a7e0b4f888 (patch)
tree47df733f81089b341e50a8028dee95a1822ae70c /packages/website/ts/components
parentb1f97a27f3b0114ee1d9e648e0365932217c8dc8 (diff)
downloaddexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.tar
dexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.tar.gz
dexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.tar.bz2
dexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.tar.lz
dexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.tar.xz
dexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.tar.zst
dexon-sol-tools-fd5ad69c268ef5411901d8ff24e429a7e0b4f888.zip
Add careers page to top bar
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/top_bar/top_bar.tsx12
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx
index 8580c3a6e..1841d890b 100644
--- a/packages/website/ts/components/top_bar/top_bar.tsx
+++ b/packages/website/ts/components/top_bar/top_bar.tsx
@@ -238,7 +238,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
const fullWidthClasses = isExpandedDisplayType ? 'pr4' : '';
const logoUrl = isNightVersion ? '/images/protocol_logo_white.png' : '/images/protocol_logo_black.png';
const menuClasses = `col col-${
- isExpandedDisplayType ? '4' : '5'
+ isExpandedDisplayType ? '4' : '6'
} ${fullWidthClasses} lg-pr0 md-pr2 sm-hide xs-hide`;
const menuIconStyle = {
fontSize: 25,
@@ -302,6 +302,13 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
isExternal={false}
/>
<TopBarMenuItem
+ title={this.props.translate.get(Key.Careers, Deco.Cap)}
+ path={`${WebsitePaths.Careers}`}
+ style={styles.menuItem}
+ isNightVersion={isNightVersion}
+ isExternal={false}
+ />
+ <TopBarMenuItem
title={this.props.translate.get(Key.TradeCallToAction, Deco.Cap)}
path={`${WebsitePaths.Portal}`}
isPrimary={true}
@@ -406,6 +413,9 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
<Link to={`${WebsitePaths.About}`} className="text-decoration-none">
<MenuItem className="py2">{this.props.translate.get(Key.About, Deco.Cap)}</MenuItem>
</Link>
+ <Link to={`${WebsitePaths.Careers}`} className="text-decoration-none">
+ <MenuItem className="py2">{this.props.translate.get(Key.Careers, Deco.Cap)}</MenuItem>
+ </Link>
<a className="text-decoration-none" target="_blank" href={constants.URL_BLOG}>
<MenuItem className="py2">{this.props.translate.get(Key.Blog, Deco.Cap)}</MenuItem>
</a>