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



export const metadata: Metadata = {
  title: 'Taqueria Los Panchos | Authentic Mexican Cuisine',
  description: 'Experience the authentic taste of Mexico at Taqueria Los Panchos. Fresh tacos, burritos, and traditional dishes crafted with passion. Visit us or order online!',
  keywords: ["Taqueria Los Panchos, Mexican food, tacos, burritos, quesadillas, Mexican restaurant, catering, authentic Mexican, Los Angeles, best tacos"],
  openGraph: {
    "title": "Taqueria Los Panchos | Authentic Mexican Cuisine",
    "description": "Experience the authentic taste of Mexico at Taqueria Los Panchos. Fresh tacos, burritos, and traditional dishes crafted with passion. Visit us or order online!",
    "url": "https://www.taquerialospanchos.com",
    "siteName": "Taqueria Los Panchos",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/high-angle-tasty-tacos-plate_23-2148629339.jpg",
        "alt": "Delicious street tacos from Taqueria Los Panchos"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Taqueria Los Panchos | Authentic Mexican Cuisine",
    "description": "Experience the authentic taste of Mexico at Taqueria Los Panchos. Fresh tacos, burritos, and traditional dishes crafted with passion. Visit us or order online!",
    "images": [
      "http://img.b2bpic.net/free-photo/high-angle-tasty-tacos-plate_23-2148629339.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const roboto = Roboto({
  variable: "--font-roboto",
  subsets: ["latin"],
  weight: ["100", "300", "400", "500", "700", "900"],
});

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