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 Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito_Sans } from "next/font/google";



export const metadata: Metadata = {
  title: 'Hairtalks Rouse Hill | Premium Hair Styling & Colour',
  description: 'Experience expert cuts, vibrant colours, and luxurious hair treatments at Hairtalks in Rouse Hill Town Centre. Book your appointment for a transformative salon experience.',
  keywords: ["Hairtalks, Rouse Hill, hair salon, hair styling, hair colour, balayage, haircuts, hair treatments, best salon Rouse Hill, premium hair services"],
  openGraph: {
    "title": "Hairtalks Rouse Hill | Premium Hair Styling & Colour",
    "description": "Experience expert cuts, vibrant colours, and luxurious hair treatments at Hairtalks in Rouse Hill Town Centre. Book your appointment for a transformative salon experience.",
    "url": "https://www.hairtalksrousehill.com",
    "siteName": "Hairtalks Rouse Hill",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/sensual-glamour-portrait-beautiful-blond-woman-model-lady-with-fresh-daily-makeup-with-pink-lips-color-clean-healthy-skin_158538-14293.jpg",
        "alt": "Luxurious hair salon interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Hairtalks Rouse Hill | Premium Hair Styling & Colour",
    "description": "Experience expert cuts, vibrant colours, and luxurious hair treatments at Hairtalks in Rouse Hill Town Centre. Book your appointment for a transformative salon experience.",
    "images": [
      "http://img.b2bpic.net/free-photo/sensual-glamour-portrait-beautiful-blond-woman-model-lady-with-fresh-daily-makeup-with-pink-lips-color-clean-healthy-skin_158538-14293.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const nunitoSans = Nunito_Sans({
  variable: "--font-nunito-sans",
  subsets: ["latin"],
});

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