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



export const metadata: Metadata = {
  title: 'Mex Music Man | Authentic Mexican Live Music Melbourne',
  description: 'Professional live music entertainment by Alejandro, bringing Mexican soul to weddings, parties, and events in Melbourne.',
  openGraph: {
    "title": "Mex Music Man",
    "description": "Authentic Mexican music for your events.",
    "type": "website"
  },
};


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

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