Update src/app/layout.tsx

This commit is contained in:
2026-03-11 10:20:54 +00:00
parent 2cb5c13f6d
commit 3e952d7042

View File

@@ -6,7 +6,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Open_Sans } from "next/font/google";
import { Poppins } from "next/font/google";
import { Cormorant_Garamond } from "next/font/google";
@@ -16,9 +16,9 @@ export const metadata: Metadata = {
};
const poppins = Poppins({
variable: "--font-poppins", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
const cormorantGaramond = Cormorant_Garamond({
variable: "--font-cormorant-garamond", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export default function RootLayout({
@@ -29,7 +29,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${poppins.variable} antialiased`}>
<body className={`${cormorantGaramond.variable} antialiased`}>
<Tag />
{children}
<script