refactor: move components by fsd

This commit is contained in:
2025-06-27 12:43:16 +03:00
parent 3a8f31515a
commit a52db8dbcb
8 changed files with 117 additions and 130 deletions

View File

@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
import { Montserrat, Roboto } from 'next/font/google';
import '@core/styles/globals.scss';
import '@core/styles/reset.scss';
import { Footer, Header } from '@/widgets';
const roboto = Roboto({
subsets: ['cyrillic'],
@@ -28,7 +29,9 @@ export default function RootLayout({
return (
<html lang='en'>
<body className={`${roboto.variable} ${montseratt.variable}`}>
{children}
<Header />
<main>{children}</main>
<Footer />
</body>
</html>
);