This commit is contained in:
Luis Alvarez
2020-10-15 16:45:42 -05:00
13 changed files with 95 additions and 112 deletions

View File

@@ -3,11 +3,10 @@ import '@assets/tailwind.css'
import '@assets/utils.css'
import 'animate.css'
import { FC } from 'react'
import { DefaultSeo } from 'next-seo'
import type { AppProps } from 'next/app'
import Head from 'next/head'
import config from '../config.json'
import { ManagedUIContext } from '@components/ui/context'
import { Head } from '@components/core'
const Noop: FC = ({ children }) => <>{children}</>
@@ -16,14 +15,12 @@ export default function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="manifest" href="/site.webmanifest" key="site-manifest" />
</Head>
<DefaultSeo {...config.seo} />
<Layout pageProps={pageProps}>
<Component {...pageProps} />
</Layout>
<Head />
<ManagedUIContext>
<Layout pageProps={pageProps}>
<Component {...pageProps} />
</Layout>
</ManagedUIContext>
</>
)
}