From d572efad1ad8b64a1d8eebeefe3955734c929a19 Mon Sep 17 00:00:00 2001 From: Justin <21313833+wasabipesto@users.noreply.github.com> Date: Mon, 20 Jun 2022 19:28:18 -0400 Subject: [PATCH] Add Statistics link to sidebar (#545) * add stats link to sidebar & mobile nav * prettier --- web/components/nav/sidebar.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 75732ac6..f386a2a6 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -6,6 +6,7 @@ import { CashIcon, HeartIcon, PresentationChartLineIcon, + PresentationChartBarIcon, SparklesIcon, NewspaperIcon, TrendingUpIcon, @@ -73,6 +74,7 @@ function getMoreNavigation(user?: User | null) { { name: 'Blog', href: 'https://news.manifold.markets' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, { name: 'Twitter', href: 'https://twitter.com/ManifoldMarkets' }, + { name: 'Statistics', href: '/stats' }, { name: 'About', href: 'https://docs.manifold.markets/$how-to' }, { name: 'Sign out', href: '#', onClick: () => firebaseLogout() }, ] @@ -103,6 +105,11 @@ const signedOutMobileNavigation = [ href: 'https://twitter.com/ManifoldMarkets', icon: IconFromUrl('/twitter-logo.svg'), }, + { + name: 'Statistics', + href: '/stats', + icon: PresentationChartBarIcon, + }, { name: 'About', href: 'https://docs.manifold.markets/$how-to',