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: 'Parag Bakery & Bake and Brew | Indore\'s Favorite Fresh Cakes & Cafe',
  description: 'Indore\'s most trusted bakery for fresh, pure vegetarian cakes, pastries, fast food, and delightful cafe experience. Order custom cakes, dine-in, or get home delivery.',
  keywords: ["Best Bakery in Indore, Cake Shop in Indore, Bakery Near Me, Birthday Cake Indore, Custom Cake Indore, Eggless Cake Shop, Pastry Shop Indore, Bakery Sudama Nagar, Cake Delivery Indore, Fresh Cakes Indore, Parag Bakery, Bake and Brew, Indore Cafe, Fast Food Indore"],
  openGraph: {
    "title": "Parag Bakery & Bake and Brew | Indore's Favorite Fresh Cakes & Cafe",
    "description": "Indore's most trusted bakery for fresh, pure vegetarian cakes, pastries, fast food, and delightful cafe experience. Order custom cakes, dine-in, or get home delivery.",
    "url": "https://www.paragbakery.com",
    "siteName": "Parag Bakery & Bake and Brew",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/two-pieces-donuts-sprinkled-with-powder-sugar_140725-6874.jpg",
        "alt": "Premium cakes and pastries at Parag Bakery"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Parag Bakery & Bake and Brew | Indore's Favorite Fresh Cakes & Cafe",
    "description": "Indore's most trusted bakery for fresh, pure vegetarian cakes, pastries, fast food, and delightful cafe experience. Order custom cakes, dine-in, or get home delivery.",
    "images": [
      "http://img.b2bpic.net/free-photo/two-pieces-donuts-sprinkled-with-powder-sugar_140725-6874.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>
  );
}
