Update src/app/layout.tsx

This commit is contained in:
2026-03-06 22:41:48 +00:00
parent 3bed8c80fa
commit 2959117cfb

View File

@@ -1,54 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Public_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const publicSans = Public_Sans({
variable: "--font-public-sans", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Faircloth Plumbing & Heating | Local Plumbing Service", description: "Reliable plumbing repair with fair pricing. Quick response, honest service, quality repairs. Call today for leak repair, toilet service, and general plumbing.", keywords: "plumbing service, plumber, leak repair, toilet repair, local plumbing, residential plumbing, fair pricing", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Faircloth Plumbing & Heating | Reliable Local Service", description: "Honest plumbing repairs with fair pricing. Quick response guaranteed.", type: "website", siteName: "Faircloth Plumbing & Heating", images: [
{
url: "http://img.b2bpic.net/free-photo/side-view-woman-working-as-plumber_23-2150746370.jpg", alt: "Professional plumbing service"},
],
},
twitter: {
card: "summary_large_image", title: "Faircloth Plumbing & Heating", description: "Fast, reliable, fair-priced plumbing service", images: ["http://img.b2bpic.net/free-photo/side-view-woman-working-as-plumber_23-2150746370.jpg"],
},
};
title: "Faircloth Plumbing & Heating", description: "Reliable local plumbing services with fair pricing and quick response times."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1416,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}