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



export const metadata: Metadata = {
  title: 'D\'Medallo Fast Food | Authentic Colombian Flavors',
  description: 'Experience gourmet Colombian fast food in a luxury setting. D\'Medallo offers authentic Medellín-style burgers, hot dogs, arepas, and more with generous portions and vibrant hospitality. Reserve your table now!',
  keywords: ["Colombian fast food, Medellín, D'Medallo, authentic, luxury restaurant, burgers, hot dogs, arepas, tostones, salchipapas, tropical drinks, gourmet, family friendly, late night dining"],
  openGraph: {
    "title": "D'Medallo Fast Food | Authentic Colombian Flavors",
    "description": "Experience gourmet Colombian fast food in a luxury setting. D'Medallo offers authentic Medellín-style burgers, hot dogs, arepas, and more with generous portions and vibrant hospitality. Reserve your table now!",
    "url": "https://www.dmedallofastfood.com",
    "siteName": "D'Medallo Fast Food",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/front-view-burger-with-egg-table_23-2148678850.jpg",
        "alt": "Delicious Colombian burger"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "D'Medallo Fast Food | Authentic Colombian Flavors",
    "description": "Experience gourmet Colombian fast food in a luxury setting. D'Medallo offers authentic Medellín-style burgers, hot dogs, arepas, and more with generous portions and vibrant hospitality. Reserve your table now!",
    "images": [
      "http://img.b2bpic.net/free-photo/front-view-burger-with-egg-table_23-2148678850.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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