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";



export const metadata: Metadata = {
  title: 'Vip Store | Cheap PUBG Mobile & Korea UC',
  description: 'Buy cheap and secure Unknown Cash (UC) for PUBG Mobile and PUBG Korea at Vip Store. Instant delivery and best prices guaranteed for all your gaming needs.',
  keywords: ["PUBG Mobile UC, PUBG Korea UC, cheap UC, buy UC, Unknown Cash, PUBG Mobile top-up, PUBG Korea top-up, Vip Store, gaming currency, in-game currency"],
  openGraph: {
    "title": "Vip Store | Cheap PUBG Mobile & Korea UC",
    "description": "Buy cheap and secure Unknown Cash (UC) for PUBG Mobile and PUBG Korea at Vip Store. Instant delivery and best prices guaranteed for all your gaming needs.",
    "url": "https://www.vipstore.com",
    "siteName": "Vip Store",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/cyberpunk-boy-illustration_23-2151728170.jpg",
        "alt": "PUBG Mobile and PUBG Korea UC"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Vip Store | Cheap PUBG Mobile & Korea UC",
    "description": "Buy cheap and secure Unknown Cash (UC) for PUBG Mobile and PUBG Korea at Vip Store. Instant delivery and best prices guaranteed for all your gaming needs.",
    "images": [
      "http://img.b2bpic.net/free-photo/cyberpunk-boy-illustration_23-2151728170.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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={`${inter.variable} antialiased`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
