diff --git a/components/common/header/index.js b/components/common/header/index.js index e6b9958d7..e32cdce11 100644 --- a/components/common/header/index.js +++ b/components/common/header/index.js @@ -61,6 +61,11 @@ class NavBar extends React.Component { path: 'https://coderplex.org/jobs', external: true, }, + { + title: 'Donate', + path: 'https://donate.coderplex.org', + external: true, + }, ], }; @@ -101,22 +106,33 @@ class NavBar extends React.Component { - {this.state.navItems.filter(item => !item.external).map(item => ( - - - + {this.state.navItems + .filter(item => !item.external) + .map(item => ( + + + + {item.title} + + + + ))} + {this.state.navItems + .filter(item => item.external) + .map(item => ( + + {item.title} - - - ))} - {this.state.navItems.filter(item => item.external).map(item => ( - - - {item.title} - - - ))} + + ))} diff --git a/components/common/header/index.styles.js b/components/common/header/index.styles.js index c94444ea1..678572cc1 100644 --- a/components/common/header/index.styles.js +++ b/components/common/header/index.styles.js @@ -107,6 +107,17 @@ export const NavLink = styled.li` } } } + &.donate_btn { + background: #c201b9; + color: white; + border-radius: 6px; + font-weight: bold; + line-height: inherit; + margin: 5px; + &:hover { + background:#9c27b0; + } + } @media(max-width: 885px) { width: 100%; font-size: 14px;