Update theme fonts

This commit is contained in:
2026-05-14 01:05:34 +00:00
parent 94e50d3dce
commit 0e24fb1785

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Poppins } from "next/font/google";
import { Open_Sans } from "next/font/google";
@@ -15,10 +16,14 @@ export const metadata: Metadata = {
description: 'Dream Land for Contracting delivers high-end construction, infrastructure, and interior finishing with Saudi standards and engineering precision.',
};
const poppins = Poppins({
variable: "--font-poppins",
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export default function RootLayout({
@@ -29,7 +34,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${poppins.variable} antialiased`}>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<Tag />
{children}
<script