Update src/app/layout.tsx

This commit is contained in:
2026-01-06 13:08:25 +00:00
parent e3e2ca6883
commit 03da54716e

View File

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