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



export const metadata: Metadata = {
  title: 'DR SHIVARAM HR Clinic - General Practitioner & Diabetologist',
  description: 'Viveks Multispeciality Clinic, Kanakapura Road branch. Expert general practitioner, diabetologist, and MD physician Dr. Shivaram HR provides excellent patient care in Bengaluru.',
  keywords: ["Dr Shivaram HR, Viveks Multispeciality Clinic, Kanakapura Road, Bengaluru, General Practitioner, Diabetologist, MD Physician, clinic, doctor, medical, health, wellness"],
  openGraph: {
    "title": "DR SHIVARAM HR Clinic - Viveks Multispeciality Clinic",
    "description": "Expert general practitioner, diabetologist, and MD physician Dr. Shivaram HR provides excellent patient care in Bengaluru.",
    "url": "https://www.viveksmultispecialityclinic.com",
    "siteName": "Viveks Multispeciality Clinic",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/physician-having-conversation-with-adult-medical-cabinet-taking-notes-about-health-care-diagnosis-general-practitioner-talking-mother-about-recovery-treatment-appointment_482257-41817.jpg",
        "alt": "Modern clinic reception"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "DR SHIVARAM HR Clinic - Viveks Multispeciality Clinic",
    "description": "Expert general practitioner, diabetologist, and MD physician Dr. Shivaram HR provides excellent patient care in Bengaluru.",
    "images": [
      "http://img.b2bpic.net/free-photo/physician-having-conversation-with-adult-medical-cabinet-taking-notes-about-health-care-diagnosis-general-practitioner-talking-mother-about-recovery-treatment-appointment_482257-41817.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const sourceSans3 = Source_Sans_3({
  variable: "--font-source-sans-3",
  subsets: ["latin"],
});

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