Files
7229b998-3dcf-4b25-bc6c-0c3…/src/app/layout.tsx
2026-04-30 23:23:30 +00:00

59 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 { Source_Sans_3 } from "next/font/google";
import { Montserrat } from "next/font/google";
import { Open_Sans } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
import { Inter_Tight } from "next/font/google";
export const metadata: Metadata = {
title: 'JR\'s Plumbing & Heating | Expert Repairs',
description: 'Professional plumbing and heating services for local residential and commercial properties. Reliable repairs you can count on.',
openGraph: {
"title": "JR's Plumbing & Heating",
"description": "Professional plumbing and heating services.",
"siteName": "JR's Plumbing & Heating",
"type": "website"
},
};
const interTight = Inter_Tight({
variable: "--font-inter-tight",
subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${interTight.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}