link job in list to show job view

This commit is contained in:
Berkeley Martinez
2015-09-08 15:04:15 -07:00
parent e3ac50a0d5
commit 8112702e81

View File

@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import { Link } from 'react-router';
import { PanelGroup, Thumbnail, Panel, Well } from 'react-bootstrap';
import moment from 'moment';
@ -46,6 +47,7 @@ export default React.createClass({
eventKey={ index }
header={ header }
key={ id }>
<Link to={ `/jobs/${id}` }>
<Well>
<Thumbnail
alt={ company + 'company logo' }
@ -61,6 +63,7 @@ export default React.createClass({
</Panel>
<p>{ description }</p>
</Well>
</Link>
</Panel>
);
});