fix: update settings

This commit is contained in:
2025-06-23 15:32:25 +03:00
parent 8086223f23
commit 21111e93f9
9 changed files with 190 additions and 31 deletions

View File

@@ -1,15 +1,13 @@
import type { Metadata } from 'next';
import { Geist, Geist_Mono } from 'next/font/google';
import './globals.css';
import { ReactNode } from 'react';
import { Roboto } from 'next/font/google';
import '@core/styles/globals.scss';
import '@core/styles/reset.scss';
const geistSans = Geist({
variable: '--font-geist-sans',
subsets: ['latin'],
});
const geistMono = Geist_Mono({
variable: '--font-geist-mono',
subsets: ['latin'],
const roboto = Roboto({
subsets: ['cyrillic'],
weight: ['300', '400', '500', '600', '700'],
variable: '--font-roboto',
});
export const metadata: Metadata = {
@@ -20,14 +18,10 @@ export const metadata: Metadata = {
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
}: Readonly<{ children: ReactNode }>) {
return (
<html lang='en'>
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>
<body className={`${roboto.variable}`}>{children}</body>
</html>
);
}