import Head from 'next/head'
import { YMInitializer } from 'react-yandex-metrika'

import Footer from './Footer'

export default function Layout ({ children }) {
  return (
    <>
      <Head>
        <title>Warframe Center</title>
        <link rel='icon' href='/favicon.ico' />
        <YMInitializer accounts={[87671663]} />
      </Head>
      <main>{children}</main>
      <Footer />
    </>
  )
}
