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



export const metadata: Metadata = {
  title: 'Green Mountain Washing | Professional Pressure Washing VT',
  description: 'Top-rated pressure washing, house washing, driveway cleaning, and window cleaning services in Essex Junction, VT. Get a free estimate today!',
  keywords: ["pressure washing Essex Junction VT, house washing Vermont, driveway cleaning near me, exterior cleaning Vermont, window cleaning Essex Junction"],
  openGraph: {
    "title": "Green Mountain Washing | Professional Exterior Cleaning in Vermont",
    "description": "Make your home shine again with Green Mountain Washing's expert pressure washing, house washing, and window cleaning services in Essex Junction, VT.",
    "url": "https://cleangmw.com",
    "siteName": "Green Mountain Washing",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/man-is-applying-paint-old-fence-using-airbrush-his-garden_613910-17232.jpg",
        "alt": "Clean house exterior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Green Mountain Washing | Professional Pressure Washing VT",
    "description": "Top-rated pressure washing, house washing, driveway cleaning, and window cleaning services in Essex Junction, VT. Get a free estimate today!",
    "images": [
      "http://img.b2bpic.net/free-photo/man-is-applying-paint-old-fence-using-airbrush-his-garden_613910-17232.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const roboto = Roboto({
  variable: "--font-roboto",
  subsets: ["latin"],
  weight: ["100", "300", "400", "500", "700", "900"],
});

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