Skip to content

Commit

Permalink
Add hamburger icon (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirrus233 authored Aug 17, 2024
1 parent f139a2b commit b19fdde
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
27 changes: 27 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"dependencies": {
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.16.7",
"@mui/joy": "^5.0.0-beta.36",
"@mui/material": "^5.16.5",
"react": "^18.3.1",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import IconButton from "@mui/joy/IconButton";
import Drawer from "@mui/joy/Drawer";
import List from "@mui/joy/List";
import ListItemButton from "@mui/joy/ListItemButton";
import { Menu as MenuIcon } from "@mui/icons-material";
import { BrowserRouter, Routes, Route, Link } from "react-router-dom";
import ProductionHelper from "./ProductionHelper";

Expand Down Expand Up @@ -54,7 +55,7 @@ function DrawerNavigation() {
onClick={() => setOpen(true)}
sx={{ mb: 2, p: 1 }}
>
Menu
<MenuIcon />
</IconButton>
<Drawer open={open} onClose={() => setOpen(false)}>
<List
Expand Down
4 changes: 4 additions & 0 deletions frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ module.exports = {
}),
new MiniCssExtractPlugin(),
],
performance: {
maxEntrypointSize: 512000,
maxAssetSize: 512000,
},
};

0 comments on commit b19fdde

Please sign in to comment.