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: 'W J Rabalais AC & Heating | Luxury HVAC Services in Alexandria, LA',
  description: 'Experience unparalleled comfort with W J Rabalais AC & Heating. We provide luxury HVAC installation, repair, and maintenance services in Alexandria, LA, and surrounding areas. Get a free estimate today!',
  keywords: ["HVAC Alexandria LA, AC repair Alexandria, heating installation Alexandria, furnace repair, air conditioning service, luxury HVAC, W J Rabalais, Alexandria heating and cooling"],
  openGraph: {
    "title": "W J Rabalais AC & Heating | Luxury HVAC Services in Alexandria, LA",
    "description": "Experience unparalleled comfort with W J Rabalais AC & Heating. We provide luxury HVAC installation, repair, and maintenance services in Alexandria, LA, and surrounding areas. Get a free estimate today!",
    "url": "https://www.wjrabalaishvac.com",
    "siteName": "W J Rabalais AC & Heating",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/electrician-installing-laying-electrical-cables-ceiling-inside-house_169016-55463.jpg",
        "alt": "Luxurious modern home interior with an AC unit"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "W J Rabalais AC & Heating | Luxury HVAC Services in Alexandria, LA",
    "description": "Experience unparalleled comfort with W J Rabalais AC & Heating. We provide luxury HVAC installation, repair, and maintenance services in Alexandria, LA, and surrounding areas. Get a free estimate today!",
    "images": [
      "http://img.b2bpic.net/free-photo/electrician-installing-laying-electrical-cables-ceiling-inside-house_169016-55463.jpg"
    ]
  },
  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>
  );
}
