feat: Prettify using icons

This commit is contained in:
Alexander Polynomdivision 2018-09-14 17:24:26 +02:00
parent 604da6e604
commit 2dba497b19

View File

@ -15,6 +15,9 @@ import MenuIcon from "@material-ui/icons/Menu";
import SettingsIcon from "@material-ui/icons/Settings"; import SettingsIcon from "@material-ui/icons/Settings";
import PersonIcon from "@material-ui/icons/Person"; import PersonIcon from "@material-ui/icons/Person";
import InfoIcon from "@material-ui/icons/Info"; import InfoIcon from "@material-ui/icons/Info";
import HomeIcon from "@material-ui/icons/Home";
import BookIcon from "@material-ui/icons/Book";
import ViewWeekIcon from "@material-ui/icons/ViewWeek";
import { BrowserRouter, Route, Redirect, Link } from "react-router-dom"; import { BrowserRouter, Route, Redirect, Link } from "react-router-dom";
@ -213,6 +216,9 @@ export default class Application extends React.Component<{}, IState> {
to="/dashboard" to="/dashboard"
onClick={this.closeDrawer} onClick={this.closeDrawer}
button> button>
<ListItemIcon>
<HomeIcon />
</ListItemIcon>
<ListItemText primary="Dashboard" /> <ListItemText primary="Dashboard" />
</ListItem> </ListItem>
<ListItem <ListItem
@ -220,6 +226,9 @@ export default class Application extends React.Component<{}, IState> {
to="/review/queue" to="/review/queue"
onClick={this.closeDrawer} onClick={this.closeDrawer}
button> button>
<ListItemIcon>
<BookIcon />
</ListItemIcon>
<ListItemText primary="Widerholen" /> <ListItemText primary="Widerholen" />
</ListItem> </ListItem>
<ListItem <ListItem
@ -227,6 +236,9 @@ export default class Application extends React.Component<{}, IState> {
to="/levelList" to="/levelList"
onClick={this.closeDrawer} onClick={this.closeDrawer}
button> button>
<ListItemIcon>
<ViewWeekIcon />
</ListItemIcon>
<ListItemText> <ListItemText>
Levelübersicht Levelübersicht
</ListItemText> </ListItemText>