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



export const metadata: Metadata = {
  title: 'Falafel House Lebanese | Authentic London Restaurant',
  description: 'Experience the best Lebanese falafels, healthy options, and casual dining in London. Delivery, takeaway, and dine-in available at Mare St, E8 1LN.',
  keywords: ["Lebanese food, falafel, London restaurant, healthy options, takeaway, delivery, Mare Street, E8 1LN, authentic Lebanese, quick bite, small plates, Middle Eastern cuisine, London dining"],
  openGraph: {
    "title": "Falafel House Lebanese | Authentic London Restaurant",
    "description": "Experience the best Lebanese falafels, healthy options, and casual dining in London. Delivery, takeaway, and dine-in available at Mare St, E8 1LN.",
    "url": "https://falafelhouselebanese.com",
    "siteName": "Falafel House Lebanese",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/high-angle-tasty-food-arrangement_23-2148814497.jpg",
        "alt": "Delicious falafel plate"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Falafel House Lebanese | Authentic London Restaurant",
    "description": "Experience the best Lebanese falafels, healthy options, and casual dining in London. Delivery, takeaway, and dine-in available at Mare St, E8 1LN.",
    "images": [
      "http://img.b2bpic.net/free-photo/high-angle-tasty-food-arrangement_23-2148814497.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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