30 lines
677 B
TypeScript
30 lines
677 B
TypeScript
import "@/app/globals.css"
|
|
import "@scandic-hotels/design-system/style.css"
|
|
|
|
import { biroScriptPlus, firaMono, firaSans } from "@/app/fonts"
|
|
|
|
import styles from "./layout.module.css"
|
|
|
|
import type { Metadata } from "next"
|
|
|
|
import type { LangParams, LayoutArgs } from "@/types/params"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Webview",
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
params,
|
|
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
|
|
return (
|
|
<html lang={params.lang}>
|
|
<body
|
|
className={`${firaMono.variable} ${firaSans.variable} ${biroScriptPlus.variable} ${styles.layout}`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|