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: 'TAJ Family Restaurant - Authentic Biryani & Family Dining in Sircilla',
  description: 'Discover the best biryani, Telangana flavors, and family dining experience in Sircilla. Order online, call, or WhatsApp us!',
  keywords: ["restaurant in Sircilla, biryani in Sircilla, family restaurant Sircilla, best biryani near me, TAJ Family Restaurant, Telangana food, online food order Sircilla"],
  openGraph: {
    "title": "TAJ Family Restaurant - Authentic Biryani & Family Dining in Sircilla",
    "description": "Discover the best biryani, Telangana flavors, and family dining experience in Sircilla. Order online, call, or WhatsApp us!",
    "url": "https://tajfamilyrestaurant.com",
    "siteName": "TAJ Family Restaurant",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/high-angle-pakistan-dish-arrangement_23-2148821521.jpg",
        "alt": "Authentic Chicken Biryani at TAJ Family Restaurant"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "TAJ Family Restaurant - Authentic Biryani & Family Dining in Sircilla",
    "description": "Discover the best biryani, Telangana flavors, and family dining experience in Sircilla. Order online, call, or WhatsApp us!",
    "images": [
      "http://img.b2bpic.net/free-photo/high-angle-pakistan-dish-arrangement_23-2148821521.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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>
  );
}
