Files
56a8b99b-2f4b-49bf-9dc4-ebc…/src/app/layout.tsx
2026-04-27 04:10:30 +00:00

62 lines
1.6 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 { Open_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Chase & Sons Plumbing | Fresno\'s Trusted Plumber',
description: 'Top-rated plumbing services in Fresno. Expert care for leaks, heaters, and drains. Professional, reliable, and available for emergency calls.',
openGraph: {
"title": "Chase & Sons Plumbing",
"description": "Your local Fresno plumbing experts.",
"siteName": "Chase & Sons Plumbing",
"type": "website"
},
twitter: {
"card": "summary_large_image",
"title": "Chase & Sons Plumbing"
},
robots: {
"index": true,
"follow": true
},
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}