move map as a supdirectory of challenges

This commit is contained in:
Berkeley Martinez
2016-05-10 19:28:40 -07:00
parent 33d3e94e62
commit 1eb6390b85
28 changed files with 93 additions and 383 deletions

View File

@@ -0,0 +1,54 @@
import React from 'react';
import PureComponent from 'react-pure-render/component';
import dedent from 'dedent';
import SuperBlock from './Super-Block.jsx';
const lockMessage = dedent`
To qualify for these nonprofit projects,
you must first earn all three foundational certifications:
Front End, Data Visualization, and Back End
`.replace(/[\n]/g, ' ');
const nonprofitProjects = {
title: 'Nonprofit Projects',
time: '800 Hours',
challenges: [
{
title: 'Greenfield Nonprofit Project #1',
isLocked: true,
isRequired: true
},
{
title: 'Greenfield Nonprofit Project #2',
isLocked: true,
isRequired: true
},
{
title: 'Legacy Code Nonprofit Project #1',
isLocked: true,
isRequired: true
},
{
title: 'Legacy Code Nonprofit Project #2',
isLocked: true,
isRequired: true
},
{
title: 'Claim your Full Stack Development Certification',
isLocked: true
}
]
};
export default class FullStack extends PureComponent {
static displayName = 'FullStack';
render() {
const title = 'Full Stack Development Certification';
return (
<SuperBlock
blocks={ [ nonprofitProjects ] }
message={ lockMessage }
title={ title } />
);
}
}