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: 'Boulder Creek Steakhouse | Modern Fare & Wine',
  description: 'Experience modern steakhouse dining at Boulder Creek. Indulge in exquisite cuts, fine wines, and exceptional service in a striking ambiance in Brownsburg, IN.',
  openGraph: {
    "title": "Boulder Creek Steakhouse | Modern Fare & Wine",
    "description": "Experience modern steakhouse dining at Boulder Creek. Indulge in exquisite cuts, fine wines, and exceptional service in a striking ambiance in Brownsburg, IN.",
    "url": "https://bouldercreekdining.com",
    "siteName": "Boulder Creek Steakhouse",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/perfectly-grilled-steak-with-herbs-spices_84443-72270.jpg",
        "alt": "Gourmet steak dish at Boulder Creek"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Boulder Creek Steakhouse | Modern Fare & Wine",
    "description": "Experience modern steakhouse dining at Boulder Creek. Indulge in exquisite cuts, fine wines, and exceptional service in a striking ambiance in Brownsburg, IN.",
    "images": [
      "http://img.b2bpic.net/free-photo/perfectly-grilled-steak-with-herbs-spices_84443-72270.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>
  );
}
