Add careers page to top bar
This commit is contained in:
		@@ -238,7 +238,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
 | 
				
			|||||||
        const fullWidthClasses = isExpandedDisplayType ? 'pr4' : '';
 | 
					        const fullWidthClasses = isExpandedDisplayType ? 'pr4' : '';
 | 
				
			||||||
        const logoUrl = isNightVersion ? '/images/protocol_logo_white.png' : '/images/protocol_logo_black.png';
 | 
					        const logoUrl = isNightVersion ? '/images/protocol_logo_white.png' : '/images/protocol_logo_black.png';
 | 
				
			||||||
        const menuClasses = `col col-${
 | 
					        const menuClasses = `col col-${
 | 
				
			||||||
            isExpandedDisplayType ? '4' : '5'
 | 
					            isExpandedDisplayType ? '4' : '6'
 | 
				
			||||||
        } ${fullWidthClasses} lg-pr0 md-pr2 sm-hide xs-hide`;
 | 
					        } ${fullWidthClasses} lg-pr0 md-pr2 sm-hide xs-hide`;
 | 
				
			||||||
        const menuIconStyle = {
 | 
					        const menuIconStyle = {
 | 
				
			||||||
            fontSize: 25,
 | 
					            fontSize: 25,
 | 
				
			||||||
@@ -301,6 +301,13 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
 | 
				
			|||||||
                                    isNightVersion={isNightVersion}
 | 
					                                    isNightVersion={isNightVersion}
 | 
				
			||||||
                                    isExternal={false}
 | 
					                                    isExternal={false}
 | 
				
			||||||
                                />
 | 
					                                />
 | 
				
			||||||
 | 
					                                <TopBarMenuItem
 | 
				
			||||||
 | 
					                                    title={this.props.translate.get(Key.Careers, Deco.Cap)}
 | 
				
			||||||
 | 
					                                    path={`${WebsitePaths.Careers}`}
 | 
				
			||||||
 | 
					                                    style={styles.menuItem}
 | 
				
			||||||
 | 
					                                    isNightVersion={isNightVersion}
 | 
				
			||||||
 | 
					                                    isExternal={false}
 | 
				
			||||||
 | 
					                                />
 | 
				
			||||||
                                <TopBarMenuItem
 | 
					                                <TopBarMenuItem
 | 
				
			||||||
                                    title={this.props.translate.get(Key.TradeCallToAction, Deco.Cap)}
 | 
					                                    title={this.props.translate.get(Key.TradeCallToAction, Deco.Cap)}
 | 
				
			||||||
                                    path={`${WebsitePaths.Portal}`}
 | 
					                                    path={`${WebsitePaths.Portal}`}
 | 
				
			||||||
@@ -406,6 +413,9 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
 | 
				
			|||||||
                    <Link to={`${WebsitePaths.About}`} className="text-decoration-none">
 | 
					                    <Link to={`${WebsitePaths.About}`} className="text-decoration-none">
 | 
				
			||||||
                        <MenuItem className="py2">{this.props.translate.get(Key.About, Deco.Cap)}</MenuItem>
 | 
					                        <MenuItem className="py2">{this.props.translate.get(Key.About, Deco.Cap)}</MenuItem>
 | 
				
			||||||
                    </Link>
 | 
					                    </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}>
 | 
					                    <a className="text-decoration-none" target="_blank" href={constants.URL_BLOG}>
 | 
				
			||||||
                        <MenuItem className="py2">{this.props.translate.get(Key.Blog, Deco.Cap)}</MenuItem>
 | 
					                        <MenuItem className="py2">{this.props.translate.get(Key.Blog, Deco.Cap)}</MenuItem>
 | 
				
			||||||
                    </a>
 | 
					                    </a>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user