Skip to content

Commit

Permalink
NavBar UI improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed Jun 10, 2024
1 parent 70009b2 commit de33d2f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/src/components/nav/TopNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ const TopNavbar = () => {
<Navbar.Brand as={Link} to="/">
robolist
</Navbar.Brand>
<Navbar.Toggle />
<Navbar.Collapse className="justify-content-end">
<Nav>
<div className="d-flex gap-3">
<Nav.Link
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
>
Expand All @@ -27,8 +25,7 @@ const TopNavbar = () => {
<Nav.Link onClick={() => setShowSidebar(true)}>
<GearFill />
</Nav.Link>
</Nav>
</Navbar.Collapse>
</div>
</Container>
</Navbar>
<Sidebar show={showSidebar} onHide={() => setShowSidebar(false)} />
Expand Down

0 comments on commit de33d2f

Please sign in to comment.