Update src/app/layout.tsx

This commit is contained in:
2026-03-03 18:09:28 +00:00
parent 856bba2986
commit bbe623ad5c

View File

@@ -1,49 +1,20 @@
import type { Metadata } from "next";
import { DM_Sans } from "next/font/google";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const dmSans = DM_Sans({
variable: "--font-dm-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 inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Professional Garage Door Repair & Installation Service", description: "Trusted local garage door repair, installation, and maintenance. Available Mon-Fri 8am-8pm. Fast same-day service, certified technicians, 100% warranty.", keywords: "garage door repair, garage door installation, garage door service, emergency repair, local service", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Pilot Garage Door - Professional Service You Can Trust", description: "Expert garage door repair and installation. Available Monday-Friday 8am-8pm.", siteName: "Pilot Garage Door", type: "website"},
twitter: {
card: "summary_large_image", title: "Pilot Garage Door Service", description: "Professional garage door repair and installation service"},
};
title: "Pilot Garage Door - Professional Garage Door Service", description: "Fast, reliable garage door repair and installation service in your area. Available Monday-Friday, 8am-8pm. Emergency repairs, new installations, and maintenance."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${dmSans.variable} ${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1411,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}