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



export const metadata: Metadata = {
  title: 'Say Cheese Fast Food Restaurant - Delicious Burgers & Fries',
  description: 'Indulge in gourmet burgers, crispy fries, and creamy shakes at Say Cheese Fast Food Restaurant. Fresh ingredients, fast service, and a smile with every meal!',
  keywords: ["fast food, restaurant, burgers, fries, shakes, say cheese, gourmet burgers, take out, delivery"],
  openGraph: {
    "title": "Say Cheese Fast Food Restaurant",
    "description": "Your ultimate destination for gourmet burgers, crispy fries, and delicious shakes!",
    "url": "https://www.saycheese.com",
    "siteName": "Say Cheese Fast Food",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/serving-burger-background_1321-4523.jpg",
        "alt": "Delicious gourmet burger and fries"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Say Cheese Fast Food Restaurant",
    "description": "Your ultimate destination for gourmet burgers, crispy fries, and delicious shakes!",
    "images": [
      "http://img.b2bpic.net/free-photo/serving-burger-background_1321-4523.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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