add highlighting to jobs

This commit is contained in:
Berkeley Martinez
2015-09-14 12:12:31 -07:00
parent a34bcc2266
commit fe144f7297
2 changed files with 6 additions and 8 deletions

View File

@ -22,6 +22,7 @@ export default React.createClass({
id, id,
company, company,
position, position,
isHighlighted,
description, description,
logo, logo,
city, city,
@ -44,6 +45,7 @@ export default React.createClass({
); );
return ( return (
<Panel <Panel
bsStyle={ isHighlighted ? 'warning' : 'default' }
collapsible={ true } collapsible={ true }
eventKey={ index } eventKey={ index }
header={ header } header={ header }

View File

@ -3,12 +3,8 @@ import Hikes from './Hikes';
export default { export default {
path: '/', path: '/',
getChildRoutes(locationState, cb) { childRoutes: [
setTimeout(() => {
cb(null, [
Jobs, Jobs,
Hikes Hikes
]); ]
}, 0);
}
}; };