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: 'Big Fellas Grill - Hearty Steaks & BBQ',
  description: 'Experience the best of American grilling at Big Fellas Grill. Savor perfectly cooked steaks, smoky BBQ ribs, gourmet burgers, and more. Make a reservation today!',
  openGraph: {
    "title": "Big Fellas Grill - Hearty Steaks & BBQ",
    "description": "Experience the best of American grilling at Big Fellas Grill. Savor perfectly cooked steaks, smoky BBQ ribs, gourmet burgers, and more. Make a reservation today!",
    "url": "https://www.bigfellasgrill.com",
    "siteName": "Big Fellas Grill",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/top-view-donuts-yummy-delicious-with-chocolate-brown-desk-grey-background_140725-13399.jpg",
        "alt": "Delicious grilled steak and barbecue ribs"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Big Fellas Grill - Hearty Steaks & BBQ",
    "description": "Experience the best of American grilling at Big Fellas Grill. Savor perfectly cooked steaks, smoky BBQ ribs, gourmet burgers, and more. Make a reservation today!",
    "images": [
      "http://img.b2bpic.net/free-photo/top-view-donuts-yummy-delicious-with-chocolate-brown-desk-grey-background_140725-13399.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>
  );
}
