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



export const metadata: Metadata = {
  title: 'The Vegan Marie | Premium Herbal Wellness & Natural Healing',
  description: 'Explore luxurious plant-based herbal teas, powders, sea moss blends, and handcrafted remedies for holistic health and natural healing. Organic & powerful wellness.',
  keywords: ["herbal wellness, natural healing, herbal teas, sea moss, plant-based remedies, organic herbs, detox blends, alkaline living, holistic healing, The Vegan Marie"],
  openGraph: {
    "title": "The Vegan Marie | Premium Herbal Wellness & Natural Healing",
    "description": "Explore luxurious plant-based herbal teas, powders, sea moss blends, and handcrafted remedies for holistic health and natural healing. Organic & powerful wellness.",
    "url": "https://www.theveganmarie.com",
    "siteName": "The Vegan Marie",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/top-view-honey-products_23-2148132622.jpg",
        "alt": "Floating vibrant herbs with elegant glass jars"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "The Vegan Marie | Premium Herbal Wellness & Natural Healing",
    "description": "Explore luxurious plant-based herbal teas, powders, sea moss blends, and handcrafted remedies for holistic health and natural healing. Organic & powerful wellness.",
    "images": [
      "http://img.b2bpic.net/free-photo/top-view-honey-products_23-2148132622.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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