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



export const metadata: Metadata = {
  title: 'Europe Bridge Staffing | Fully Managed International Placements',
  description: 'Europe Bridge Staffing (EBS) specializes in fully managed international worker placements in Europe. We handle permits, visas, accommodation, and aftercare for seamless integration.',
  keywords: ["Europe Bridge Staffing, EBS, international staffing, European employers, worker placement, Hungary, Croatia, Italy, Slovenia, work permits, visas, recruitment, managed staffing"],
  openGraph: {
    "title": "Europe Bridge Staffing | Fully Managed International Placements",
    "description": "Europe Bridge Staffing (EBS) specializes in fully managed international worker placements in Europe. We handle permits, visas, accommodation, and aftercare for seamless integration.",
    "url": "https://www.europebridgestaffing.com",
    "siteName": "Europe Bridge Staffing",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/cheerful-business-people-meeting-raising-arms_23-2147923450.jpg",
        "alt": "Diverse group of professionals shaking hands, symbolizing global recruitment."
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Europe Bridge Staffing | Fully Managed International Placements",
    "description": "Europe Bridge Staffing (EBS) specializes in fully managed international worker placements in Europe. We handle permits, visas, accommodation, and aftercare for seamless integration.",
    "images": [
      "http://img.b2bpic.net/free-photo/cheerful-business-people-meeting-raising-arms_23-2147923450.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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