import InitLivePreview from "@/components/Current/LivePreview"

import type { Metadata } from "next"

import type { LangParams, LayoutArgs } from "@/types/params"

export const metadata: Metadata = {
  description: "New web",
  title: "Scandic Hotels New Web",
}

export default function RootLayout({
  children,
  params,
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
  return (
    <html lang={params.lang}>
      <body>
        <InitLivePreview />
        {children}
      </body>
    </html>
  )
}
