iter 2
This commit is contained in:
+8
-5
@@ -1,7 +1,7 @@
|
||||
import type { Metadata } from "next"
|
||||
import type { ReactNode } from "react"
|
||||
|
||||
import { Open_Sans } from "next/font/google"
|
||||
import { Manrope } from "next/font/google"
|
||||
|
||||
import "@shared/styles/global.scss"
|
||||
|
||||
@@ -12,10 +12,11 @@ export const metadata: Metadata = {
|
||||
description: "Standalone Next.js app using FSD structure",
|
||||
}
|
||||
|
||||
const open_sans = Open_Sans({
|
||||
const manrope = Manrope({
|
||||
subsets: ["latin", "cyrillic"],
|
||||
preload: true,
|
||||
display: "swap",
|
||||
variable: "--font-open-sans",
|
||||
variable: "--font-manrope",
|
||||
})
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -24,7 +25,7 @@ export default function RootLayout({
|
||||
children: ReactNode
|
||||
}>) {
|
||||
return (
|
||||
<html lang="ru" className={open_sans.variable} suppressHydrationWarning>
|
||||
<html lang="ru" className={manrope.variable} suppressHydrationWarning>
|
||||
<head>
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
@@ -33,7 +34,9 @@ export default function RootLayout({
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<AppProviders>{children}</AppProviders>
|
||||
<div id="app-root">
|
||||
<AppProviders>{children}</AppProviders>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user