2015-06-18 04:04:28 +00:00
|
|
|
import React, { PropTypes } from 'react';
|
|
|
|
|
2015-07-04 00:46:58 +00:00
|
|
|
import { Nav } from './components/Nav';
|
|
|
|
import { Footer } from './components/Footer';
|
2015-06-18 04:04:28 +00:00
|
|
|
|
|
|
|
export default class extends React.Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
static displayName = 'FreeCodeCamp'
|
|
|
|
static propTypes = {
|
|
|
|
children: PropTypes.node
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<Nav />
|
|
|
|
{ this.props.children }
|
|
|
|
<Footer />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|