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: 'Okinii Hibachi & Sushi | Newport News Japanese Restaurant',
  description: 'Authentic Japanese Hibachi and fresh sushi in Newport News, VA. Order online for takeout and delivery. Experience the best hibachi in town at Oyster Point Plaza.',
  keywords: ["Japanese restaurant, Hibachi Newport News, Sushi Newport News, Okinii, Oyster Point Plaza"],
  openGraph: {
    "title": "Okinii Hibachi & Sushi",
    "description": "Authentic Hibachi and Sushi in Newport News, VA.",
    "siteName": "Okinii Hibachi & Sushi",
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Okinii Hibachi & Sushi",
    "description": "Authentic Hibachi and Sushi in Newport News, VA."
  },
  robots: {
    "index": true,
    "follow": true
  },
};

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

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