import React, { PropTypes } from 'react';
import { LinkContainer } from 'react-router-bootstrap';
import {
Col,
CollapsibleNav,
Nav,
Navbar,
NavItem
} from 'react-bootstrap';
import navLinks from './links.json';
import FCCNavItem from './NavItem.jsx';
const fCClogo = 'https://s3.amazonaws.com/freecodecamp/freecodecamp_logo.svg';
const logoElement = (
);
const toggleButton = (
);
export default React.createClass({
displayName: 'Nav',
propTypes: {
points: PropTypes.number,
picture: PropTypes.string,
signedIn: PropTypes.bool,
username: PropTypes.string
},
renderLinks() {
return navLinks.map(({ content, link, react }, index) => {
if (react) {
return (