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



export const metadata: Metadata = {
  title: 'NaBees Fashions | Premium Women\'s Clothing & Tailoring in Sharjah',
  description: 'Discover NaBees Fashions in Sharjah for curated women\'s clothing and expert tailoring services. Elevate your style with perfectly fitted garments.',
  keywords: ["NaBees Fashions, women's clothing, Sharjah, UAE, tailoring, alterations, modest wear, custom clothing, boutique, fashion, dresses, bespoke, local boutique"],
  openGraph: {
    "title": "NaBees Fashions | Premium Women's Clothing & Tailoring in Sharjah",
    "description": "Discover NaBees Fashions in Sharjah for curated women's clothing and expert tailoring services. Elevate your style with perfectly fitted garments.",
    "url": "https://www.nabeessfashions.com",
    "siteName": "NaBees Fashions",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/empty-clothing-store-with-casual-formal-wear-design-retail-shop-with-clothes-hangers-racks-department-store-inside-shopping-center-fashion-merchandise-sale_482257-59961.jpg",
        "alt": "Woman elegantly posing in a tailored dress"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "NaBees Fashions | Premium Women's Clothing & Tailoring in Sharjah",
    "description": "Discover NaBees Fashions in Sharjah for curated women's clothing and expert tailoring services. Elevate your style with perfectly fitted garments.",
    "images": [
      "http://img.b2bpic.net/free-photo/empty-clothing-store-with-casual-formal-wear-design-retail-shop-with-clothes-hangers-racks-department-store-inside-shopping-center-fashion-merchandise-sale_482257-59961.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const nunitoSans = Nunito_Sans({
  variable: "--font-nunito-sans",
  subsets: ["latin"]
});

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