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";



export const metadata: Metadata = {
  title: 'Five Star Painting LTD - Professional Painting Services',
  description: 'Five Star Painting LTD offers professional interior, exterior, and commercial painting services. Quality craftsmanship, exceptional results, and a commitment to customer satisfaction. Contact us for a free estimate.',
  openGraph: {
    "title": "Axion Studio - Design Agency",
    "description": "Axion Studio crafts digital experiences for brands ready to dominate their category online. Explore our strategy-led creative work.",
    "url": "https://www.axionstudio.com",
    "siteName": "Axion Studio",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/white-geometric-texture-background_23-2151966075.jpg",
        "alt": "Abstract creative background"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Axion Studio - Design Agency",
    "description": "Axion Studio crafts digital experiences for brands ready to dominate their category online. Explore our strategy-led creative work.",
    "images": [
      "http://img.b2bpic.net/free-photo/white-geometric-texture-background_23-2151966075.jpg"
    ]
  },
};

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={`${inter.variable} antialiased`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
