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: 'Stellar Reserve - Hyderabad\'s Finest Cafe & Eatery',
  description: 'Discover Stellar Reserve, a top-rated cafe in Jubilee Hills, Hyderabad. Enjoy exceptional coffee, artisan gelato, gourmet pizza, pasta, and more. Dine-in, pickup, and delivery available.',
  keywords: ["Stellar Reserve, cafe Hyderabad, coffee shop Jubilee Hills, gelato, pizza, pasta, macarons, Hyderabad best cafe, dine-in, kerbside pickup, no-contact delivery, cafe menu"],
  openGraph: {
    "title": "Stellar Reserve - Hyderabad's Finest Cafe & Eatery",
    "description": "Discover Stellar Reserve, a top-rated cafe in Jubilee Hills, Hyderabad. Enjoy exceptional coffee, artisan gelato, gourmet pizza, pasta, and more.",
    "url": "https://stellarreserve.com",
    "siteName": "Stellar Reserve",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/businesswoman-restaurant_1157-9047.jpg",
        "alt": "Stellar Reserve cafe interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Stellar Reserve - Hyderabad's Finest Cafe & Eatery",
    "description": "Discover Stellar Reserve, a top-rated cafe in Jubilee Hills, Hyderabad. Enjoy exceptional coffee, artisan gelato, gourmet pizza, pasta, and more.",
    "images": [
      "http://img.b2bpic.net/free-photo/businesswoman-restaurant_1157-9047.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>
  );
}
