Update src/app/layout.tsx

This commit is contained in:
2026-03-03 23:09:32 +00:00
parent 982a3ccdfe
commit 18c7a76c45

View File

@@ -1,53 +1,28 @@
import type { Metadata } from "next";
import { Manrope } from "next/font/google";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const manrope = Manrope({
variable: "--font-manrope", subsets: ["latin"],
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Anderson Heating & Plumbing | 24/7 Emergency Service", description: "Expert heating and plumbing services with 25+ years experience. Licensed, insured, 24/7 emergency response. Free quotes available.", keywords: "heating repair, plumbing service, emergency plumber, furnace repair, water heater, drain cleaning", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Anderson Heating & Plumbing", description: "Expert heating and plumbing solutions. 24/7 emergency service available.", siteName: "Anderson Heating & Plumbing", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/man-installs-heating-system-house-checks-pipes-with-wrench_169016-53082.jpg", alt: "Anderson Heating & Plumbing Services"},
],
},
twitter: {
card: "summary_large_image", title: "Anderson Heating & Plumbing | Expert Service", description: "24/7 emergency heating and plumbing services"},
};
title: "Anderson Heating & Plumbing | 24/7 Emergency Service", description: "Expert heating and plumbing solutions with 24/7 emergency service. Licensed, insured, and trusted by thousands of homeowners."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${manrope.variable} ${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1415,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}