Update src/app/layout.tsx

This commit is contained in:
2026-01-21 17:23:31 +00:00
parent 0ecaaf8098
commit 54f05a82b3

View File

@@ -1,11 +1,11 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Noto_Sans } from "next/font/google"; import { Space_Grotesk } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper"; import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
const notoSans = Noto_Sans({ const spaceGrotesk = Space_Grotesk({
variable: "--font-noto-sans", subsets: ["latin"], variable: "--font-space-grotesk", subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
@@ -30,7 +30,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={notoSans.variable} className={spaceGrotesk.variable}
> >
<Tag /> <Tag />
{children} {children}
@@ -1256,4 +1256,4 @@ export default function RootLayout({
</ServiceWrapper> </ServiceWrapper>
</html> </html>
); );
} }