Update src/app/layout.tsx

This commit is contained in:
2025-12-26 00:48:57 +00:00
parent 293d8576fd
commit 7014e76d21

View File

@@ -1,19 +1,13 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google"; import { Prata } from "next/font/google";
import { Merriweather } 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 inter = Inter({ const prata = Prata({
variable: "--font-inter", variable: "--font-prata",
subsets: ["latin"], subsets: ["latin"],
}); weight: ["400"],
const merriweather = Merriweather({
variable: "--font-merriweather",
subsets: ["latin"],
weight: ["300", "400", "700", "900"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
@@ -47,7 +41,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={`${inter.variable} ${merriweather.variable} antialiased`} className={`${prata.variable} antialiased`}
> >
<Tag /> <Tag />
{children} {children}
@@ -1273,4 +1267,4 @@ export default function RootLayout({
</ServiceWrapper> </ServiceWrapper>
</html> </html>
); );
} }