add testimonial to jobs and remove twitter button

This commit is contained in:
Quincy Larson
2015-11-12 16:36:08 -08:00
parent ffbac22511
commit 3dcc77278b
4 changed files with 32 additions and 9 deletions

View File

@ -495,6 +495,12 @@ thead {
color: #009900
}
.testimonial-image-jobs {
border-radius: 5px;
color: #009900
}
.default-border-radius {
border-radius: 5px;
}

View File

@ -41,12 +41,13 @@ export default React.createClass({
},
renderLinks() {
return navLinks.map(({ content, link, react }, index) => {
return navLinks.map(({ content, link, react, target }, index) => {
if (react) {
return (
<LinkContainer
eventKey={ index + 1 }
key={ content }
target={ target || "_self"}
to={ link }>
<NavItem>
{ content }

View File

@ -4,6 +4,10 @@
}, {
"content": "Chat",
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp"
},{
"content": "Wiki",
"link": "https://github.com/freecodecamp/freecodecamp/wiki/",
"target": "_blank"
},{
"content": "News",
"link": "/news"

View File

@ -61,7 +61,6 @@ export default contain(
render() {
const {
children,
numOfFollowers,
jobs,
appActions
} = this.props;
@ -74,27 +73,40 @@ export default contain(
mdOffset= { 1 }
xs={ 12 }>
<h1 className='text-center'>
Talented web developers with strong portfolios are eager
to work for your company
Hire a JavaScript engineer who's experienced in HTML5, Node.js, MongoDB, and Agile Development.
</h1>
<div className='spacer' />
<Row className='text-center'>
<Col
sm={ 8 }
smOffset={ 2 }
xs={ 12 }>
<Button
bsSize='large'
className='signup-btn btn-block'
className='signup-btn btn-block btn-cta'
onClick={ ()=> {
appActions.updateRoute('/jobs/new');
}}>
Post a job: $200 for 30 days + weekly tweets
Post a job: $200 for 30 days
</Button>
<div className='button-spacer' />
<TwitterBtn count={ numOfFollowers || 0 } />
<div className='spacer' />
</Col>
</Row>
<div className='spacer' />
<Row>
<Col
md={ 2 }
xs={ 4 }>
<img className="img-responsive testimonial-image-jobs img-center" src="http://i.imgur.com/tGcAA8H.jpg" alt="a photo of Michael Gai, who recently hired a software engineer through Free Code Camp" />
</Col>
<Col
md={ 10 }
xs={ 8 }>
<blockquote>
<p>"We hired our last developer out of Free Code Camp and couldn't be happier. Free Code Camp is now our go-to way to bring on pre-screened candidates who are enthusiastic about learning quickly and becoming immediately productive in their new career."</p>
<footer> Michael Gai, <cite>CEO at CoNarrative</cite></footer>
</blockquote>
</Col>
</Row>
<Row>
{ this.renderChild(children, jobs) ||
this.renderList(this.handleJobClick, jobs) }