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



export const metadata: Metadata = {
  title: 'Paras Verma Jewellers | Timeless Elegance & Custom Creations',
  description: 'Discover exquisite, ethically sourced diamond and gold jewelry at Paras Verma Jewellers. Handcrafted designs for engagements, weddings, and cherished moments. Book a consultation.',
  keywords: ["Paras Verma Jewellers, diamond jewelry, gold jewelry, custom jewelry, engagement rings, wedding bands, ethical jewelry, handcrafted jewelry, luxury jewelry, Indian jewelers"],
  openGraph: {
    "title": "Paras Verma Jewellers | Timeless Elegance & Custom Creations",
    "description": "Discover exquisite, ethically sourced diamond and gold jewelry at Paras Verma Jewellers. Handcrafted designs for engagements, weddings, and cherished moments. Book a consultation.",
    "url": "https://www.parasvermajews.com",
    "siteName": "Paras Verma Jewellers",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/side-view-silver-necklace-with-swarovski-crystal-black-wall_140725-12839.jpg",
        "alt": "Luxurious diamond necklace and engagement ring display"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Paras Verma Jewellers | Timeless Elegance & Custom Creations",
    "description": "Discover exquisite, ethically sourced diamond and gold jewelry at Paras Verma Jewellers. Handcrafted designs for engagements, weddings, and cherished moments. Book a consultation.",
    "images": [
      "http://img.b2bpic.net/free-photo/side-view-silver-necklace-with-swarovski-crystal-black-wall_140725-12839.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const poppins = Poppins({
  variable: "--font-poppins",
  subsets: ["latin"],
  weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});

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