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



export const metadata: Metadata = {
  title: 'The Appetite Momos | Best Momos in Thane & Mumbai — Since 2009',
  description: 'Mumbai’s original momo chain, The Appetite Momos, serves delicious Chilli Cheese Momos and more across Thane, Mulund, Powai, and other locations. Handcrafted since 2009.',
  keywords: ["momo, momos, Thane, Mumbai, Chilli Cheese Momos, The Appetite Momos, best momos, street food, delivery, outlets"],
  openGraph: {
    "title": "The Appetite Momos | Mumbai's Original Momo Obsession",
    "description": "Mumbai’s original momo chain, The Appetite Momos, serves delicious Chilli Cheese Momos and more across Thane, Mulund, Powai, and other locations. Handcrafted since 2009.",
    "url": "https://www.theappetitemomos.com",
    "siteName": "The Appetite Momos",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/man-eats-khinkali_141793-1085.jpg",
        "alt": "Steaming Chilli Cheese Momos"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "The Appetite Momos | Mumbai's Original Momo Obsession",
    "description": "Mumbai’s original momo chain, The Appetite Momos, serves delicious Chilli Cheese Momos and more across Thane, Mulund, Powai, and other locations. Handcrafted since 2009.",
    "images": [
      "http://img.b2bpic.net/free-photo/man-eats-khinkali_141793-1085.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const dmSans = DM_Sans({
  variable: "--font-dm-sans",
  subsets: ["latin"],
});
const archivo = Archivo({
  variable: "--font-archivo",
  subsets: ["latin"],
  weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"]
});

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