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: 'Velocity Customs | Expert Car Care & Customization',
  description: 'Velocity Customs offers premier car care, maintenance, repairs, and custom modifications. Trust our skilled mechanics for unparalleled automotive service.',
  keywords: ["car workshop, auto repair, car maintenance, custom cars, vehicle service, car tuning, oil change, brake repair, engine diagnostics"],
  openGraph: {
    "title": "Velocity Customs | Expert Car Care & Customization",
    "description": "Velocity Customs offers premier car care, maintenance, repairs, and custom modifications. Trust our skilled mechanics for unparalleled automotive service.",
    "url": "https://www.velocitycustoms.com",
    "siteName": "Velocity Customs",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/gray-coupe-road-focus_417767-24.jpg",
        "alt": "Luxury Sports Car"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Velocity Customs | Expert Car Care & Customization",
    "description": "Velocity Customs offers premier car care, maintenance, repairs, and custom modifications. Trust our skilled mechanics for unparalleled automotive service.",
    "images": [
      "http://img.b2bpic.net/free-photo/gray-coupe-road-focus_417767-24.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>
  );
}
