text: import { Link } from "gatsby"
  import PropTypes from "prop-types"
  import React from "react"
  
  import Menu from "./menu"
  
  const Header = ({ siteTitle }) => (
    <header
      style={{
        background: `#333`,
      }}
    >
      <div
        style={{
          margin: `0 auto`,
          maxWidth: 960,
          padding: `1rem`,
          display: 'flex',
          justifyContent: 'space-between',
        }}
      >
        <h1 style={{ margin: 0, padding: 0 }}>
          <Link
            to="/"
            style={{ color: `#ddd` }}
          >
            {siteTitle}
          </Link>
        </h1>
  
        <Menu />
      </div>
    </header>
  )
  
  Header.propTypes = {
    siteTitle: PropTypes.string,
  }
  
  Header.defaultProps = {
    siteTitle: ``,
  }
  
  export default Header
  