70 lines
2.5 KiB
TypeScript
70 lines
2.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Public_Sans } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Keith The Plumber LLC | Honest & Reliable Plumbing in Alabama',
|
|
description: 'Fast, honest, and reliable plumbing services across Alabama. Licensed technicians, upfront pricing, and 24/7 emergency service you can trust.',
|
|
keywords: ["plumber Alabama, plumbing services, emergency plumber, water heater repair, drain cleaning, leak detection, Keith The Plumber, Alabama plumbing"],
|
|
openGraph: {
|
|
"title": "Keith The Plumber LLC | Honest & Reliable Plumbing in Alabama",
|
|
"description": "Fast, honest, and reliable plumbing services across Alabama. Licensed technicians, upfront pricing, and 24/7 emergency service you can trust.",
|
|
"url": "https://www.keiththeplumber.com",
|
|
"siteName": "Keith The Plumber LLC",
|
|
"images": [
|
|
{
|
|
"url": "http://img.b2bpic.net/free-photo/household-problem-woman-pointing-broken-tap-with-jet-water-man-with-suitcase-tools_259150-58295.jpg",
|
|
"alt": "Friendly plumber working in a home"
|
|
}
|
|
],
|
|
"type": "website"
|
|
},
|
|
twitter: {
|
|
"card": "summary_large_image",
|
|
"title": "Keith The Plumber LLC | Honest & Reliable Plumbing in Alabama",
|
|
"description": "Fast, honest, and reliable plumbing services across Alabama. Licensed technicians, upfront pricing, and 24/7 emergency service you can trust.",
|
|
"images": [
|
|
"http://img.b2bpic.net/free-photo/household-problem-woman-pointing-broken-tap-with-jet-water-man-with-suitcase-tools_259150-58295.jpg"
|
|
]
|
|
},
|
|
robots: {
|
|
"index": true,
|
|
"follow": true
|
|
},
|
|
};
|
|
|
|
const publicSans = Public_Sans({
|
|
variable: "--font-public-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${publicSans.variable} antialiased`}>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|