import { ClipboardIcon, HomeIcon } from '@heroicons/react/outline'
import { Item } from './sidebar'
import clsx from 'clsx'
import { trackCallback } from 'web/lib/service/analytics'
import TrophyIcon from 'web/lib/icons/trophy-icon'
import { useUser } from 'web/hooks/use-user'
import NotificationsIcon from '../notifications-icon'
import router from 'next/router'
import { userProfileItem } from './nav-bar'
const mobileGroupNavigation = [
  { name: 'About', key: 'about', icon: ClipboardIcon },
  { name: 'Markets', key: 'markets', icon: HomeIcon },
  { name: 'Leaderboard', key: 'leaderboards', icon: TrophyIcon },
]
const mobileGeneralNavigation = [
  {
    name: 'Notifications',
    key: 'notifications',
    icon: NotificationsIcon,
    href: '/notifications',
  },
]
export function GroupNavBar(props: {
  currentPage: string
  onClick: (key: string) => void
}) {
  const { currentPage } = props
  const user = useUser()
  return (
    
  )
}
function NavBarItem(props: {
  item: Item
  currentPage: string
  onClick: (key: string) => void
}) {
  const { item, currentPage } = props
  const track = trackCallback(
    `group navbar: ${item.trackingEventName ?? item.name}`
  )
  return (
    
  )
}