Skip to content

Commit 0f553b5

Browse files
committed
Remove h/week from listing
1 parent 1b9f6de commit 0f553b5

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/shared/components/GUIKit/JobListCard/index.jsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import PT from 'prop-types';
77
import { config, Link } from 'topcoder-react-utils';
88
import { getSalaryType, getCustomField } from 'utils/gigs';
99
import './style.scss';
10-
import IconBlackCalendar from 'assets/images/icon-black-calendar.svg';
1110
import IconBlackDuration from 'assets/images/icon-black-duration.svg';
1211
import IconBlackLocation from 'assets/images/icon-black-location.svg';
1312
import IconBlackPayment from 'assets/images/icon-black-payment.svg';
@@ -25,7 +24,7 @@ export default function JobListCard({
2524
skills = skills.join(', ');
2625
}
2726
}
28-
const hoursPerWeek = getCustomField(job.custom_fields, 'Hours per week');
27+
2928
return (
3029
<div styleName="container">
3130
<Link to={`${config.GIGS_PAGES_PATH}/${job.slug}`} styleName="gig-name">{job.name}</Link>
@@ -42,9 +41,6 @@ export default function JobListCard({
4241
<div styleName="icon-val">
4342
<IconBlackDuration /> {getCustomField(job.custom_fields, 'Duration')}
4443
</div>
45-
<div styleName="icon-val">
46-
<IconBlackCalendar /> {`${hoursPerWeek !== 'n/a' ? `${hoursPerWeek} hours / week` : 'n/a'}`}
47-
</div>
4844
<div styleName="row-btn">
4945
<Link styleName="primary-green-md" to={`${config.GIGS_PAGES_PATH}/${job.slug}`}>VIEW DETAILS</Link>
5046
</div>

src/shared/components/GUIKit/JobListCard/style.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
}
5454

5555
&:nth-child(2) {
56-
width: 174px;
56+
width: 204px;
5757
}
5858

5959
&:nth-child(3) {
60-
width: 233px;
60+
width: 263px;
6161
}
6262

6363
&:nth-child(4) {
64-
width: 225px;
64+
width: 255px;
6565
}
6666

6767
&:last-child {

0 commit comments

Comments
 (0)