{"size": 986, "ext": "js", "max_stars_repo_path": "src/components/header.js", "max_stars_repo_name": "robot-chappi/travel-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/header.js", "max_issues_repo_name": "robot-chappi/travel-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/header.js", "max_forks_repo_name": "robot-chappi/travel-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.65, "max_line_length": 91, "alphanum_fraction": 0.5851926978}
import * as React from "react"
import PropTypes from "prop-types"
import { Link } from "gatsby"
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import {faCaretDown} from '@fortawesome/free-solid-svg-icons'

const Header = ({siteTitle}) => (
  <div className="wrapper">
    <nav>
    <input type="checkbox" id="show-menu"/>
    <label for="show-menu" class="menu-icon"><FontAwesomeIcon icon={faCaretDown} /></label>
    <div className="content">
    <div className="logo">
        <Link to="/">{siteTitle}</Link>
        </div>
        <ul className="links">
        <li><Link to="/about">About</Link></li>
        <li> <Link to="/news">News</Link></li>
        <li>
        <Link to="/routes-russia">Routes</Link>
        </li>
        <li>
          <Link to="/travel-buy">Buy</Link> 
        </li>
        </ul>
    </div>
    </nav>
  </div>
)

Header.propTypes = {
  siteTitle: PropTypes.string,
}

Header.defaultProps = {
  siteTitle: ``,
}

export default Header
