|
|
@ -7,6 +7,7 @@ import styles from './Dashboard.less';
|
|
|
|
import Logo from "../../../public/images/logo.svg";
|
|
|
|
import Logo from "../../../public/images/logo.svg";
|
|
|
|
import {Link, NavLink} from "react-router-dom";
|
|
|
|
import {Link, NavLink} from "react-router-dom";
|
|
|
|
import RouteWithSubRoutes from "../../components/RouteWithSubRoutes"
|
|
|
|
import RouteWithSubRoutes from "../../components/RouteWithSubRoutes"
|
|
|
|
|
|
|
|
import { Switch, Redirect } from 'react-router'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Dashboard extends React.Component {
|
|
|
|
class Dashboard extends React.Component {
|
|
|
@ -36,10 +37,14 @@ class Dashboard extends React.Component {
|
|
|
|
</Menu>
|
|
|
|
</Menu>
|
|
|
|
</Header>
|
|
|
|
</Header>
|
|
|
|
<Content style={{padding: '0 0'}}>
|
|
|
|
<Content style={{padding: '0 0'}}>
|
|
|
|
|
|
|
|
<Switch>
|
|
|
|
|
|
|
|
<Redirect exact from="/publisher" to="/publisher/apps"/>
|
|
|
|
{this.state.routes.map((route) => (
|
|
|
|
{this.state.routes.map((route) => (
|
|
|
|
<RouteWithSubRoutes key={route.path} {...route} />
|
|
|
|
<RouteWithSubRoutes key={route.path} {...route} />
|
|
|
|
))}
|
|
|
|
))}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Switch>
|
|
|
|
|
|
|
|
|
|
|
|
</Content>
|
|
|
|
</Content>
|
|
|
|
<Footer style={{textAlign: 'center'}}>
|
|
|
|
<Footer style={{textAlign: 'center'}}>
|
|
|
|
©2019 entgra.io
|
|
|
|
©2019 entgra.io
|
|
|
|