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



export const metadata: Metadata = {
  title: 'Odari Gejang | Authentic Korean Marinated Crab in Gangnam, Seoul',
  description: 'Experience the best Ganjang Gejang (soy-marinated raw crab) in Gangnam, Seoul. Renowned for fresh, non-fishy crab packed with roe, praised by international visitors.',
  keywords: ["Odari Gejang, Ganjang Gejang, Korean marinated crab, Seoul restaurant, Gangnam food, authentic Korean, Korean food, raw crab, soy crab, Yeoksam, best Korean food, international food Seoul"],
  openGraph: {
    "title": "Odari Gejang | Authentic Korean Marinated Crab",
    "description": "Taste the soul of Seoul with Odari Gejang's exquisite Ganjang Gejang. Fresh, flavorful, and a must-try for any food lover.",
    "url": "https://www.odarigejang.com",
    "siteName": "Odari Gejang",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/boiled-fish-infusion-with-tomatoes-mushrooms-coriander-spring-onion-lemongrass-bowl_1150-27129.jpg",
        "alt": "Ganjang Gejang main dish"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Odari Gejang | Authentic Korean Marinated Crab",
    "description": "Taste the soul of Seoul with Odari Gejang's exquisite Ganjang Gejang. Fresh, flavorful, and a must-try for any food lover.",
    "images": [
      "http://img.b2bpic.net/free-photo/boiled-fish-infusion-with-tomatoes-mushrooms-coriander-spring-onion-lemongrass-bowl_1150-27129.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const lato = Lato({
  variable: "--font-lato",
  subsets: ["latin"],
  weight: ["100", "300", "400", "700", "900"],
});

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