Files
aa4f2fe7-becb-4319-876e-2e7…/src/app/layout.tsx
2026-04-17 05:14:54 +00:00

53 lines
1.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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Libre_Baskerville } from "next/font/google";
export const metadata: Metadata = {
title: 'Professional Restoration & Construction | Mount Juliet',
description: '18+ years of family-owned construction and restoration in Mount Juliet, TN. Roofing, siding, gutters, and interior remodeling experts.',
openGraph: {
"title": "Restoration Inc. - Mount Juliet Experts",
"description": "Quality restoration and construction services for home and business.",
"type": "website"
},
};
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}