Update theme fonts

This commit is contained in:
2026-05-12 04:01:34 +00:00
parent cc17a8a8ae
commit 11b7e216c9

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Lato } from "next/font/google";
import { DM_Sans } from "next/font/google";
@@ -15,10 +16,14 @@ export const metadata: Metadata = {
description: 'Unlock your body\'s full potential with PT Hermed\'s premium, science-backed supplements designed for vitality and longevity.',
};
const lato = Lato({
variable: "--font-lato",
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
export default function RootLayout({
@@ -29,7 +34,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${lato.variable} antialiased`}>
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script