Add "FAQ" link to the header

Closes #370
This commit is contained in:
Ildar Kamalov 2018-10-15 13:49:07 +03:00
parent 8c11449d23
commit bdaea88bf0
1 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import PropTypes from 'prop-types';
import enhanceWithClickOutside from 'react-click-outside';
import classnames from 'classnames';
import { REPOSITORY } from '../../helpers/constants';
class Menu extends Component {
handleClickOutside = () => {
this.props.closeMenu();
@ -53,6 +55,12 @@ class Menu extends Component {
Query Log
</NavLink>
</li>
<li className="nav-item">
<a href={`${REPOSITORY.URL}/wiki`} className="nav-link" target="_blank" rel="noopener noreferrer">
<svg className="nav-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#66b574" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12" y2="17"></line></svg>
FAQ
</a>
</li>
</ul>
</div>
</Fragment>