Update src/app/layout.tsx

This commit is contained in:
2026-04-17 22:44:55 +00:00
parent 8dabd82f1d
commit 9b5ef376b4

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Libre_Baskerville } from "next/font/google";
import { Figtree } from "next/font/google";
@@ -19,14 +20,9 @@ export const metadata: Metadata = {
},
};
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
const figtree = Figtree({
variable: "--font-figtree", subsets: ["latin"],
});
export default function RootLayout({
@@ -37,7 +33,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
<body className={`${figtree.variable} antialiased`}>
<Tag />
{children}
<script