From 294cc9b6149a97023394a65bd01174aac4bd3623 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 21 Sep 2022 12:27:09 -0700 Subject: [PATCH] Fix nav style on tablet --- web/components/nav/group-nav-bar.tsx | 7 +++++-- web/components/nav/group-sidebar.tsx | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/web/components/nav/group-nav-bar.tsx b/web/components/nav/group-nav-bar.tsx index 9ea3f5a4..555c9c56 100644 --- a/web/components/nav/group-nav-bar.tsx +++ b/web/components/nav/group-nav-bar.tsx @@ -1,4 +1,7 @@ -import { ClipboardIcon, HomeIcon } from '@heroicons/react/outline' +import { + ClipboardIcon, + PresentationChartLineIcon, +} from '@heroicons/react/outline' import { Item } from './sidebar-item' import clsx from 'clsx' @@ -10,7 +13,7 @@ import router from 'next/router' import { userProfileItem } from './bottom-nav-bar' const mobileGroupNavigation = [ - { name: 'Markets', key: 'markets', icon: HomeIcon }, + { name: 'Markets', key: 'markets', icon: PresentationChartLineIcon }, { name: 'Leaderboard', key: 'leaderboards', icon: TrophyIcon }, { name: 'About', key: 'about', icon: ClipboardIcon }, ] diff --git a/web/components/nav/group-sidebar.tsx b/web/components/nav/group-sidebar.tsx index a68064e0..1b09dcd1 100644 --- a/web/components/nav/group-sidebar.tsx +++ b/web/components/nav/group-sidebar.tsx @@ -1,4 +1,4 @@ -import { ClipboardIcon, HomeIcon } from '@heroicons/react/outline' +import { ClipboardIcon, PresentationChartLineIcon } from '@heroicons/react/outline' import clsx from 'clsx' import { useUser } from 'web/hooks/use-user' import { ManifoldLogo } from './manifold-logo' @@ -14,7 +14,7 @@ import { Row } from '../layout/row' import { Spacer } from '../layout/spacer' const groupNavigation = [ - { name: 'Markets', key: 'markets', icon: HomeIcon }, + { name: 'Markets', key: 'markets', icon: PresentationChartLineIcon }, { name: 'About', key: 'about', icon: ClipboardIcon }, { name: 'Leaderboard', key: 'leaderboards', icon: TrophyIcon }, ]