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



export const metadata: Metadata = {
  title: 'Sao Masaje Tailandés | Authentic Thai Massage Valladolid',
  description: 'Experience authentic Thai massage and personalized wellness treatments in Valladolid. Book your relaxation session or purchase a gift card online today. LGBTQ+ friendly and female-owned.',
  keywords: ["Thai massage, Valladolid, relaxation, wellness, Balinese massage, couples massage, gift cards, spa, holistic, LGBTQ+ friendly"],
  openGraph: {
    "title": "Sao Masaje Tailandés | Authentic Thai Massage Valladolid",
    "description": "Experience authentic Thai massage and personalized wellness treatments in Valladolid. Book your relaxation session or purchase a gift card online today. LGBTQ+ friendly and female-owned.",
    "url": "https://www.saomasaje.es",
    "siteName": "Sao Masaje Tailandés",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/green-leaf-with-candle-sliced-dried-orange-fruit-gray_114579-85987.jpg",
        "alt": "Luxurious Thai massage room"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Sao Masaje Tailandés | Authentic Thai Massage Valladolid",
    "description": "Experience authentic Thai massage and personalized wellness treatments in Valladolid. Book your relaxation session or purchase a gift card online today. LGBTQ+ friendly and female-owned.",
    "images": [
      "http://img.b2bpic.net/free-photo/green-leaf-with-candle-sliced-dried-orange-fruit-gray_114579-85987.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const openSans = Open_Sans({
  variable: "--font-open-sans",
  subsets: ["latin"],
});

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