31 lines
761 B
TypeScript
31 lines
761 B
TypeScript
import "../../core.css"
|
|
import "../../scandic.css"
|
|
|
|
import Footer from "@/components/Current/Footer"
|
|
import LangPopup from "@/components/Current/LangPopup"
|
|
import Script from "next/script"
|
|
import SkipToMainContent from "@/components/SkipToMainContent"
|
|
|
|
import type { Metadata } from "next"
|
|
import type { LangParams, LayoutArgs } from "@/types/params"
|
|
import InitLivePreview from "@/components/Current/LivePreview"
|
|
|
|
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>
|
|
)
|
|
}
|