import { useColorModeValue, HStack, Tooltip, IconButton, Box, Text, Link, } from '@chakra-ui/react' import _ from 'lodash/fp' let NavType = ({ dispatch, highlight, page, name, icon, responsive }) => ( dispatch({ page: name })}> {_.startCase(name)} ) let LinkType = ({ ariaLabel, icon, name, link, responsive }) => ( {name} ) export let NavIcon = ({ name, icon, page, dispatch, type, ariaLabel, responsive, }) => { let highlight = useColorModeValue('icon.light', 'icon.dark') let displayIcon = <> if (type === 'navigation') { displayIcon = ( ) } else if (type === 'link') { displayIcon = ( ) } return displayIcon }