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



export const metadata: Metadata = {
  title: 'Gayatri Jewellers | Premium Gold, Silver & Diamond Jewellery',
  description: 'Discover exquisite gold, silver, diamond, and bridal jewellery at Gayatri Jewellers. Crafted with purity and elegance for your special moments.',
  keywords: ["Gayatri Jewellers, gold jewellery, silver jewellery, diamond jewellery, bridal jewellery, premium jewellery, traditional jewellery, modern jewellery, handcrafted jewellery, Indian jewellery, engagement rings, wedding jewellery"],
  openGraph: {
    "title": "Gayatri Jewellers | Premium Gold, Silver & Diamond Jewellery",
    "description": "Discover exquisite gold, silver, diamond, and bridal jewellery at Gayatri Jewellers. Crafted with purity and elegance for your special moments.",
    "url": "https://www.gayatri-jewellers.com",
    "siteName": "Gayatri Jewellers",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/young-indian-woman-wearing-sari_23-2149400920.jpg",
        "alt": "Exquisite gold and diamond jewellery"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Gayatri Jewellers | Premium Gold, Silver & Diamond Jewellery",
    "description": "Discover exquisite gold, silver, diamond, and bridal jewellery at Gayatri Jewellers. Crafted with purity and elegance for your special moments.",
    "images": [
      "http://img.b2bpic.net/free-photo/young-indian-woman-wearing-sari_23-2149400920.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const publicSans = Public_Sans({
  variable: "--font-public-sans",
  subsets: ["latin"],
});
const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
});

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