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



export const metadata: Metadata = {
  title: 'El Serranito Taqueria | Best Authentic Tacos in Cherokee County',
  description: 'Experience authentic Mexican street tacos, massive California burritos, and fresh breakfast favorites at Cherokee County\'s favorite family-owned taqueria.',
  keywords: ["best tacos near me, authentic Mexican food, street tacos, breakfast burritos, California burrito, Mexican food in Cherokee County"],
  openGraph: {
    "title": "El Serranito Taqueria | Cherokee County's Hidden Gem",
    "description": "Authentic street tacos, huge burritos, fresh ingredients.",
    "siteName": "El Serranito Taqueria"
  },
  twitter: {
    "card": "summary_large_image"
  },
};

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

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