Update src/app/layout.tsx
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Prata } from "next/font/google";
|
||||
import { Playfair_Display, Roboto } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const prata = Prata({
|
||||
variable: "--font-prata",
|
||||
const playfairDisplay = Playfair_Display({
|
||||
variable: "--font-playfair-display",
|
||||
subsets: ["latin"],
|
||||
weight: ["400"],
|
||||
});
|
||||
|
||||
const roboto = Roboto({
|
||||
variable: "--font-roboto",
|
||||
subsets: ["latin"],
|
||||
weight: ["100", "300", "400", "500", "700", "900"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -44,7 +49,7 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={prata.variable}
|
||||
className={`${playfairDisplay.variable} ${roboto.variable}`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
@@ -1270,4 +1275,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user