Aesthetics

This commit is contained in:
2021-10-09 09:24:17 +01:00
parent 281631635a
commit 3bdfb2ee49
7 changed files with 27 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import NavBar from "./NavBar";
import { Link } from "react-router-dom";
import { ExitToAppRounded as ExitToAppRoundedIcon, HistoryRounded as HistoryRoundedIcon, SettingsRounded as SettingsRoundedIcon, PersonRounded as PersonRoundedIcon, PublicRounded as PublicRoundedIcon, GroupRounded as GroupRoundedIcon, AddRounded as AddRoundedIcon, SwapHorizRounded as SwapHorizRoundedIcon, PeopleRounded as PeopleRoundedIcon, DeleteRounded as DeleteRoundedIcon, QuestionAnswerRounded as QuestionAnswerRoundedIcon } from "@material-ui/icons";
import { TimelineRounded as TimelineRoundedIcon, ExitToAppRounded as ExitToAppRoundedIcon, HistoryRounded as HistoryRoundedIcon, SettingsRounded as SettingsRoundedIcon, PersonRounded as PersonRoundedIcon, PublicRounded as PublicRoundedIcon, GroupRounded as GroupRoundedIcon, AddRounded as AddRoundedIcon, SwapHorizRounded as SwapHorizRoundedIcon, PeopleRounded as PeopleRoundedIcon, DeleteRounded as DeleteRoundedIcon, QuestionAnswerRounded as QuestionAnswerRoundedIcon } from "@material-ui/icons";
import Checkbox from '@material-ui/core/Checkbox';
import Xarrow from 'react-xarrows';
@@ -38,6 +38,13 @@ export default withRouter(class LoggedInHome extends React.Component {
loading: false,
selections: {},
navbarItems: [
{
type: "link",
name: "Mistakes",
link: "/history/mistakes",
icon: <TimelineRoundedIcon />,
hideTextMobile: true,
},
{
type: "link",
name: "History",
@@ -54,7 +61,6 @@ export default withRouter(class LoggedInHome extends React.Component {
},
{
type: "button",
name: "Logout",
onClick: () => this.props.firebase.auth().signOut(),
icon: <ExitToAppRoundedIcon />,
hideTextMobile: true,