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: 'Matrix Design & Industries | Garment Manufacturing & Export',
  description: 'Matrix Design & Industries is a leading Gurugram-based company specializing in premium garment manufacturing and export solutions for wholesale buyers and fashion brands.',
  keywords: ["garment manufacturing, apparel export, custom design, wholesale buyers, fashion production, Gurugram, India, textile, clothing, private label, design innovation, quality control"],
  openGraph: {
    "title": "Matrix Design & Industries | Garment Manufacturing & Export",
    "description": "Matrix Design & Industries is a leading Gurugram-based company specializing in premium garment manufacturing and export solutions for wholesale buyers and fashion brands.",
    "url": "https://www.matrixdesign.com",
    "siteName": "Matrix Design & Industries",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/details-blue-blouse-made-out-silk_23-2148237592.jpg",
        "alt": "Garment production line"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Matrix Design & Industries | Garment Manufacturing & Export",
    "description": "Matrix Design & Industries is a leading Gurugram-based company specializing in premium garment manufacturing and export solutions for wholesale buyers and fashion brands.",
    "images": [
      "http://img.b2bpic.net/free-photo/details-blue-blouse-made-out-silk_23-2148237592.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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>
  );
}
