Update theme fonts

This commit is contained in:
2026-03-16 02:18:56 +00:00
parent 1e90426f37
commit c340ef6112

View File

@@ -5,22 +5,10 @@ import { Mulish } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { DM_Sans } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "BrandLift - Launch Your Business Online in 48 Hours",
@@ -55,6 +43,15 @@ export const metadata: Metadata = {
},
};
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
@@ -63,9 +60,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${mulish.variable} antialiased`}
>
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
{children}
<script