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";



export const metadata: Metadata = {
  title: 'Quilim Restaurant | Faisalabad\'s Premier Dining Destination',
  description: 'Experience luxury dining at Quilim Restaurant in Faisalabad. Perfect for celebrations, enjoy exquisite Pakistani-Chinese cuisine, warm hospitality, and elegant ambiance. Book your table now!',
  keywords: ["Quilim Restaurant, Faisalabad, luxury dining, celebration dining, Pakistani Chinese cuisine, fine dining, restaurant reservation, special events, corporate dinners"],
  openGraph: {
    "title": "Quilim Restaurant | Faisalabad's Premier Dining Destination",
    "description": "Experience luxury dining at Quilim Restaurant in Faisalabad. Perfect for celebrations, enjoy exquisite Pakistani-Chinese cuisine, warm hospitality, and elegant ambiance. Book your table now!",
    "url": "https://www.quilimrestaurant.com",
    "siteName": "Quilim Restaurant",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/beautiful-candles-restaurant_8353-9527.jpg",
        "alt": "Luxurious fine dining table setting at Quilim Restaurant"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Quilim Restaurant | Faisalabad's Premier Dining Destination",
    "description": "Experience luxury dining at Quilim Restaurant in Faisalabad. Perfect for celebrations, enjoy exquisite Pakistani-Chinese cuisine, warm hospitality, and elegant ambiance. Book your table now!",
    "images": [
      "http://img.b2bpic.net/free-photo/beautiful-candles-restaurant_8353-9527.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
});

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