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



export const metadata: Metadata = {
  title: 'Poona Dental Clinic | Expert Dental Care in Kondhwa, Pune',
  description: 'Experience gentle, professional dental services at Poona Dental Clinic. Offering comprehensive treatments from routine check-ups to advanced procedures, veneers, implants, and emergency care in Pune. Book your appointment today!',
  keywords: ["dental clinic Pune, dentist Kondhwa, Poona Dental Clinic, Dr. Sarfaraz Shaikh, teeth cleaning, root canal, dental implants, veneers, braces, teeth whitening, emergency dental care, paediatric dentist Pune"],
  openGraph: {
    "title": "Poona Dental Clinic | Expert Dental Care in Kondhwa, Pune",
    "description": "Experience gentle, professional dental services at Poona Dental Clinic. Offering comprehensive treatments from routine check-ups to advanced procedures, veneers, implants, and emergency care in Pune. Book your appointment today!",
    "url": "https://www.poonadentalclinic.com",
    "siteName": "Poona Dental Clinic",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/goodlooking-female-dentist-posing-with-some-dental-instruments-her-hand-white-coat-modern-wellequipped-cabinet_627829-9797.jpg",
        "alt": "Modern dental office interior, welcoming atmosphere"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Poona Dental Clinic | Expert Dental Care in Kondhwa, Pune",
    "description": "Experience gentle, professional dental services at Poona Dental Clinic. Offering comprehensive treatments from routine check-ups to advanced procedures, veneers, implants, and emergency care in Pune. Book your appointment today!",
    "images": [
      "http://img.b2bpic.net/free-photo/goodlooking-female-dentist-posing-with-some-dental-instruments-her-hand-white-coat-modern-wellequipped-cabinet_627829-9797.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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