import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Raleway } from "next/font/google";



export const metadata: Metadata = {
  title: 'The GodBarber – Premium Barbershop in Düsseldorf | 0211 88277734',
  description: 'Professionelle Barbier-Services in Düsseldorf. Haarschnitte, Bartpflege, Rasuren. 4,9★ von 190+ Kunden. Offizielle Öffnungszeiten Mo–Sa 10:00–19:00 Uhr. Jetzt anrufen!',
};

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`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
          }}
        />
        </body>
      </ServiceWrapper>
    </html>
  );
}
