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



export const metadata: Metadata = {
  title: "Plumber's Crack - Your Trusted Local Plumbing Experts",  description: "Reliable plumbing services for homes and businesses. Expert drain cleaning, leak repair, water heater installation, and 24/7 emergency service. Get a free quote today!",  keywords: "plumber, plumbing, drain cleaning, leak repair, water heater, emergency plumber, local plumber, plumbing service, Plumber's Crack",  openGraph: {
    title: "Plumber's Crack - Your Trusted Local Plumbing Experts",    description: "Reliable plumbing services for homes and businesses. Expert drain cleaning, leak repair, water heater installation, and 24/7 emergency service. Get a free quote today!",    url: "https://www.plumberscrack.com",    siteName: "Plumber's Crack",    images: [{
      url: "https://pixabay.com/get/gfef196b7a077e668573597a1e7a9686d36f6d5d4a3b73eb7be576f521d37cfb5ef4c29dc086b8b212728d6d49d84686be091bcb8f1fc722f1ef2d937ae997e07_1280.jpg",      alt: "professional plumber smiling"
    }],
    type: "website"
  },
  twitter: {
    card: "summary_large_image",    title: "Plumber's Crack - Your Trusted Local Plumbing Experts",    description: "Reliable plumbing services for homes and businesses. Expert drain cleaning, leak repair, water heater installation, and 24/7 emergency service. Get a free quote today!",    images: ["https://pixabay.com/get/gfef196b7a077e668573597a1e7a9686d36f6d5d4a3b73eb7be576f521d37cfb5ef4c29dc086b8b212728d6d49d84686be091bcb8f1fc722f1ef2d937ae997e07_1280.jpg"]
  },
  robots: {
    index: true,
    follow: true
  }
};

const montserrat = Montserrat({
  variable: "--font-montserrat",  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={`${montserrat.variable} ${inter.variable} antialiased`}>
          <Tag />
          {children}
        </body>
      </ServiceWrapper>
    </html>
  );
}
