Merge branch 'Team' into refactoring

This commit is contained in:
ifraimka1 committed 2025-04-17 15:54:53 +03:00
commit 1a0ff4cf56
33 files changed
+1099 -397

No files matched your search

+5 -6
View File
@@ -73,14 +73,13 @@ function Root() {
return (
<RootContext.Provider value={{ setRef }}>
<div id="layout-wrapper">
<Navbar />
<div
id="react-page"
style={{ marginTop: isHomePage ? "0px" : "" }} // Устанавливаем margin-top
>
<main id="react-page" style={{ marginTop: isHomePage ? "0px" : "" }}>
<Outlet />
</div>
</main>
<Footer />
</div>
{hasScrolled && (
<button
className={`scroll-to-top ${isOnTopVisible ? "visible" : "hidden"}`}
@@ -90,7 +89,7 @@ function Root() {
</button>
)}
</RootContext.Provider>
);
);
}
export default Root;