Add search nav items

This commit is contained in:
James Grugett 2022-09-16 16:46:24 -05:00
parent 1321139e7f
commit 22d5c74818

View File

@ -35,6 +35,7 @@ const logout = async () => {
function getNavigation() { function getNavigation() {
return [ return [
{ name: 'Home', href: '/home', icon: HomeIcon }, { name: 'Home', href: '/home', icon: HomeIcon },
{ name: 'Search', href: '/search', icon: SearchIcon },
{ {
name: 'Notifications', name: 'Notifications',
href: `/notifications`, href: `/notifications`,
@ -100,7 +101,7 @@ function getMoreNavigation(user?: User | null) {
const signedOutNavigation = [ const signedOutNavigation = [
{ name: 'Home', href: '/', icon: HomeIcon }, { name: 'Home', href: '/', icon: HomeIcon },
{ name: 'Explore', href: '/home', icon: SearchIcon }, { name: 'Explore', href: '/search', icon: SearchIcon },
{ {
name: 'Help & About', name: 'Help & About',
href: 'https://help.manifold.markets/', href: 'https://help.manifold.markets/',
@ -120,6 +121,7 @@ const signedOutMobileNavigation = [
] ]
const signedInMobileNavigation = [ const signedInMobileNavigation = [
{ name: 'Search', href: '/search', icon: SearchIcon },
{ name: 'Tournaments', href: '/tournaments', icon: TrophyIcon }, { name: 'Tournaments', href: '/tournaments', icon: TrophyIcon },
...(IS_PRIVATE_MANIFOLD ...(IS_PRIVATE_MANIFOLD
? [] ? []