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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Manrope } from "next/font/google";



export const metadata: Metadata = {
  title: 'Four Winds Animal Clinic | Compassionate Pet Care',
  description: 'Four Winds Animal Clinic provides comprehensive and compassionate veterinary care for dogs and cats. From wellness exams to advanced surgery, your pet\'s health is our priority.',
  keywords: ["animal clinic, veterinary, pet care, dog vet, cat vet, animal hospital, pet wellness, vaccinations, pet surgery, dental care for pets"],
  openGraph: {
    "title": "Four Winds Animal Clinic | Compassionate Pet Care",
    "description": "Four Winds Animal Clinic provides comprehensive and compassionate veterinary care for dogs and cats. From wellness exams to advanced surgery, your pet's health is our priority.",
    "url": "https://www.fourwindsanimalclinic.com",
    "siteName": "Four Winds Animal Clinic",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/veterinarian-taking-care-pet_23-2149198597.jpg",
        "alt": "Veterinarian comforting a golden retriever"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Four Winds Animal Clinic | Compassionate Pet Care",
    "description": "Four Winds Animal Clinic provides comprehensive and compassionate veterinary care for dogs and cats. From wellness exams to advanced surgery, your pet's health is our priority.",
    "images": [
      "http://img.b2bpic.net/free-photo/veterinarian-taking-care-pet_23-2149198597.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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