Update src/app/layout.tsx

This commit is contained in:
2025-12-22 10:37:41 +00:00
parent eebafcfafd
commit 9e21c34d39

View File

@@ -1,12 +1,13 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Fraunces } from "next/font/google"; import { Poppins } 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 fraunces = Fraunces({ const poppins = Poppins({
variable: "--font-fraunces", variable: "--font-poppins",
subsets: ["latin"], subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
@@ -49,7 +50,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={fraunces.variable} className={poppins.variable}
> >
<Tag /> <Tag />
{children} {children}
@@ -1275,4 +1276,4 @@ export default function RootLayout({
</ServiceWrapper> </ServiceWrapper>
</html> </html>
); );
} }