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";



export const metadata: Metadata = {
  title: 'Elegance Atelier | Luxury British Women\'s Clothing',
  description: 'Discover exquisite British luxury fashion for women. Timeless designs, unparalleled craftsmanship, and elegant style from Elegance Atelier. Experience a unique digital fashion magazine.',
  keywords: ["luxury clothing, british fashion, women's fashion, high fashion, haute couture, designer clothing, bespoke fashion, elegance atelier, UK fashion"],
  openGraph: {
    "title": "Elegance Atelier | Luxury British Women's Clothing",
    "description": "Discover exquisite British luxury fashion for women. Timeless designs, unparalleled craftsmanship, and elegant style from Elegance Atelier.",
    "url": "https://www.eleganceatelier.com",
    "siteName": "Elegance Atelier",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/woman-portrait-indoors_624325-3431.jpg",
        "alt": "Model showcasing Elegance Atelier's latest collection"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Elegance Atelier | Luxury British Women's Clothing",
    "description": "Discover exquisite British luxury fashion for women. Timeless designs, unparalleled craftsmanship, and elegant style from Elegance Atelier.",
    "images": [
      "http://img.b2bpic.net/free-photo/woman-portrait-indoors_624325-3431.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>
  );
}
