remove meta tags from _document.js
This commit is contained in:
parent
47392f0d7c
commit
44f59f1f34
|
@ -9,6 +9,7 @@ import { ItemActModal, ItemActProvider } from '../components/item-act'
|
||||||
import getApolloClient from '../lib/apollo'
|
import getApolloClient from '../lib/apollo'
|
||||||
import NextNProgress from 'nextjs-progressbar'
|
import NextNProgress from 'nextjs-progressbar'
|
||||||
import { PriceProvider } from '../components/price'
|
import { PriceProvider } from '../components/price'
|
||||||
|
import Head from 'next/head'
|
||||||
|
|
||||||
function MyApp ({ Component, pageProps: { session, ...props } }) {
|
function MyApp ({ Component, pageProps: { session, ...props } }) {
|
||||||
const client = getApolloClient()
|
const client = getApolloClient()
|
||||||
|
@ -40,6 +41,9 @@ function MyApp ({ Component, pageProps: { session, ...props } }) {
|
||||||
showOnShallow
|
showOnShallow
|
||||||
options={{ showSpinner: false }}
|
options={{ showSpinner: false }}
|
||||||
/>
|
/>
|
||||||
|
<Head>
|
||||||
|
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
|
||||||
|
</Head>
|
||||||
<PlausibleProvider domain='stacker.news' trackOutboundLinks>
|
<PlausibleProvider domain='stacker.news' trackOutboundLinks>
|
||||||
<Provider session={session}>
|
<Provider session={session}>
|
||||||
<ApolloProvider client={client}>
|
<ApolloProvider client={client}>
|
||||||
|
|
|
@ -6,7 +6,6 @@ class MyDocument extends Document {
|
||||||
return (
|
return (
|
||||||
<Html>
|
<Html>
|
||||||
<Head>
|
<Head>
|
||||||
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
|
|
||||||
<link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png' />
|
<link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png' />
|
||||||
<link rel='manifest' href='/site.webmanifest' />
|
<link rel='manifest' href='/site.webmanifest' />
|
||||||
<link rel='preload' href={`${publicPrefix}/Lightningvolt-xoqm.ttf`} as='font' type='font/ttf' crossOrigin='' />
|
<link rel='preload' href={`${publicPrefix}/Lightningvolt-xoqm.ttf`} as='font' type='font/ttf' crossOrigin='' />
|
||||||
|
|
Loading…
Reference in New Issue