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: 'SocBoost - SMM Panel & Reseller Platform | Boost Social Presence',
  description: 'The ultimate SMM panel for resellers and businesses. Scale your social media marketing with automated, reliable, and affordable services for Instagram, YouTube, TikTok, and more.',
  keywords: ["SMM panel, social media marketing, reseller platform, buy followers, buy likes, YouTube views, TikTok followers, Instagram services, digital marketing, social media growth, automated SMM"],
  openGraph: {
    "title": "SocBoost - SMM Panel & Reseller Platform",
    "description": "Scale your social media marketing with automated, reliable, and affordable services for Instagram, YouTube, TikTok, and more.",
    "url": "https://socboost.com",
    "siteName": "SocBoost",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/office-worker-pointing-laptop-screen_482257-120643.jpg",
        "alt": "SMM Panel Dashboard"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "SocBoost - SMM Panel & Reseller Platform",
    "description": "Scale your social media marketing with automated, reliable, and affordable services for Instagram, YouTube, TikTok, and more.",
    "images": [
      "http://img.b2bpic.net/free-photo/office-worker-pointing-laptop-screen_482257-120643.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>
  );
}
