Update src/app/layout.tsx

This commit is contained in:
2025-12-21 12:05:34 +00:00
parent 65d068e699
commit bbe5736d0e

View File

@@ -1,11 +1,11 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Source_Code_Pro } from "next/font/google"; import { Playfair_Display } 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 sourceCodePro = Source_Code_Pro({ const playfairDisplay = Playfair_Display({
variable: "--font-source-code-pro", variable: "--font-playfair-display",
subsets: ["latin"], subsets: ["latin"],
}); });
@@ -49,7 +49,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={sourceCodePro.variable} className={playfairDisplay.variable}
> >
<Tag /> <Tag />
{children} {children}