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



export const metadata: Metadata = {
  title: "Plumber's Crack | Reliable Plumbing Services",  description: "Expert plumbing services for leaks, clogs, water heaters, and emergencies. Fast, friendly, and affordable solutions for your home or business.",  openGraph: {
    title: "Plumber's Crack | Reliable Plumbing Services",    description: "Expert plumbing services for leaks, clogs, water heaters, and emergencies. Fast, friendly, and affordable solutions for your home or business.",    url: "https://www.plumberscrack.com",    siteName: "Plumber's Crack",    images: [
      { url: "https://pixabay.com/get/g3abfc861ac7c355abd0c2a5338d55c2ceb3af8b38fce8593db471be367b1ae3360c613623c1266bbb757865e13ed55561a4dbf2489215012d479265390abed3e_1280.jpg", alt: "Friendly plumber working on pipes under a sink" }
    ],
    type: "website"
  },
  twitter: {
    card: "summary_large_image",    title: "Plumber's Crack | Reliable Plumbing Services",    description: "Expert plumbing services for leaks, clogs, water heaters, and emergencies. Fast, friendly, and affordable solutions for your home or business.",    images: ["https://pixabay.com/get/g3abfc861ac7c355abd0c2a5338d55c2ceb3af8b38fce8593db471be367b1ae3360c613623c1266bbb757865e13ed55561a4dbf2489215012d479265390abed3e_1280.jpg"]
  },
  robots: {
    index: true,
    follow: true
  }
};

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

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