import { FC } from 'react'
import NextHead from 'next/head'
import { DefaultSeo } from 'next-seo'
import config from '@config/seo.json'

const Head: FC = () => {
  return (
    <>
      <DefaultSeo {...config} />
      <NextHead>
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="manifest" href="/site.webmanifest" key="site-manifest" />
        <meta key="robots" name="robots" content="noindex,nofollow" />
        <meta key="googlebot" name="googlebot" content="noindex,nofollow" />
      </NextHead>
    </>
  )
}

export default Head
