Add Statistics link to sidebar (#545)

* add stats link to sidebar & mobile nav

* prettier
This commit is contained in:
Justin 2022-06-20 19:28:18 -04:00 committed by GitHub
parent 9004c694ca
commit d572efad1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',