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: 'Cafe Bodega Goa | Artisanal Coffee, Bakery & Comfort Food',
  description: 'Experience Panjim\'s favourite courtyard cafe. Enjoy artisanal coffee, fresh bakery, delicious pizza, breakfast & comfort food in a luxury tropical setting at Cafe Bodega Goa.',
  keywords: ["Cafe Bodega, Goa cafe, Panjim cafe, artisanal coffee, bakery Goa, pizza Goa, breakfast Goa, comfort food, luxury cafe, tropical cafe, courtyard cafe"],
  openGraph: {
    "title": "Cafe Bodega Goa | Artisanal Coffee, Bakery & Comfort Food",
    "description": "Experience Panjim's favourite courtyard cafe. Enjoy artisanal coffee, fresh bakery, delicious pizza, breakfast & comfort food in a luxury tropical setting at Cafe Bodega Goa.",
    "url": "https://cafebodegagoa.com",
    "siteName": "Cafe Bodega Goa",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/front-view-delicious-donuts-concept_23-2148761706.jpg",
        "alt": "Immersive cafe interior of Cafe Bodega Goa"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Cafe Bodega Goa | Artisanal Coffee, Bakery & Comfort Food",
    "description": "Experience Panjim's favourite courtyard cafe. Enjoy artisanal coffee, fresh bakery, delicious pizza, breakfast & comfort food in a luxury tropical setting at Cafe Bodega Goa.",
    "images": [
      "http://img.b2bpic.net/free-photo/front-view-delicious-donuts-concept_23-2148761706.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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>
  );
}
