Update src/app/layout.tsx

This commit is contained in:
2026-02-27 13:51:14 +00:00
parent 1bbfb437ee
commit 3207eb0be9

View File

@@ -1,17 +1,17 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Josefin_Sans } from "next/font/google"; import { IBM_Plex_Sans } from "next/font/google";
import { Inter } from "next/font/google"; import { Roboto_Mono } 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 josefinSans = Josefin_Sans({ const ibmPlexSans = IBM_Plex_Sans({
variable: "--font-josefin-sans", subsets: ["latin"], variable: "--font-ibm-plex-sans", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700"], weight: ["100", "200", "300", "400", "500", "600", "700"],
}); });
const inter = Inter({ const robotoMono = Roboto_Mono({
variable: "--font-inter", subsets: ["latin"], variable: "--font-roboto-mono", subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
@@ -37,7 +37,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body <body
className={`${josefinSans.variable} ${inter.variable} antialiased`} className={`${ibmPlexSans.variable} ${robotoMono.variable} antialiased`}
> >
<Tag /> <Tag />
{children} {children}