feat: add webview pages

This commit is contained in:
Christel Westerberg
2024-05-06 09:52:43 +02:00
parent d07826b2a3
commit 49f760705e
10 changed files with 144 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
import { firaMono, firaSans } from "@/app/[lang]/(live)/fonts"
import styles from "./layout.module.css"
import type { Metadata } from "next"
import type { LangParams, LayoutArgs } from "@/types/params"
@@ -12,7 +16,11 @@ export default function RootLayout({
}: React.PropsWithChildren<LayoutArgs<LangParams>>) {
return (
<html lang={params.lang}>
<body>{children}</body>
<body
className={`${firaMono.variable} ${firaSans.variable} ${styles.layout}`}
>
{children}
</body>
</html>
)
}