Skip to content

Commit e67af3b

Browse files
authored
add menuicon to appbar and fix title on mobile view (#24)
1 parent 726c53f commit e67af3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/src/components/SiteAppBar.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ import {
1313
ListItem,
1414
ListItemButton,
1515
ListItemText,
16+
MenuItem,
1617
Toolbar,
1718
Typography,
1819
} from "@mui/material";
19-
//import {MenuIcon} from "@mui/icons-material";
20+
import { Menu as MenuIcon } from "@mui/icons-material";
2021
import { useNavigate } from "react-router-dom";
2122
import { ReactComponent as Logo } from "./images/lbnlgridintegrationgroup.svg";
2223

@@ -34,7 +35,7 @@ export default function SiteAppBar(props) {
3435
const drawer = (
3536
<Box onClick={handleDrawerToggle} sx={{ textAlign: "center" }}>
3637
<Typography variant="h6" sx={{ my: 2 }}>
37-
MUI
38+
Demand Flexibility Assessment Tool
3839
</Typography>
3940
<Divider />
4041
<List>
@@ -71,6 +72,7 @@ export default function SiteAppBar(props) {
7172
onClick={handleDrawerToggle}
7273
sx={{ mr: 2, display: { sm: "none" } }}
7374
>
75+
<MenuIcon />
7476
{/* <MenuIcon /> */}
7577
</IconButton>
7678
<Logo

0 commit comments

Comments
 (0)