diff --git a/frontend/src/components/Header.js b/frontend/src/components/Header.js index 1764d74a..f8f2f485 100644 --- a/frontend/src/components/Header.js +++ b/frontend/src/components/Header.js @@ -1,5 +1,19 @@ import React, { Component, PropTypes } from 'react' +const MapLink = props => { + const { show, linkText, href, linkClass, ...otherProps } = props + if (!show) { + return null + } + + return ( + + + {linkText} + + ) +} + class Header extends Component { render = () => { const { signedIn, section } = this.props @@ -20,35 +34,47 @@ class Header extends Component {