Switch to version 6: modified src/app/layout.tsx

This commit is contained in:
2026-05-07 16:51:24 +00:00
parent d264d1a80c
commit 4c9f7e892a

View File

@@ -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