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



export const metadata: Metadata = {
  title: 'Pondok Bambu Kuning - Authentic Indonesian Restaurant | Palembang',
  description: 'Experience authentic Indonesian cuisine at Pondok Bambu Kuning in Palembang. Open 10:00-22:00, with a 4.3 Google rating. Call 081268781001 or visit Jl. DI. Panjaitan Kel. Sentosa Seberang Ulu 2, Bagus Kuning, Kec. Plaju, Kota Palembang. Sumatera Selatan. 30119.',
  keywords: ["Indonesian restaurant, authentic Indonesian food, Jakarta dining, fine dining, traditional Indonesian cuisine, Nasi Goreng, Sate Ayam, Rendang, Pondok Bambu Kuning"],
  openGraph: {
    "title": "Pondok Bambu Kuning - Authentic Indonesian Restaurant",
    "description": "Experience elegant dining and authentic Indonesian cuisine at Pondok Bambu Kuning. Discover our menu, ambiance, and make a reservation.",
    "url": "https://www.pondokbambukuning.com",
    "siteName": "Pondok Bambu Kuning",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/yellow-white-wooden-fence_250224-276.jpg",
        "alt": "Elegant Indonesian restaurant interior"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Pondok Bambu Kuning - Authentic Indonesian Restaurant",
    "description": "Experience elegant dining and authentic Indonesian cuisine at Pondok Bambu Kuning. Discover our menu, ambiance, and make a reservation.",
    "images": [
      "http://img.b2bpic.net/free-photo/yellow-white-wooden-fence_250224-276.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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