Zaiste 542cadc016
make configuration provider specific
Right now, the config is only about SEO. By moving it to
the `@framework` directory, it can be customized on a
per-provider basis.
2021-07-09 16:01:24 +02:00

19 lines
449 B
TypeScript

import { FC } from 'react'
import NextHead from 'next/head'
import { DefaultSeo } from 'next-seo'
import config from '@framework/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" />
</NextHead>
</>
)
}
export default Head