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



export const metadata: Metadata = {
  title: 'Da Cicciotto | Authentic Italian Pizzeria in Italy',
  description: 'Experience the true taste of Italy at Da Cicciotto. Handcrafted, wood-fired pizzas made with the freshest local ingredients. Visit us for an unforgettable dining experience.',
  keywords: ["pizza, pizzeria, Italian food, Italy, Da Cicciotto, wood-fired pizza, authentic pizza, Naples pizza, Italian restaurant, fine dining Italy"],
  openGraph: {
    "title": "Da Cicciotto | Authentic Italian Pizzeria in Italy",
    "description": "Experience the true taste of Italy at Da Cicciotto. Handcrafted, wood-fired pizzas made with the freshest local ingredients.",
    "url": "https://daciciotto.com",
    "siteName": "Da Cicciotto",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/vertical-shot-delicious-cheesy-pepperoni-pizza-inside-brick-stone-oven_181624-58518.jpg",
        "alt": "Delicious traditional Italian pizza"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Da Cicciotto | Authentic Italian Pizzeria in Italy",
    "description": "Experience the true taste of Italy at Da Cicciotto. Handcrafted, wood-fired pizzas made with the freshest local ingredients.",
    "images": [
      "http://img.b2bpic.net/free-photo/vertical-shot-delicious-cheesy-pepperoni-pizza-inside-brick-stone-oven_181624-58518.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const sourceSans3 = Source_Sans_3({
  variable: "--font-source-sans-3",
  subsets: ["latin"],
});

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