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



export const metadata: Metadata = {
  title: 'Wanda Bags | Handcrafted Luxury Beaded Bags',
  description: 'Discover Wanda Bags: Lebanese handcrafted luxury beaded bags. Custom designs, exquisite craftsmanship, and elegant accessories for every occasion.',
  keywords: ["Wanda Bags, luxury bags, handcrafted bags, beaded bags, custom bags, Lebanese fashion, evening bags, event bags, designer bags, fashion accessories, unique gifts"],
  openGraph: {
    "title": "Wanda Bags | Handcrafted Luxury Beaded Bags",
    "description": "Discover Wanda Bags: Lebanese handcrafted luxury beaded bags. Custom designs, exquisite craftsmanship, and elegant accessories for every occasion.",
    "url": "/",
    "siteName": "Wanda Bags",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/close-up-massage-acupuncture-mat-with-pillow-white-massage-tips-massage-mat-relaxation-treatment_169016-10959.jpg",
        "alt": "Elegant beaded handbag"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Wanda Bags | Handcrafted Luxury Beaded Bags",
    "description": "Discover Wanda Bags: Lebanese handcrafted luxury beaded bags. Custom designs, exquisite craftsmanship, and elegant accessories for every occasion.",
    "images": [
      "http://img.b2bpic.net/free-photo/close-up-massage-acupuncture-mat-with-pillow-white-massage-tips-massage-mat-relaxation-treatment_169016-10959.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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