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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Raleway } from "next/font/google";



export const metadata: Metadata = {
  title: 'Asian Nails & Spa Miami | Premium Nail & Spa Services',
  description: 'Experience luxury nail care and serene spa treatments at Asian Nails & Spa in Miami. Book your premium manicure, pedicure, or spa package online today.',
  keywords: ["asian nails, spa Miami, nail salon Miami, manicures, pedicures, gel nails, spa treatments, beauty salon, online booking"],
  openGraph: {
    "title": "Asian Nails & Spa Miami | Premium Nail & Spa Services",
    "description": "Experience luxury nail care and serene spa treatments at Asian Nails & Spa in Miami. Book your premium manicure, pedicure, or spa package online today.",
    "url": "https://www.asiannailsandspa.com",
    "siteName": "Asian Nails & Spa",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/empty-chair-around-swimming-pool-hotel-resort-leisure-travel_74190-8557.jpg",
        "alt": "Luxurious spa interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Asian Nails & Spa Miami | Premium Nail & Spa Services",
    "description": "Experience luxury nail care and serene spa treatments at Asian Nails & Spa in Miami. Book your premium manicure, pedicure, or spa package online today.",
    "images": [
      "http://img.b2bpic.net/free-photo/empty-chair-around-swimming-pool-hotel-resort-leisure-travel_74190-8557.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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