Updated to Next.js 13
This commit is contained in:
18
pages/_app.js
Normal file
18
pages/_app.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import '../styles/globals.css'
|
||||
import { Work_Sans } from '@next/font/google'
|
||||
|
||||
// importing the Inter font with
|
||||
// the Next.js 13 Font Optimization Feature
|
||||
const workSans = Work_Sans({
|
||||
weight: ['400', '700'],
|
||||
style: ['normal', 'italic'],
|
||||
subsets: ['latin'],
|
||||
})
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return <main className={workSans.className}>
|
||||
<Component {...pageProps} />
|
||||
</main>
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
Reference in New Issue
Block a user