in src/layouts/UserLayout.js [60:92]
render() {
const { routerData, match } = this.props;
return (
<DocumentTitle title={this.getPageTitle()}>
<div className={styles.container}>
<div className={styles.content}>
<div className={styles.top}>
<div className={styles.header}>
<Link to="/">
<img alt="logo" className={styles.logo} src={TitleLogo} />
</Link>
</div>
<div className={styles.desc}>
Apache ShenYu Gateway Management System
</div>
</div>
<Switch>
{getRoutes(match.path, routerData).map(item => (
<Route
key={item.key}
path={item.path}
component={item.component}
exact={item.exact}
/>
))}
<Redirect from="/user" to={getLoginPathWithRedirectPath()} />
</Switch>
</div>
<GlobalFooter links={links} copyright={copyright} />
</div>
</DocumentTitle>
);
}