mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: replace next-seo with custom solution (#660)
* replace next-seo with custom solution * Updated check Co-authored-by: LFades <luis@vercel.com>
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
import { FC } from 'react'
|
||||
import NextHead from 'next/head'
|
||||
import { DefaultSeo } from 'next-seo'
|
||||
import config from '@config/seo.json'
|
||||
import type { VFC } from 'react'
|
||||
import { SEO } from '@components/common'
|
||||
|
||||
const Head: FC = () => {
|
||||
const Head: VFC = () => {
|
||||
return (
|
||||
<>
|
||||
<DefaultSeo {...config} />
|
||||
<NextHead>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="manifest" href="/site.webmanifest" key="site-manifest" />
|
||||
</NextHead>
|
||||
</>
|
||||
<SEO>
|
||||
<meta
|
||||
key="viewport"
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1"
|
||||
/>
|
||||
<link rel="manifest" href="/site.webmanifest" key="site-manifest" />
|
||||
</SEO>
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user