Skip to content

Commit

Permalink
Put back home on mobile. Replace former Search nav with Explore (that…
Browse files Browse the repository at this point in the history
… goes to /swipe)
  • Loading branch information
jahooma committed Dec 22, 2022
1 parent 4c4bd6a commit 99baa83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/components/nav/bottom-nav-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Link from 'next/link'
import {
HomeIcon,
MenuAlt3Icon,
SparklesIcon,
SearchIcon,
XIcon,
} from '@heroicons/react/outline'
Expand Down Expand Up @@ -30,8 +31,8 @@ const touchItemClass = 'bg-indigo-100'

function getNavigation(user: User) {
return [
{ name: 'Home', href: '/swipe', icon: HomeIcon },
{ name: 'Search', href: '/home', icon: SearchIcon },
{ name: 'Home', href: '/home', icon: HomeIcon },
{ name: 'Explore', href: '/swipe', icon: SparklesIcon },
{
name: 'Profile',
href: `/${user.username}?tab=portfolio`,
Expand Down

0 comments on commit 99baa83

Please sign in to comment.