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



export const metadata: Metadata = {
  title: 'Seven Bucks Irrigation Design Services | Sustainable Landscape Solutions',
  description: 'Seven Bucks Irrigation offers innovative and efficient irrigation design, installation, and maintenance services for residential, commercial, and agricultural properties. Experts in water-saving solutions.',
  keywords: ["irrigation design, irrigation services, landscape irrigation, smart irrigation, drip irrigation, sprinkler systems, water conservation, India, Seven Bucks, Noida"],
  openGraph: {
    "title": "Seven Bucks Irrigation Design Services | Sustainable Landscape Solutions",
    "description": "Seven Bucks Irrigation offers innovative and efficient irrigation design, installation, and maintenance services for residential, commercial, and agricultural properties. Experts in water-saving solutions.",
    "url": "https://www.sevenbucksirrigation.com",
    "siteName": "Seven Bucks Irrigation Design Services",
    "images": [
      {
        "url": "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EwTH8byWMyrxQrnT3hneiXVKWk/uploaded-1781088657806-r6wcurrn.png",
        "alt": "Aerial view of an intricately designed irrigation landscape"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Seven Bucks Irrigation Design Services | Sustainable Landscape Solutions",
    "description": "Seven Bucks Irrigation offers innovative and efficient irrigation design, installation, and maintenance services for residential, commercial, and agricultural properties. Experts in water-saving solutions.",
    "images": [
      "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EwTH8byWMyrxQrnT3hneiXVKWk/uploaded-1781088657806-r6wcurrn.png"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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