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: 'SCRIBBLING PAD | Wear The Chaos',
  description: 'Official website for SCRIBBLING PAD streetwear. Explore \'DROP 001 — FACE YOUR FEAR\' collection and wear the chaos.',
  keywords: ["streetwear, fashion, urban, clothing, oversized tees, scribbling pad, graphic tees, independent brand, India, artwear"],
  openGraph: {
    "title": "SCRIBBLING PAD | Wear The Chaos",
    "description": "Official website for SCRIBBLING PAD streetwear. Explore 'DROP 001 — FACE YOUR FEAR' collection and wear the chaos.",
    "url": "https://www.scribblingpad.com",
    "siteName": "SCRIBBLING PAD",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/portrait-night-with-flash_52683-109125.jpg",
        "alt": "SCRIBBLING PAD Hero Image"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "SCRIBBLING PAD | Wear The Chaos",
    "description": "Official website for SCRIBBLING PAD streetwear. Explore 'DROP 001 — FACE YOUR FEAR' collection and wear the chaos.",
    "images": [
      "http://img.b2bpic.net/free-photo/portrait-night-with-flash_52683-109125.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>
  );
}
