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



export const metadata: Metadata = {
  title: 'PUREGLOSS Mobile Detailing - Exklusive Fahrzeugpflege',
  description: 'Professionelle mobile Autopflege in Euskirchen, Bonn, Köln & Umgebung. Luxuriöse Innen- & Außenreinigung, Leder- & Polsterpflege direkt bei Ihnen.',
  keywords: ["mobile autopflege, puregloss, fahrzeugaufbereitung, innenreinigung, außenreinigung, lederpflege, polsterreinigung, sofacleaning, euskirchen, bonn, brühl, wesseling, köln"],
  openGraph: {
    "title": "PUREGLOSS Mobile Detailing",
    "description": "Professionelle mobile Autopflege in Euskirchen, Bonn, Köln & Umgebung. Luxuriöse Innen- & Außenreinigung, Leder- & Polsterpflege direkt bei Ihnen.",
    "url": "https://www.puregloss-detailing.de",
    "siteName": "PUREGLOSS Mobile Detailing",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/luxury-car-interior-brown-black-colors_181624-31177.jpg",
        "alt": "Luxury car interior detailing"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "PUREGLOSS Mobile Detailing",
    "description": "Professionelle mobile Autopflege in Euskirchen, Bonn, Köln & Umgebung. Luxuriöse Innen- & Außenreinigung, Leder- & Polsterpflege direkt bei Ihnen.",
    "images": [
      "http://img.b2bpic.net/free-photo/luxury-car-interior-brown-black-colors_181624-31177.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const openSans = Open_Sans({
  variable: "--font-open-sans",
  subsets: ["latin"],
});

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