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



export const metadata: Metadata = {
  title: 'Mr Boss Barber | Premium Cuts & Grooming in Bundoora VIC',
  description: 'Experience luxury barbering at Mr Boss Barber in Bundoora, Victoria. Specializing in sharp fades, stylish haircuts, and professional men\'s grooming. Book your appointment today!',
  keywords: ["barber shop bundoora, men's haircuts bundoora, skin fades bundoora, beard trims bundoora, luxury barber, professional grooming, Mr Boss Barber Bundoora, Polaris 3083, Bundoora VIC"],
  openGraph: {
    "title": "Mr Boss Barber | Premium Cuts & Grooming in Bundoora VIC",
    "description": "Experience luxury barbering at Mr Boss Barber in Bundoora, Victoria. Specializing in sharp fades, stylish haircuts, and professional men's grooming. Book your appointment today!",
    "url": "https://www.mrbossbarber.com.au",
    "siteName": "Mr Boss Barber",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/male-white-bathrobe-with-coffee-mug-hand_1153-3746.jpg",
        "alt": "Mr Boss Barber Shop Interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Mr Boss Barber | Premium Cuts & Grooming in Bundoora VIC",
    "description": "Experience luxury barbering at Mr Boss Barber in Bundoora, Victoria. Specializing in sharp fades, stylish haircuts, and professional men's grooming. Book your appointment today!",
    "images": [
      "http://img.b2bpic.net/free-photo/male-white-bathrobe-with-coffee-mug-hand_1153-3746.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const poppins = Poppins({
  variable: "--font-poppins",
  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={`${poppins.variable} antialiased`}>
          
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
