Files
216292b8-2c8b-459f-8654-e45…/src/app/layout.tsx
2026-03-12 20:01:19 +00:00

75 lines
2.2 KiB
TypeScript

import type { Metadata } from "next";
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";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "GP Roofing Kentucky | Trusted Roofing Contractor",
description: "Professional roofing services in Kentucky. Expert roof replacement, repair, and installation. 5-star rated, licensed & insured. Free estimates.",
keywords: "roofing Kentucky, roof repair, roof replacement, roofing contractor, residential roofing",
metadataBase: new URL("https://gproofingky.com"),
alternates: {
canonical: "https://gproofingky.com",
},
openGraph: {
title: "GP Roofing Kentucky - Trusted Roofing Expert",
description: "Professional roofing built to last. Quality craftsmanship, fair pricing, and a crew that treats your home like their own.",
url: "https://gproofingky.com",
siteName: "GP Roofing Kentucky",
type: "website",
images: [
{
url: "https://gproofingky.com/og-image.jpg",
alt: "GP Roofing Kentucky - Professional Roofing Services",
},
],
},
twitter: {
card: "summary_large_image",
title: "GP Roofing Kentucky - Trusted Roofing Expert",
description: "Professional roofing built to last. Free estimates available.",
images: ["https://gproofingky.com/twitter-image.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}