import React from 'react'
import PropTypes from 'prop-types'
import { Link } from 'react-router'

import styles from './styles.css'

const Nav = ({ children }) => {
    return (
        <nav className={styles.root}>
            <ul className={styles.nav}>{children}</ul>
            <div className={styles.icon_div}>
                <Link to="/overview">
                    <img
                        src="/img/memex-logo.png"
                        className={styles.icon}
                    />
                </Link>
            </div>
        </nav>
    )
}

Nav.propTypes = {
    children: PropTypes.arrayOf(PropTypes.node).isRequired,
}

export default Nav

import React from 'react'
import PropTypes from 'prop-types'

import styles from './styles.css'

const Nav = ({ children }) => {
    return (
        <nav className={styles.root}>
            <ul className={styles.nav}>{children}</ul>
        </nav>
    )
}

Nav.propTypes = {
    children: PropTypes.arrayOf(PropTypes.node).isRequired,
}

export default Nav

Remove dupe memex logo in options page side-nav
Remove dupe memex logo in options page side-nav
