import React, { PropTypes } from 'react'; import { Well, Row, Col, Thumbnail, Panel } from 'react-bootstrap'; import urlRegexFactory from 'url-regex'; const urlRegex = urlRegexFactory(); const defaultImage = 'https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png'; const thumbnailStyle = { backgroundColor: 'white', maxHeight: '100px', maxWidth: '100px' }; function addATags(text) { return text.replace(urlRegex, function(match) { return `${match}`; }); } export default React.createClass({ displayName: 'ShowJob', propTypes: { job: PropTypes.object, params: PropTypes.object, showApply: PropTypes.bool, preview: PropTypes.bool, message: PropTypes.string }, renderHeader({ company, position }) { return (
{ description }