Добавлена навигация в нижней панели (#46)
This commit is contained in:
@ -5,6 +5,8 @@ import AddIcon from '@material-ui/icons/Add';
|
||||
import MoveToInboxIcon from '@material-ui/icons/MoveToInbox';
|
||||
import CalendarTodayIcon from '@material-ui/icons/CalendarToday';
|
||||
import ListAltIcon from '@material-ui/icons/ListAlt';
|
||||
import {NavLink} from 'react-router-dom';
|
||||
import {ROUTES} from '_consts/common';
|
||||
|
||||
const useStyles = makeStyles((theme: Theme) =>
|
||||
createStyles({
|
||||
@ -48,13 +50,17 @@ const BothMenu: React.FC<Props> = ({trigger}) => {
|
||||
edge="start"
|
||||
color="inherit"
|
||||
>
|
||||
<NavLink to={ROUTES.CHAOS_BOX}>
|
||||
<MoveToInboxIcon />
|
||||
</NavLink>
|
||||
</IconButton>
|
||||
<IconButton
|
||||
edge="end"
|
||||
color="inherit"
|
||||
>
|
||||
<NavLink to={ROUTES.PROJECTS}>
|
||||
<ListAltIcon />
|
||||
</NavLink>
|
||||
</IconButton>
|
||||
<Fab
|
||||
color="secondary"
|
||||
@ -68,7 +74,9 @@ const BothMenu: React.FC<Props> = ({trigger}) => {
|
||||
edge="start"
|
||||
color="inherit"
|
||||
>
|
||||
<NavLink to={ROUTES.CALENDAR}>
|
||||
<CalendarTodayIcon />
|
||||
</NavLink>
|
||||
</IconButton>
|
||||
<IconButton
|
||||
edge="end"
|
||||
|
||||
Reference in New Issue
Block a user