Updated to Next.js 13

This commit is contained in:
Antonello Zanini
2022-11-18 13:54:54 +01:00
commit 0eae94dbe6
40 changed files with 6381 additions and 0 deletions

18
pages/_app.js Normal file
View 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