Files
64da56c7-7887-443e-8a96-83c…/src/app/layout.tsx
2026-04-09 11:33:52 +00:00

47 lines
1.2 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";
export const metadata: Metadata = {
title: 'Style Cutz Barbershop | Trusted Bayside Cuts',
description: 'Professional barbershop in Bayside offering sharp fades, clean cuts, and beard trims. Family-friendly, fair prices, and reliable service.',
openGraph: {
"title": "Style Cutz Barbershop",
"description": "The trusted choice for consistent, professional haircuts in Bayside.",
"type": "website"
},
};
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={`${inter.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}