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: '925 by AK | Premium Unisex Jewelry & Apparel',
  description: 'Explore 925 by AK for minimalist, premium unisex jewelry and apparel designed for Gen Z in Pakistan. Timeless pieces for modern self-expression.',
  keywords: ["unisex jewelry, gen z fashion, minimalist jewelry, Pakistan fashion, premium accessories, 925 by AK, modern apparel"],
  openGraph: {
    "title": "925 by AK | Premium Unisex Jewelry & Apparel",
    "description": "Explore 925 by AK for minimalist, premium unisex jewelry and apparel designed for Gen Z in Pakistan. Timeless pieces for modern self-expression.",
    "url": "https://925byak.com",
    "siteName": "925 by AK",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-male-model-man-dressed-elegant-t-shirt-posing-street-background-sunglasses_158538-9743.jpg",
        "alt": "Minimalist silver jewelry"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "925 by AK | Premium Unisex Jewelry & Apparel",
    "description": "Explore 925 by AK for minimalist, premium unisex jewelry and apparel designed for Gen Z in Pakistan. Timeless pieces for modern self-expression.",
    "images": [
      "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-male-model-man-dressed-elegant-t-shirt-posing-street-background-sunglasses_158538-9743.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>
  );
}
