feat: login background image display (#1145)

This commit is contained in:
leoshine
2022-09-20 23:06:24 +08:00
committed by GitHub
parent e295da774f
commit 3d50255060
5 changed files with 23 additions and 11 deletions

View File

@ -697,8 +697,8 @@ class App extends Component {
renderPage() {
if (this.isDoorPages()) {
return (
<div style={{position: "relative", minHeight: "100vh"}}>
<div id="content-wrap" style={{flexDirection: "column"}}>
<div style={{display: "flex", flexDirection: "column", height: "100%"}}>
<div id="login-content-wrap" style={{flexDirection: "column"}}>
<Switch>
<Route exact path="/signup" render={(props) => this.renderHomeIfLoggedIn(<SignupPage account={this.state.account} {...props} />)} />
<Route exact path="/signup/:applicationName" render={(props) => this.renderHomeIfLoggedIn(<SignupPage account={this.state.account} {...props} onUpdateAccount={(account) => {this.onUpdateAccount(account);}} />)} />