added about menu item
parent
6af31bdcca
commit
234778cc43
|
@ -23,7 +23,8 @@
|
||||||
"Machines": "Machines",
|
"Machines": "Machines",
|
||||||
"System": "System",
|
"System": "System",
|
||||||
"Trash": "Trash",
|
"Trash": "Trash",
|
||||||
"Settings": "Settings"
|
"Settings": "Settings",
|
||||||
|
"About": "About"
|
||||||
},
|
},
|
||||||
"Login": {
|
"Login": {
|
||||||
"Username": "Username",
|
"Username": "Username",
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
"Machines": "Mașini",
|
"Machines": "Mașini",
|
||||||
"System": "Sistem",
|
"System": "Sistem",
|
||||||
"Trash": "Gunoi",
|
"Trash": "Gunoi",
|
||||||
"Settings": "Setări"
|
"Settings": "Setări",
|
||||||
|
"About": "Despre"
|
||||||
},
|
},
|
||||||
"Login": {
|
"Login": {
|
||||||
"Username": "Utilizator",
|
"Username": "Utilizator",
|
||||||
|
|
|
@ -18,6 +18,7 @@ import DnsIcon from "@material-ui/icons/Dns";
|
||||||
import DeviceHubIcon from "@material-ui/icons/DeviceHub";
|
import DeviceHubIcon from "@material-ui/icons/DeviceHub";
|
||||||
import SettingsIcon from "@material-ui/icons/Settings";
|
import SettingsIcon from "@material-ui/icons/Settings";
|
||||||
import DashboardIcon from "@material-ui/icons/Dashboard";
|
import DashboardIcon from "@material-ui/icons/Dashboard";
|
||||||
|
import FeaturedPlayListIcon from "@material-ui/icons/FeaturedPlayList";
|
||||||
import { useHistory } from "react-router-dom";
|
import { useHistory } from "react-router-dom";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import styles from "./styles";
|
import styles from "./styles";
|
||||||
|
@ -101,6 +102,15 @@ const Sidebar = ({ open, handleDrawerClose }) => {
|
||||||
<ListItemText primary={t("Menu.Settings")} />
|
<ListItemText primary={t("Menu.Settings")} />
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
|
<Divider />
|
||||||
|
<List>
|
||||||
|
<ListItem button key="about" onClick={() => history.push("/about")}>
|
||||||
|
<ListItemIcon>
|
||||||
|
<FeaturedPlayListIcon />
|
||||||
|
</ListItemIcon>
|
||||||
|
<ListItemText primary={t("Menu.About")} />
|
||||||
|
</ListItem>
|
||||||
|
</List>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue