Switch to version 6: modified src/app/layout.tsx
This commit is contained in:
@@ -21,7 +21,10 @@ export const metadata: Metadata = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const manrope = Manrope({
|
||||||
|
variable: "--font-manrope",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
const dmSans = DM_Sans({
|
const dmSans = DM_Sans({
|
||||||
variable: "--font-dm-sans",
|
variable: "--font-dm-sans",
|
||||||
subsets: ["latin"],
|
subsets: ["latin"],
|
||||||
@@ -35,7 +38,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${dmSans.variable} antialiased`}>
|
<body className={`${manrope.variable} ${dmSans.variable} antialiased`}>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
|
|||||||
Reference in New Issue
Block a user