Feat: make footer expand on hover

chore: rename status variable from showExpandBtn to canExpand

Chore: disable notific. card, redirect to dashboard on logo click

This commit also fixes eslint warnings about anonymous exports
On the header, the Dashboard link is removed, in favour of adding
a redirect on click on the Lamassu Admin text. "Machines" header
link is removed as well, and a machine profile can be accessed
through the dashboard -> System Status card
This commit is contained in:
Cesar 2020-11-30 14:06:44 +00:00 committed by Josh Harvey
parent 00f176fccc
commit 5572fb0eb1
16 changed files with 126 additions and 103 deletions

View file

@ -51,18 +51,18 @@ const useStyles = makeStyles({
})
const tree = [
{
/* {
key: 'dashboard',
label: 'Dashboard',
route: '/dashboard',
component: Dashboard
},
{
}, */
/* {
key: 'machines',
label: 'Machines',
route: '/machines',
component: Machines
},
}, */
{
key: 'transactions',
label: 'Transactions',
@ -315,6 +315,8 @@ const Routes = () => {
<Route exact path="/">
<Redirect to={{ pathname: '/transactions' }} />
</Route>
<Route path="/dashboard" component={Dashboard} />
<Route path="/machines" component={Machines} />
<Route path="/wizard" component={Wizard} />
<Route path="/register" component={AuthRegister} />
<Route path="/configmigration" component={ConfigMigration} />