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: 'Bazar Express 3D - Galaxy Universe | Tecnologia Samsung',
  description: 'Explore o universo Samsung Galaxy com uma experiência de compra imersiva em 3D. Descubra smartphones, tablets e wearables com animações dinâmicas e detalhes sem precedentes.',
  keywords: ["Samsung, Galaxy, 3D, Bazar Express, tecnologia, smartphones, tablets, wearables, Angola, e-commerce, loja online"],
  openGraph: {
    "title": "Bazar Express 3D - Galaxy Universe",
    "description": "A sua porta de entrada para a tecnologia Samsung mais recente, com uma experiência de compra imersiva e inovadora.",
    "url": "https://bazarexpress3d.ao",
    "siteName": "Bazar Express 3D",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/young-woman-man-with-vr-glasses_23-2148932823.jpg",
        "alt": "Galaxy Universe 3D"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Bazar Express 3D - Galaxy Universe",
    "description": "Explore o universo Samsung Galaxy com uma experiência de compra imersiva em 3D.",
    "images": [
      "http://img.b2bpic.net/free-photo/young-woman-man-with-vr-glasses_23-2148932823.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const inter = Inter({
  variable: "--font-inter",
  subsets: ["latin"],
});
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={`${inter.variable} ${openSans.variable} antialiased`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
