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



export const metadata: Metadata = {
  title: 'Royal Oasis Estate | Luxury Hotel in New Administrative Capital',
  description: 'Discover Royal Oasis Estate, a luxury destination in the New Administrative Capital, offering opulent interiors, world-class dining, and personalized service.',
  openGraph: {
    "title": "Royal Oasis Estate",
    "description": "Opulent luxury stay in the New Administrative Capital.",
    "siteName": "Royal Oasis Estate",
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image"
  },
};

const dmSans = DM_Sans({ variable: "--font-dm-sans", subsets: ["latin"] });

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