fix(global): add scroll-to-top

This commit is contained in:
2025-12-03 15:52:25 +03:00
parent 01de6f6e75
commit 0ab354e143
8 changed files with 102 additions and 21 deletions

View File

@@ -3,7 +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, MobileCallback } from '@/widgets';
import { Footer, Header, MobileCallback, ScrollToTop } from '@/widgets';
import { ModalProvider } from '@core/providers/modal-provider';
const roboto = Roboto({
@@ -35,6 +35,7 @@ export default function RootLayout({
<main>{children}</main>
<Footer />
<MobileCallback />
<ScrollToTop />
</ModalProvider>
</body>
</html>