Update theme fonts
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Cormorant_Garamond } 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";
|
||||||
|
import { Mulish } from "next/font/google";
|
||||||
|
import { Inter } from "next/font/google";
|
||||||
|
|
||||||
const cormorantGaramond = Cormorant_Garamond({
|
const cormorantGaramond = Cormorant_Garamond({
|
||||||
variable: "--font-cormorant-garamond", subsets: ["latin"],
|
variable: "--font-cormorant-garamond", subsets: ["latin"],
|
||||||
@@ -28,6 +29,15 @@ export const metadata: Metadata = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const mulish = Mulish({
|
||||||
|
variable: "--font-mulish",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
const inter = Inter({
|
||||||
|
variable: "--font-inter",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
@@ -36,9 +46,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body className={`${mulish.variable} ${inter.variable} antialiased`}>
|
||||||
className={cormorantGaramond.variable}
|
|
||||||
>
|
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user