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



export const metadata: Metadata = {
  title: 'Golden Sky Home | Appart Hôtel, Café & Restaurant',
  description: 'Experience luxury stays, exquisite dining, and a cozy cafe atmosphere at Golden Sky Home. Your premier destination for comfort and culinary delight.',
  openGraph: {
    "title": "Golden Sky Home | Appart Hôtel, Café & Restaurant",
    "description": "Experience luxury stays, exquisite dining, and a cozy cafe atmosphere at Golden Sky Home. Your premier destination for comfort and culinary delight.",
    "url": "https://www.goldenskyhome.com",
    "siteName": "Golden Sky Home",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/young-woman-sitting-reception-drinking-coffee_1303-22682.jpg",
        "alt": "Luxurious hotel lobby and restaurant interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Golden Sky Home | Appart Hôtel, Café & Restaurant",
    "description": "Experience luxury stays, exquisite dining, and a cozy cafe atmosphere at Golden Sky Home. Your premier destination for comfort and culinary delight.",
    "images": [
      "http://img.b2bpic.net/free-photo/young-woman-sitting-reception-drinking-coffee_1303-22682.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
