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



export const metadata: Metadata = {
  title: 'Cutie Nails Onglerie - Luxurious Nail Salon in Aubagne',
  description: 'Experience romantic French luxury and soft femininity at Cutie Nails Onglerie in Aubagne. Your signature nail care, meticulously crafted for perfection.',
  openGraph: {
    "title": "Cutie Nails Onglerie",
    "description": "Premium nail salon in Aubagne offering luxurious and meticulous nail care.",
    "url": "https://www.cutienails.com",
    "siteName": "Cutie Nails Onglerie",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/brunette-girl-woman-white-fur-coat-red-cocktail_1157-47306.jpg",
        "alt": "Luxurious nail salon interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Cutie Nails Onglerie",
    "description": "Premium nail salon in Aubagne offering luxurious and meticulous nail care.",
    "images": [
      "http://img.b2bpic.net/free-photo/brunette-girl-woman-white-fur-coat-red-cocktail_1157-47306.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const libreBaskerville = Libre_Baskerville({
  variable: "--font-libre-baskerville",
  subsets: ["latin"],
  weight: ["400", "700"],
});
const dmSans = DM_Sans({
  variable: "--font-dm-sans",
  subsets: ["latin"],
});

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