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



export const metadata: Metadata = {
  title: 'Öz Urfa\'m - Authentic Turkish Cuisine in Neustadt am Rübenberge',
  description: 'Experience the true taste of Turkey at Öz Urfa\'m. Indulge in exquisite kebabs, fresh mezes, and warm hospitality in Neustadt am Rübenberge. Reserve your table today!',
  keywords: ["turkish restaurant, neustadt am rübenberge, öz urfa'm, kebabs, lahmacun, meze, authentic turkish food, restaurant neustadt, turkish cuisine"],
  openGraph: {
    "title": "Öz Urfa'm - Authentic Turkish Cuisine",
    "description": "Experience the true taste of Turkey at Öz Urfa'm. Indulge in exquisite kebabs, fresh mezes, and warm hospitality in Neustadt am Rübenberge.",
    "url": "https://www.ozurfam-neustadt.de",
    "siteName": "Öz Urfa'm",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/different-varieties-kabab-served-with-grilled-eggplants-tomatoes_140725-8134.jpg",
        "alt": "Delicious Turkish Kebab Platter"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Öz Urfa'm - Authentic Turkish Cuisine",
    "description": "Experience the true taste of Turkey at Öz Urfa'm. Indulge in exquisite kebabs, fresh mezes, and warm hospitality in Neustadt am Rübenberge.",
    "images": [
      "http://img.b2bpic.net/free-photo/different-varieties-kabab-served-with-grilled-eggplants-tomatoes_140725-8134.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const publicSans = Public_Sans({
  variable: "--font-public-sans",
  subsets: ["latin"],
});

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