import { HomeIcon, FireIcon, UserGroupIcon, TrendingUpIcon, SearchIcon, CollectionIcon, } from '@heroicons/react/outline' import clsx from 'clsx' import Link from 'next/link' import { useRouter } from 'next/router' const navigation = [ { name: 'Home', href: '/home', icon: HomeIcon }, { name: 'Markets', href: '/markets', icon: SearchIcon }, { name: 'Communities', href: '/folds', icon: UserGroupIcon }, { name: 'Trades', href: '/trades', icon: CollectionIcon }, // { name: 'Trending', href: '#', icon: TrendingUpIcon, current: false }, ] const communities = [ { name: 'Movies', href: '#' }, { name: 'Food', href: '#' }, { name: 'Sports', href: '#' }, { name: 'Animals', href: '#' }, { name: 'Science', href: '#' }, { name: 'Dinosaurs', href: '#' }, { name: 'Talents', href: '#' }, { name: 'Gaming', href: '#' }, ] export default function Sidebar() { const router = useRouter() const currentPage = router.pathname return ( ) }