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: 'Wally\'s Lawn Care LLC | Professional Lawn Maintenance Services',
  description: 'Wally\'s Lawn Care LLC provides top-quality lawn mowing, landscaping, fertilization, and seasonal clean-up services. Get a free quote for a beautiful lawn!',
  keywords: ["lawn care, lawn maintenance, landscaping, mowing, fertilization, weed control, spring clean-up, fall clean-up, garden care, property maintenance"],
  openGraph: {
    "title": "Wally's Lawn Care LLC | Professional Lawn Maintenance Services",
    "description": "Wally's Lawn Care LLC provides top-quality lawn mowing, landscaping, fertilization, and seasonal clean-up services. Get a free quote for a beautiful lawn!",
    "url": "https://wallyslawncare.com",
    "siteName": "Wally's Lawn Care LLC",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/young-man-safety-mask-gloves-shaping-bushes_651396-3823.jpg",
        "alt": "Beautifully manicured residential lawn"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Wally's Lawn Care LLC | Professional Lawn Maintenance Services",
    "description": "Wally's Lawn Care LLC provides top-quality lawn mowing, landscaping, fertilization, and seasonal clean-up services. Get a free quote for a beautiful lawn!",
    "images": [
      "http://img.b2bpic.net/free-photo/young-man-safety-mask-gloves-shaping-bushes_651396-3823.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>
  );
}
