add testimonial to jobs and remove twitter button
This commit is contained in:
@ -495,6 +495,12 @@ thead {
|
|||||||
color: #009900
|
color: #009900
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.testimonial-image-jobs {
|
||||||
|
border-radius: 5px;
|
||||||
|
color: #009900
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.default-border-radius {
|
.default-border-radius {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
@ -41,12 +41,13 @@ export default React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderLinks() {
|
renderLinks() {
|
||||||
return navLinks.map(({ content, link, react }, index) => {
|
return navLinks.map(({ content, link, react, target }, index) => {
|
||||||
if (react) {
|
if (react) {
|
||||||
return (
|
return (
|
||||||
<LinkContainer
|
<LinkContainer
|
||||||
eventKey={ index + 1 }
|
eventKey={ index + 1 }
|
||||||
key={ content }
|
key={ content }
|
||||||
|
target={ target || "_self"}
|
||||||
to={ link }>
|
to={ link }>
|
||||||
<NavItem>
|
<NavItem>
|
||||||
{ content }
|
{ content }
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
}, {
|
}, {
|
||||||
"content": "Chat",
|
"content": "Chat",
|
||||||
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp"
|
"link": "//gitter.im/FreeCodeCamp/FreeCodeCamp"
|
||||||
|
},{
|
||||||
|
"content": "Wiki",
|
||||||
|
"link": "https://github.com/freecodecamp/freecodecamp/wiki/",
|
||||||
|
"target": "_blank"
|
||||||
},{
|
},{
|
||||||
"content": "News",
|
"content": "News",
|
||||||
"link": "/news"
|
"link": "/news"
|
||||||
|
@ -61,7 +61,6 @@ export default contain(
|
|||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
children,
|
children,
|
||||||
numOfFollowers,
|
|
||||||
jobs,
|
jobs,
|
||||||
appActions
|
appActions
|
||||||
} = this.props;
|
} = this.props;
|
||||||
@ -74,27 +73,40 @@ export default contain(
|
|||||||
mdOffset= { 1 }
|
mdOffset= { 1 }
|
||||||
xs={ 12 }>
|
xs={ 12 }>
|
||||||
<h1 className='text-center'>
|
<h1 className='text-center'>
|
||||||
Talented web developers with strong portfolios are eager
|
Hire a JavaScript engineer who's experienced in HTML5, Node.js, MongoDB, and Agile Development.
|
||||||
to work for your company
|
|
||||||
</h1>
|
</h1>
|
||||||
|
<div className='spacer' />
|
||||||
<Row className='text-center'>
|
<Row className='text-center'>
|
||||||
<Col
|
<Col
|
||||||
sm={ 8 }
|
sm={ 8 }
|
||||||
smOffset={ 2 }
|
smOffset={ 2 }
|
||||||
xs={ 12 }>
|
xs={ 12 }>
|
||||||
<Button
|
<Button
|
||||||
bsSize='large'
|
className='signup-btn btn-block btn-cta'
|
||||||
className='signup-btn btn-block'
|
|
||||||
onClick={ ()=> {
|
onClick={ ()=> {
|
||||||
appActions.updateRoute('/jobs/new');
|
appActions.updateRoute('/jobs/new');
|
||||||
}}>
|
}}>
|
||||||
Post a job: $200 for 30 days + weekly tweets
|
Post a job: $200 for 30 days
|
||||||
</Button>
|
</Button>
|
||||||
<div className='button-spacer' />
|
|
||||||
<TwitterBtn count={ numOfFollowers || 0 } />
|
|
||||||
<div className='spacer' />
|
<div className='spacer' />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</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>
|
<Row>
|
||||||
{ this.renderChild(children, jobs) ||
|
{ this.renderChild(children, jobs) ||
|
||||||
this.renderList(this.handleJobClick, jobs) }
|
this.renderList(this.handleJobClick, jobs) }
|
||||||
|
Reference in New Issue
Block a user