Update src/app/layout.tsx

This commit is contained in:
2026-01-06 11:17:24 +00:00
parent a37cec8dec
commit 7745000316

View File

@@ -1,13 +1,18 @@
import type { Metadata } from "next";
import { Lato } from "next/font/google";
import { Playfair_Display, Roboto } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const lato = Lato({
variable: "--font-lato",
const playfairDisplay = Playfair_Display({
variable: "--font-playfair-display",
subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
const roboto = Roboto({
variable: "--font-roboto",
subsets: ["latin"],
weight: ["100", "300", "400", "500", "700", "900"],
});
export const metadata: Metadata = {
@@ -49,7 +54,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={lato.variable}
className={`${playfairDisplay.variable} ${roboto.variable}`}
>
<Tag />
{children}
@@ -1275,4 +1280,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}