File tree 2 files changed +4
-8
lines changed
src/shared/components/GUIKit/JobListCard
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import PT from 'prop-types';
7
7
import { config , Link } from 'topcoder-react-utils' ;
8
8
import { getSalaryType , getCustomField } from 'utils/gigs' ;
9
9
import './style.scss' ;
10
- import IconBlackCalendar from 'assets/images/icon-black-calendar.svg' ;
11
10
import IconBlackDuration from 'assets/images/icon-black-duration.svg' ;
12
11
import IconBlackLocation from 'assets/images/icon-black-location.svg' ;
13
12
import IconBlackPayment from 'assets/images/icon-black-payment.svg' ;
@@ -25,7 +24,7 @@ export default function JobListCard({
25
24
skills = skills . join ( ', ' ) ;
26
25
}
27
26
}
28
- const hoursPerWeek = getCustomField ( job . custom_fields , 'Hours per week' ) ;
27
+
29
28
return (
30
29
< div styleName = "container" >
31
30
< Link to = { `${ config . GIGS_PAGES_PATH } /${ job . slug } ` } styleName = "gig-name" > { job . name } </ Link >
@@ -42,9 +41,6 @@ export default function JobListCard({
42
41
< div styleName = "icon-val" >
43
42
< IconBlackDuration /> { getCustomField ( job . custom_fields , 'Duration' ) }
44
43
</ div >
45
- < div styleName = "icon-val" >
46
- < IconBlackCalendar /> { `${ hoursPerWeek !== 'n/a' ? `${ hoursPerWeek } hours / week` : 'n/a' } ` }
47
- </ div >
48
44
< div styleName = "row-btn" >
49
45
< Link styleName = "primary-green-md" to = { `${ config . GIGS_PAGES_PATH } /${ job . slug } ` } > VIEW DETAILS</ Link >
50
46
</ div >
Original file line number Diff line number Diff line change 53
53
}
54
54
55
55
& :nth-child (2 ) {
56
- width : 174 px ;
56
+ width : 204 px ;
57
57
}
58
58
59
59
& :nth-child (3 ) {
60
- width : 233 px ;
60
+ width : 263 px ;
61
61
}
62
62
63
63
& :nth-child (4 ) {
64
- width : 225 px ;
64
+ width : 255 px ;
65
65
}
66
66
67
67
& :last-child {
You can’t perform that action at this time.
0 commit comments