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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Mulish } from "next/font/google";



export const metadata: Metadata = {
  title: 'Elite Waste Management | Fast & Friendly Waste Removal Hemel Hempstead',
  description: 'Elite Waste Management offers efficient, professional waste removal & clearance services for residential and commercial clients in Hemel Hempstead. Get your free quote today!',
  keywords: ["waste management, waste removal, junk removal, garbage collection, commercial waste, residential waste, Hemel Hempstead, clearance services, recycling, local waste"],
  openGraph: {
    "title": "Elite Waste Management | Fast & Friendly Waste Removal Hemel Hempstead",
    "description": "Elite Waste Management offers efficient, professional waste removal & clearance services for residential and commercial clients in Hemel Hempstead. Get your free quote today!",
    "url": "https://www.elitewastemanagement.com",
    "siteName": "Elite Waste Management",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/autumn-roadside-maintenance-action-municipal-service_169016-70007.jpg",
        "alt": "Modern waste management truck in Hemel Hempstead"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Elite Waste Management | Fast & Friendly Waste Removal Hemel Hempstead",
    "description": "Elite Waste Management offers efficient, professional waste removal & clearance services for residential and commercial clients in Hemel Hempstead. Get your free quote today!",
    "images": [
      "http://img.b2bpic.net/free-photo/autumn-roadside-maintenance-action-municipal-service_169016-70007.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const mulish = Mulish({
  variable: "--font-mulish",
  subsets: ["latin"],
});
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={`${mulish.variable} ${inter.variable} antialiased`}>
          
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
