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: 'LPS Beauty Salon & Nail Art Studio - BTM Layout, Bangalore',
  description: 'Your one-stop destination for nail art, haircuts, facials, waxing, and more in BTM Layout, Bangalore. Book your pampering session today!',
  keywords: ["LPS Beauty Salon, Nail Art, Haircuts, Facials, Waxing, BTM Layout, Bangalore, Beauty Studio, Salon in Bangalore, Nail Salon, Spa"],
  openGraph: {
    "title": "LPS Beauty Salon & Nail Art Studio - BTM Layout, Bangalore",
    "description": "Your one-stop destination for nail art, haircuts, facials, waxing, and more in BTM Layout, Bangalore.",
    "url": "/",
    "siteName": "LPS Beauty Salon & Nail Art Studio",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/vertical-closeup-woman-s-hand-with-white-manicure_181624-61773.jpg",
        "alt": "Nail Art Service at LPS Beauty Salon"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "LPS Beauty Salon & Nail Art Studio - BTM Layout, Bangalore",
    "description": "Your one-stop destination for nail art, haircuts, facials, waxing, and more in BTM Layout, Bangalore.",
    "images": [
      "http://img.b2bpic.net/free-photo/vertical-closeup-woman-s-hand-with-white-manicure_181624-61773.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>
  );
}
