import { Link } from 'react-router-dom'

import { PAGES } from 'config/pages'

import { Search } from 'features/Search'
import { Menu } from 'features/Menu'

import { HeaderGroup, HeaderLogo } from './styled'

export const HeaderMenu = () => (
  <HeaderGroup>
    <Search />
    <Link to={PAGES.home}>
      <HeaderLogo />
    </Link>
    <Menu />
  </HeaderGroup>
)
