fix: global font
This commit is contained in:
1 parent
279a61ddcd
commit
9dc731299f
1 file changed
+2
-7
+2
-7
@@ -32,18 +32,13 @@ export default function RootLayout({ children }: { children: ReactNode }) {
|
|||||||
<html lang='en' className={theme}>
|
<html lang='en' className={theme}>
|
||||||
<head>
|
<head>
|
||||||
<meta name='theme-color' content='black' />
|
<meta name='theme-color' content='black' />
|
||||||
{/* <link rel='preconnect' href='https://fonts.googleapis.com' />
|
|
||||||
<link rel='preconnect' href='https://fonts.gstatic.com' crossOrigin='' />
|
|
||||||
<link href='https://fonts.googleapis.com/css2?family=Moderustic&family=Poppins&display=swap' rel='stylesheet' /> */}
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body style={poppins.style}>
|
||||||
<Providers theme={theme}>
|
<Providers theme={theme}>
|
||||||
<div className='sticky top-0 z-20'>
|
<div className='sticky top-0 z-20'>
|
||||||
<Header />
|
<Header />
|
||||||
</div>
|
</div>
|
||||||
<main className='px-2 max-w-[1240px] mx-auto' style={poppins.style}>
|
<main className='px-2 max-w-[1240px] mx-auto'>{children}</main>
|
||||||
{children}
|
|
||||||
</main>
|
|
||||||
</Providers>
|
</Providers>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in new issue
Block a user