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: 'Iron Pulse Fitness | Ignite Your Strength, Unleash Your Potential',
  description: 'Transform your body and mind at Iron Pulse Fitness with cutting-edge equipment, expert coaching, and a vibrant community. Claim your free trial today!',
  keywords: ["gym, fitness, workout, personal training, group classes, membership, strength, conditioning, Iron Pulse, health, wellness, trial class"],
  openGraph: {
    "title": "Iron Pulse Fitness | Ignite Your Strength, Unleash Your Potential",
    "description": "Transform your body and mind at Iron Pulse Fitness with cutting-edge equipment, expert coaching, and a vibrant community. Claim your free trial today!",
    "url": "https://www.ironpulsefitness.com",
    "siteName": "Iron Pulse Fitness",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/young-afro-american-sports-man-standing-with-white-towel-resting-after-workout_171337-9246.jpg",
        "alt": "Iron Pulse Fitness gym interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Iron Pulse Fitness | Ignite Your Strength, Unleash Your Potential",
    "description": "Transform your body and mind at Iron Pulse Fitness with cutting-edge equipment, expert coaching, and a vibrant community. Claim your free trial today!",
    "images": [
      "http://img.b2bpic.net/free-photo/young-afro-american-sports-man-standing-with-white-towel-resting-after-workout_171337-9246.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>
  );
}
