The Blog rebuild
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import "../styles/globals.css"
|
||||
import { Work_Sans } from "@next/font/google"
|
||||
import localFont from "@next/font/local"
|
||||
|
||||
// importing the Work Sans font with
|
||||
// the Next.js 13 Font Optimization Feature
|
||||
const workSans = Work_Sans({
|
||||
weight: ["400", "700"],
|
||||
style: ["normal", "italic"],
|
||||
subsets: ["latin"],
|
||||
})
|
||||
const workSans = localFont({ src: '../public/fonts/WorkSans.ttf' })
|
||||
|
||||
// const workSans = Work_Sans({
|
||||
// weight: ["400", "700"],
|
||||
// style: ["normal", "italic"],
|
||||
// subsets: ["latin"],
|
||||
// })
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return <main className={workSans.className}>
|
||||
|
||||
Reference in New Issue
Block a user