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



export const metadata: Metadata = {
  title: 'Kirans Tattoos & Piercings - Award-Winning Artist in Rayagada',
  description: 'Book your custom tattoo or piercing session with Kiran Sir, Punjab\'s award-winning artist. Specializing in unique designs, clean line work, and vibrant colors in Rayagada, Odisha.',
  keywords: ["Kiran Sir, Kirans Tattoos, Piercings, Rayagada, Odisha, award-winning tattoo artist, custom tattoos, tattoo designs, artistic styling, fine line, script tattoos, realism, portraits, body piercing, tattoo studio, WhatsApp booking, Kiran Bhaina"],
  openGraph: {
    "title": "Kirans Tattoos & Piercings - Award-Winning Artist in Rayagada",
    "description": "Book your custom tattoo or piercing session with Kiran Sir, Punjab's award-winning artist. Specializing in unique designs, clean line work, and vibrant colors in Rayagada, Odisha.",
    "url": "/",
    "siteName": "Kirans Tattoos & Piercings",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/professional-female-tattoo-artist-makes-black-white-tattoo-bearded-male-torso-salon_613910-12227.jpg",
        "alt": "Kiran Sir working on a tattoo"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Kirans Tattoos & Piercings - Award-Winning Artist in Rayagada",
    "description": "Book your custom tattoo or piercing session with Kiran Sir, Punjab's award-winning artist. Specializing in unique designs, clean line work, and vibrant colors in Rayagada, Odisha.",
    "images": [
      "http://img.b2bpic.net/free-photo/professional-female-tattoo-artist-makes-black-white-tattoo-bearded-male-torso-salon_613910-12227.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const publicSans = Public_Sans({
  variable: "--font-public-sans",  subsets: ["latin"],
});

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