forked from ghuser-io/ghuser.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreating.js
39 lines (35 loc) · 1.18 KB
/
Creating.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import React from 'react';
import {urls} from '../ghuser';
import Content from './Content';
import NavBar from './NavBar';
import PageContent from './PageContent';
import './All.css';
class Creating extends React.Component {
componentDidMount() {
setTimeout(() => {
// temporarily disabled for issue143: window.location.replace(`/${this.props.username}`);
}, 5000);
}
render() {
return (
<PageContent>
<NavBar/>
<Content>
<div className="container container-lg mt-2">
{ /* temporarily disabled for issue143
<i className="fas fa-spinner fa-pulse"></i> {this.props.username}'s profile is being
created. You'll be redirected to
<a href={`/${this.props.username}`}>
{urls.landing}/{this.props.username}
</a> in a few seconds... */ }
Sorry, we're overloaded, we had to freeze the <i>profile requests</i> for now. See
<a href="https://github.com/ghuser-io/ghuser.io/issues/143" target="_blank" className="external">
#143
</a>.
</div>
</Content>
</PageContent>
);
}
}
export default Creating;