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 { Nunito_Sans } from "next/font/google";
import { Montserrat } from "next/font/google";



export const metadata: Metadata = {
  title: 'FlawLikeMigo | Premium Grooming & Barbering',
  description: 'Professional barber services by FlawLikeMigo. Precision cuts, beard trims, and hot towel treatments in a premium atmosphere.',
  openGraph: {
    "title": "FlawLikeMigo",
    "description": "Precision barbering and grooming.",
    "siteName": "FlawLikeMigo"
  },
};


const montserrat = Montserrat({
  variable: "--font-montserrat",  subsets: ["latin"],
});

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <ServiceWrapper>
        <body className={`${montserrat.variable} antialiased`}>
          
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
