File tree Expand file tree Collapse file tree 5 files changed +119
-1
lines changed Expand file tree Collapse file tree 5 files changed +119
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,10 @@ export default function GigApply(props) {
108108 < Link to = { `${ config . GIGS_PAGES_PATH } ` } > VIEW OTHER GIGS</ Link >
109109 </ React . Fragment >
110110 ) : (
111- < a href = { `${ config . GIGS_PAGES_PATH } ` } styleName = "primaryBtn" > GO TO GIGS LIST</ a >
111+ < React . Fragment >
112+ < a href = { `${ config . GIGS_PAGES_PATH } ` } styleName = "gig-list-btn" > GO TO GIGS LIST</ a >
113+ < a href = { `${ config . PLATFORM_SITE_URL } /earn/my-gigs` } styleName = "primaryBtn" > CHECK GIG APPLICATION STATUS</ a >
114+ </ React . Fragment >
112115 )
113116 }
114117 </ div >
Original file line number Diff line number Diff line change 313313 margin-left : 20px ;
314314 }
315315 }
316+ .gig-list-btn {
317+ margin-right : 12px ;
318+ }
316319 }
317320 /* stylelint-enable */
318321}
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import { config , Link } from 'topcoder-react-utils' ;
3+ import BannerInfoIcon from 'assets/images/banner-info.svg' ;
4+ import './style.scss' ;
5+
6+ const GigHeader = ( ) => {
7+ return (
8+ < div
9+ styleName = "gig-header"
10+ >
11+ < div styleName = "content" >
12+ < div styleName = "banner-info" >
13+ < BannerInfoIcon />
14+ </ div >
15+ < span >
16+ You have 3 applied Gigs in the system
17+ </ span >
18+ </ div >
19+
20+ < div styleName = "row-btn" >
21+ < Link styleName = "primary-white-md" to = { `${ config . PLATFORM_SITE_URL } /earn/my-gigs` } > CHECK GIG APPLICATION STATUS</ Link >
22+ </ div >
23+ </ div >
24+ ) ;
25+ } ;
26+
27+ export default GigHeader ;
Original file line number Diff line number Diff line change 1+ @import " ~styles/mixins" ;
2+ @import " ~components/GUIKit/Assets/Styles/default" ;
3+ @import " ~components/Contentful/default" ;
4+
5+ .gig-header {
6+ @include roboto-medium ;
7+
8+ @include xs-to-sm {
9+ height : 81px ;
10+ line-height : 22px ;
11+ padding-left : 20px ;
12+ }
13+
14+ display : flex ;
15+ justify-content : space-between ;
16+ flex-direction : row ;
17+ align-items : center ;
18+ margin-top : 15px ;
19+ height : 70px ;
20+ background : linear-gradient (90deg , #6F308B 0% , #1470AC 100% );
21+ border-radius : 10px ;
22+ color : #fff ;
23+ font-size : 16px ;
24+
25+ .content {
26+ display : flex ;
27+ justify-content : space-between ;
28+ flex-direction : row ;
29+ align-items : center ;
30+ color : #fff ;
31+
32+ .banner-info {
33+ width : 24px ;
34+ height : 24px ;
35+ margin-left : 20px ;
36+ margin-right : 10px ;
37+
38+ @include xs-to-sm {
39+ display : none ;
40+ }
41+ }
42+
43+ @include xs-to-sm {
44+ width : 80% ;
45+ }
46+ }
47+
48+ .row-btn {
49+ display : flex ;
50+ justify-content : flex-end ;
51+ flex : 1 ;
52+ padding-right : 20px ;
53+
54+ @include xs-to-sm {
55+ justify-content : flex-start ;
56+ }
57+
58+ button .primary-white-md {
59+ outline : none ;
60+
61+ @include primary-white ;
62+ @include md ;
63+
64+ & :hover {
65+ @include primary-white ;
66+ }
67+ }
68+ }
69+
70+ .banner-close {
71+ width : 14px ;
72+ height : 14px ;
73+ margin-right : 30px ;
74+
75+ & :hover {
76+ cursor : pointer ;
77+ }
78+
79+ @include xs-to-sm {
80+ margin-bottom : 20px ;
81+ }
82+ }
83+ }
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import IconBlackLocation from 'assets/images/icon-black-location.svg';
1717import { config , Link , isomorphy } from 'topcoder-react-utils' ;
1818import { getQuery , updateQuery } from 'utils/url' ;
1919import { withOptimizely } from '@optimizely/react-sdk' ;
20+ import GigHeader from 'components/Gigs/GigHeader' ;
2021import './jobLisingStyles.scss' ;
2122
2223const cookies = require ( 'browser-cookies' ) ;
@@ -249,6 +250,7 @@ class RecruitCRMJobsContainer extends React.Component {
249250 < Dropdown label = "Location" onChange = { this . onLocation } options = { locations } size = "xs" />
250251 < Dropdown label = "Sort by" onChange = { this . onSort } options = { sortByOptions } size = "xs" />
251252 </ div >
253+ < GigHeader />
252254 < div styleName = "jobs-list-container" >
253255 {
254256 jobsToDisplay . length
You can’t perform that action at this time.
0 commit comments