diff --git a/README.md b/README.md index 0e9c356..6476010 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,7 @@ A web clone of [DevToys](https://github.com/veler/DevToys) - [x] Generators - [ ] Text - [ ] Graphic -- [ ] Support dark mode +- [ ] Settings + - [x] Settings menu item + - [ ] Support dark mode + - [ ] Support i18n diff --git a/src/components/layout/Drawer.tsx b/src/components/layout/Drawer.tsx index 58fc984..9f803ea 100644 --- a/src/components/layout/Drawer.tsx +++ b/src/components/layout/Drawer.tsx @@ -1,4 +1,4 @@ -import { Home } from "@mui/icons-material"; +import { Home, Settings } from "@mui/icons-material"; import { Box, Divider, Drawer, List, Stack } from "@mui/material"; import { css } from "@mui/material/styles"; import { memo } from "react"; @@ -30,20 +30,26 @@ const divider = css` border-color: rgba(0, 0, 0, 0.08); `; +const fullHeight = { height: "100%" }; + const StyledComponent = ({ toolGroups }: Props) => ( - - - } title="All tools" href={pagesPath.$url()} /> + + + + } title="All tools" href={pagesPath.$url()} /> + {toolGroups.map(({ icon, title, tools }) => ( ))} + + } title="Settings" href="settings" disabled />