use Next.js
This commit is contained in:
1 parent
cf94c66807
commit
20a00d5ab3
34 files changed
+7117
-1
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { THEME } from '~/assets/global'
|
||||
import Layout from '~/components/Layout'
|
||||
import Head from 'next/head'
|
||||
|
||||
// eslint-disable-next-line react/prop-types
|
||||
const MyApp = ({ Component, pageProps }) => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{THEME.title}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
</Head>
|
||||
<Layout>
|
||||
<Component {...pageProps} />
|
||||
</Layout>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
Reference in new issue
Block a user