Update src/app/layout.tsx

This commit is contained in:
2026-03-20 01:18:09 +00:00
parent 85169f4058
commit 57c2e900de

View File

@@ -1,24 +1,45 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
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"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Brian S Brown Plumbing & Heating | Local Plumber & HVAC",
description: "Trusted plumbing and heating services. Licensed, insured, 24/7 emergency service. Free estimates. Over 20 years serving the community.",
keywords: "plumber, plumbing repair, heating repair, emergency plumbing, water heater, drain cleaning, local plumber",
openGraph: {
title: "Brian S Brown Plumbing & Heating",
description: "Fast, honest, and reliable plumbing and heating services. Licensed & insured. 24/7 emergency service available.",
url: "https://briansbrown.com",
siteName: "Brian S Brown Plumbing & Heating",
type: "website",
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +48,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +62,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}