Update theme fonts
This commit is contained in:
@@ -3,6 +3,8 @@ import { Inter_Tight } 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 { Open_Sans } from "next/font/google";
|
||||||
|
import { Work_Sans } from "next/font/google";
|
||||||
|
|
||||||
const interTight = Inter_Tight({
|
const interTight = Inter_Tight({
|
||||||
variable: "--font-inter-tight", subsets: ["latin"],
|
variable: "--font-inter-tight", subsets: ["latin"],
|
||||||
@@ -27,6 +29,15 @@ export const metadata: Metadata = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const openSans = Open_Sans({
|
||||||
|
variable: "--font-open-sans",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
const workSans = Work_Sans({
|
||||||
|
variable: "--font-work-sans",
|
||||||
|
subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: Readonly<{
|
||||||
@@ -35,9 +46,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body
|
<body className={`${openSans.variable} ${workSans.variable} antialiased`}>
|
||||||
className={`${interTight.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user