34 lines
674 B
TypeScript
34 lines
674 B
TypeScript
import type { Metadata } from "next"
|
|
import type { ReactNode } from "react"
|
|
|
|
import { Open_Sans } from "next/font/google"
|
|
|
|
import "@shared/styles/global.scss"
|
|
|
|
import { AppProviders } from "@shared/context/AppProviders"
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Coffee Project",
|
|
description: "Standalone Next.js app using FSD structure",
|
|
}
|
|
|
|
const open_sans = Open_Sans({
|
|
preload: true,
|
|
display: "swap",
|
|
variable: "--font-open-sans",
|
|
})
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="ru" className={open_sans.variable}>
|
|
<body>
|
|
<AppProviders>{children}</AppProviders>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|