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



export const metadata: Metadata = {
  title: 'Camillo Restaurant | Authentic Roman Cuisine Since 1890',
  description: 'Experience the timeless flavors of Rome at Camillo Restaurant, a historic culinary landmark near Piazza Navona since 1890. Book your table for an unforgettable Italian dining experience.',
  keywords: ["Camillo Restaurant, Rome, Piazza Navona, Italian cuisine, authentic Italian, fine dining, Roman food, traditional restaurant, reservations Rome, best restaurants Rome"],
  openGraph: {
    "title": "Camillo Restaurant | Authentic Roman Cuisine Since 1890",
    "description": "Experience the timeless flavors of Rome at Camillo Restaurant, a historic culinary landmark near Piazza Navona since 1890.",
    "url": "https://www.camillorestaurant.com",
    "siteName": "Camillo Restaurant 1890",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg",
        "alt": "Elegant interior of Camillo Restaurant"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Camillo Restaurant | Authentic Roman Cuisine Since 1890",
    "description": "Experience the timeless flavors of Rome at Camillo Restaurant, a historic culinary landmark near Piazza Navona since 1890.",
    "images": [
      "http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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