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



export const metadata: Metadata = {
  title: 'Siyaphambili Systems | Innovative IT Solutions',
  description: 'Siyaphambili Systems Pvt Ltd offers cutting-edge IT solutions, cloud services, cybersecurity, and expert support to empower businesses. Drive growth and efficiency with us.',
  openGraph: {
    "title": "Siyaphambili Systems | Innovative IT Solutions",
    "description": "Siyaphambili Systems Pvt Ltd offers cutting-edge IT solutions, cloud services, cybersecurity, and expert support to empower businesses.",
    "url": "https://siyaphambilisystems.com",
    "siteName": "Siyaphambili Systems",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/data-center-with-server-racks-corridor-room-3d-render-digital-data-cloud-technology_482257-27722.jpg",
        "alt": "Futuristic server room with IT systems"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Siyaphambili Systems | Innovative IT Solutions",
    "description": "Siyaphambili Systems Pvt Ltd offers cutting-edge IT solutions, cloud services, cybersecurity, and expert support.",
    "images": [
      "http://img.b2bpic.net/free-photo/data-center-with-server-racks-corridor-room-3d-render-digital-data-cloud-technology_482257-27722.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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