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



export const metadata: Metadata = {
  title: 'KENYUN SALON - Premier Beauty & Hair Salon Jakarta',
  description: 'Discover exceptional hair care, styling, coloring, and facial treatments at KENYUN SALON. Your go-to destination for beauty transformation in Jakarta.',
  keywords: ["Kenyun Salon, beauty salon Jakarta, hair salon, hair styling, hair coloring, facial treatment, nail care, salon services"],
  openGraph: {
    "title": "KENYUN SALON - Premier Beauty & Hair Salon Jakarta",
    "description": "Discover exceptional hair care, styling, coloring, and facial treatments at KENYUN SALON. Your go-to destination for beauty transformation in Jakarta.",
    "url": "https://www.kenyunsalon.com",
    "siteName": "KENYUN SALON",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/sitting-hair-dresser-posing_23-2148108747.jpg",
        "alt": "Luxurious hair salon interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "KENYUN SALON - Premier Beauty & Hair Salon Jakarta",
    "description": "Discover exceptional hair care, styling, coloring, and facial treatments at KENYUN SALON. Your go-to destination for beauty transformation in Jakarta.",
    "images": [
      "http://img.b2bpic.net/free-photo/sitting-hair-dresser-posing_23-2148108747.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const sourceSans3 = Source_Sans_3({
  variable: "--font-source-sans-3",
  subsets: ["latin"],
});

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