21 lines
469 B
TypeScript
21 lines
469 B
TypeScript
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
|