@@ -15,9 +15,11 @@ import { getCustomField } from 'utils/gigs';
15
15
import Modal from 'components/Contentful/Modal' ;
16
16
import FilestackFilePicker from 'components/GUIKit/FilePicker' ;
17
17
import Dropdown from 'components/GUIKit/Dropdown' ;
18
+ import LoadingIndicator from 'components/LoadingIndicator' ;
18
19
import './style.scss' ;
19
20
import bigCheckmark from 'assets/images/big-checkmark.png' ;
20
21
import SadFace from 'assets/images/sad-face-icon.svg' ;
22
+ import backArrowGig from 'assets/images/back-arrow-gig-apply.png' ;
21
23
22
24
export default function GigApply ( props ) {
23
25
const {
@@ -36,8 +38,8 @@ export default function GigApply(props) {
36
38
</ div >
37
39
) : (
38
40
< div styleName = "wrap" >
41
+ < Link to = { `${ config . GIGS_PAGES_PATH } /${ job . slug } ` } styleName = "back-link" > < img src = { backArrowGig } alt = "back-arrow-icon" /> GIG DETAILS</ Link >
39
42
< h2 > { job . name } </ h2 >
40
- < Link to = { `${ config . GIGS_PAGES_PATH } /${ job . slug } ` } styleName = "back-link" > GIG DETAILS</ Link >
41
43
< div styleName = "separator" />
42
44
{
43
45
application ? (
@@ -72,8 +74,16 @@ export default function GigApply(props) {
72
74
) : null
73
75
}
74
76
{
75
- ! application ? (
76
- < div styleName = { `form-wrap ${ applying ? 'applying' : '' } ` } >
77
+ applying ? (
78
+ < div styleName = "loading-wrap" >
79
+ < LoadingIndicator />
80
+ < p styleName = "loading-text" > Processing your application…</ p >
81
+ </ div >
82
+ ) : null
83
+ }
84
+ {
85
+ ! application && ! applying ? (
86
+ < div styleName = "form-wrap" >
77
87
< h4 > PERSONAL INFORMATION</ h4 >
78
88
< p > Welcome to Topcoder Gigs! We’d like to get to know you.</ p >
79
89
< div styleName = "form-section" >
0 commit comments