mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-09 20:28:29 +03:00
optimized loading page
This commit is contained in:
parent
fc0d93061b
commit
e1ae30d115
@ -673,6 +673,20 @@ export default class ApplicationPage extends React.Component {
|
||||
mobile={this.props.mobile}
|
||||
resourceURI={this.props.resources.search}
|
||||
/>
|
||||
{!this.state.loaded ? (
|
||||
<div
|
||||
style={{
|
||||
position: "absolute",
|
||||
width: "100vw",
|
||||
height: "100vh",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
}}
|
||||
>
|
||||
<Logo style={{ width: "20vw", maxWidth: "200px" }} />
|
||||
</div>
|
||||
) : null}
|
||||
</WebsitePrototypeWrapper>
|
||||
</React.Fragment>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user