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



export const metadata: Metadata = {
  title: 'VKG CHILDREN SCHOOL - Best Faculty for Quality CBSE Education',
  description: 'VKG CHILDREN SCHOOL offers holistic CBSE English medium education from playgroup to 12th grade, distinguished by its best faculty, focusing on academics, sports, and Navodya preparation.',
  keywords: ["CBSE school, English medium, playgroup to 12th, quality education, sports academy, Navodya preparation, best school, India school"],
  openGraph: {
    "title": "Vidyashree International School - Nurturing Excellence",
    "description": "Providing top-tier CBSE English Medium education from Playgroup to 12th grade, emphasizing holistic development and academic rigor.",
    "url": "https://www.vidyashreeinternationalschool.com",
    "siteName": "Vidyashree International School",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/cheerful-student-posing-fence_23-2147666700.jpg",
        "alt": "Vidyashree International School Building"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Vidyashree International School - Nurturing Excellence",
    "description": "Providing top-tier CBSE English Medium education from Playgroup to 12th grade, emphasizing holistic development and academic rigor.",
    "images": [
      "http://img.b2bpic.net/free-photo/cheerful-student-posing-fence_23-2147666700.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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