fix loading of inter font
This commit is contained in:
@ -15,6 +15,8 @@ import { Metadata } from 'next'
|
||||
|
||||
const inter = Inter({
|
||||
subsets: ['latin'],
|
||||
display: 'swap',
|
||||
variable: '--font-inter',
|
||||
})
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@ -61,7 +63,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
return (
|
||||
<html
|
||||
lang={siteMetadata.language}
|
||||
className={`${inter.className} scroll-smooth`}
|
||||
className={`${inter.variable} scroll-smooth`}
|
||||
suppressHydrationWarning
|
||||
>
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="/static/favicons/apple-touch-icon.png" />
|
||||
|
Reference in New Issue
Block a user