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



export const metadata: Metadata = {
  title: 'Ramesh Food Corner - Authentic Indian Cuisine',
  description: 'Experience delicious and authentic Indian food at Ramesh Food Corner. Fresh ingredients, traditional recipes, and warm hospitality for dine-in, takeout, and catering.',
  keywords: ["Indian food, restaurant, Ramesh Food Corner, authentic cuisine, Indian delivery, catering, vegetarian, biryani, naan, curries"],
  openGraph: {
    "title": "Ramesh Food Corner - Authentic Indian Cuisine",
    "description": "Experience delicious and authentic Indian food at Ramesh Food Corner. Fresh ingredients, traditional recipes, and warm hospitality for dine-in, takeout, and catering.",
    "url": "https://www.rameshfoodcorner.com",
    "siteName": "Ramesh Food Corner",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/top-view-stuffed-eggplant-rolls-white-oval-plate-different-spices-grey-surface_140725-107275.jpg",
        "alt": "A vibrant spread of Indian dishes including curry, rice, and bread."
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Ramesh Food Corner - Authentic Indian Cuisine",
    "description": "Experience delicious and authentic Indian food at Ramesh Food Corner. Fresh ingredients, traditional recipes, and warm hospitality for dine-in, takeout, and catering.",
    "images": [
      "http://img.b2bpic.net/free-photo/top-view-stuffed-eggplant-rolls-white-oval-plate-different-spices-grey-surface_140725-107275.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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