Skip to content

Commit

Permalink
fix: issue #497 move theme button
Browse files Browse the repository at this point in the history
  • Loading branch information
fustroli committed Mar 2, 2022
1 parent 550acd2 commit dd2f7b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ function Navbar() {
<Typography className={classes.buttonStyle}>Contact Us</Typography>
</Button>
</Link>
<Button onClick={colorMode.toggleColorMode}>Theme</Button>
</Toolbar>
{/* TEMPORARY BUTTON, SHOULD BE REMOVED */}
<Button onClick={colorMode.toggleColorMode}>Theme</Button>
<Button
className={classes.menuButton}
aria-controls="basic-menu"
Expand Down Expand Up @@ -161,6 +160,9 @@ function Navbar() {
<MenuItem onClick={handleClose}>Services</MenuItem>
<MenuItem onClick={handleClose}>Blog</MenuItem>
<MenuItem onClick={handleClose}>Contact Us</MenuItem>
<MenuItem onClick={handleClose} sx={{ paddingLeft: '10px' }}>
<Button onClick={colorMode.toggleColorMode}>Theme</Button>
</MenuItem>
</Menu>
</AppBar>
);
Expand Down

0 comments on commit dd2f7b5

Please sign in to comment.