Update src/app/layout.tsx

This commit is contained in:
2026-01-04 19:05:36 +00:00
parent 9fd0e855ee
commit e05f540ce5

View File

@@ -1,11 +1,11 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Plus_Jakarta_Sans } from "next/font/google"; import { Fraunces } 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 plusJakartaSans = Plus_Jakarta_Sans({ const fraunces = Fraunces({
variable: "--font-plus-jakarta-sans", variable: "--font-fraunces",
subsets: ["latin"], subsets: ["latin"],
}); });
@@ -43,7 +43,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={plusJakartaSans.variable} className={fraunces.variable}
> >
<Tag /> <Tag />
{children} {children}
@@ -1269,4 +1269,4 @@ export default function RootLayout({
</ServiceWrapper> </ServiceWrapper>
</html> </html>
); );
} }