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";



export const metadata: Metadata = {
  title: 'LoKanta - Authentic Doner Kebab in Munich',
  description: 'Experience the best Doner Kebab in Munich at LoKanta. Fresh ingredients, high-quality bread, and friendly service for an unforgettable Turkish culinary journey.',
  keywords: ["Doner kebab Munich, LoKanta Munich, Turkish restaurant Munich, fast food Zorneding, best kebab Munich, authentic Turkish food, fresh ingredients kebab"],
  openGraph: {
    "title": "LoKanta - Authentic Doner Kebab in Munich",
    "description": "Experience the best Doner Kebab in Munich at LoKanta. Fresh ingredients, high-quality bread, and friendly service for an unforgettable Turkish culinary journey.",
    "url": "https://www.lokanta.de",
    "siteName": "LoKanta",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/shepherd-s-salad-roasted-sausages-cheese-strings-pepper-slices-wooden-board-marble-surface_114579-52594.jpg",
        "alt": "Delicious Doner Kebab plate"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "LoKanta - Authentic Doner Kebab in Munich",
    "description": "Experience the best Doner Kebab in Munich at LoKanta. Fresh ingredients, high-quality bread, and friendly service for an unforgettable Turkish culinary journey.",
    "images": [
      "http://img.b2bpic.net/free-photo/shepherd-s-salad-roasted-sausages-cheese-strings-pepper-slices-wooden-board-marble-surface_114579-52594.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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