Skip to content

Commit

Permalink
logo fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Farmaha committed Jan 21, 2024
1 parent 418e3fb commit 605ffeb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions src/Layout/Layout.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { Outlet } from "react-router-dom";
// import { Outlet } from "react-router-dom";
import { AppBar } from "../components/AppBar/AppBar";
import { Footer } from "../components/Footer/Footer";
import { ScrollToTopButton } from "../components/ScrollToTopButton/ScrollToTopButton";
// import { Footer } from "../components/Footer/Footer";
// import { ScrollToTopButton } from "../components/ScrollToTopButton/ScrollToTopButton";

export const Layout = () => {
return (
<>
<AppBar />
<main>
<Outlet />
{/* <Outlet /> */}
</main>
<Footer />
<ScrollToTopButton />
{/* <Footer />
<ScrollToTopButton /> */}
</>
);
};
16 changes: 8 additions & 8 deletions src/components/AppBar/AppBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { useSpring, a } from "@react-spring/web";

import { Logo } from "../Logo/Logo";
import {
NavItem,
// NavItem,
NavLinkStyled,
NavList,
NavWrap,
Header,
// NavList,
// NavWrap,
// Header,
} from "./AppBar-styled";

export const AppBar = () => {
Expand All @@ -18,8 +18,8 @@ export const AppBar = () => {
});
return (
<>
<Header>
<NavWrap>
{/* <Header>
<NavWrap> */}
<a.div
style={{
transform,
Expand All @@ -34,7 +34,7 @@ export const AppBar = () => {
<Logo />
</NavLinkStyled>
</a.div>
<NavList>
{/* <NavList>
<NavItem>
<NavLinkStyled to="/members">Учасники</NavLinkStyled>
</NavItem>
Expand All @@ -44,7 +44,7 @@ export const AppBar = () => {
</NavItem>
</NavList>
</NavWrap>
</Header>
</Header> */}
</>
);
};
4 changes: 2 additions & 2 deletions src/pages/HomePage/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { StatsSection } from "../../components/StatsSection/StatsSection";
export const HomePage = () => {
return (
<>
{/* <HeroSection />
<HeroSection />
<AboutSection />
<StatsSection /> */}
<StatsSection />
</>
);
};

0 comments on commit 605ffeb

Please sign in to comment.