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



export const metadata: Metadata = {
  title: 'Vamshi Fashion - 999 Store | Fashion for Everyone',
  description: 'Discover the latest trends in men\'s, women\'s, and kids\' fashion at Vamshi Fashion. Quality products, affordable prices, and fast delivery for a premium shopping experience.',
  keywords: ["fashion, e-commerce, online store, menswear, womenswear, kidswear, footwear, accessories, discounts, offers, affordable fashion, trendy, quality, fast delivery, Vamshi Fashion, 999 Store"],
  openGraph: {
    "title": "Vamshi Fashion - 999 Store | Fashion for Everyone",
    "description": "Discover the latest trends in men's, women's, and kids' fashion at Vamshi Fashion. Quality products, affordable prices, and fast delivery for a premium shopping experience.",
    "url": "https://vamshifashion.com",
    "siteName": "Vamshi Fashion",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/girl-lifestyle-shoes-footwear-fashion_1303-659.jpg",
        "alt": "Stylish fashion models showcasing Vamshi Fashion collection"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Vamshi Fashion - 999 Store | Fashion for Everyone",
    "description": "Discover the latest trends in men's, women's, and kids' fashion at Vamshi Fashion. Quality products, affordable prices, and fast delivery for a premium shopping experience.",
    "images": [
      "http://img.b2bpic.net/free-photo/girl-lifestyle-shoes-footwear-fashion_1303-659.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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