import React from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import Link from './link' import Icon from './icon' import { github } from './util' import { ReactComponent as Logo } from '../images/logo.svg' import classes from '../styles/navigation.module.sass' const Navigation = ({ title, items, section, children }) => ( ) Navigation.defaultProps = { items: [], } Navigation.propTypes = { title: PropTypes.string.isRequired, items: PropTypes.arrayOf( PropTypes.shape({ text: PropTypes.string.isRequired, url: PropTypes.string.isRequired, }) ), section: PropTypes.string, } export default Navigation