Skip to content
Snippets Groups Projects
Commit efd4f7c2 authored by Matt Kirby's avatar Matt Kirby
Browse files

Fixed navbar link

parent c515a068
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ import { PhotoIcon, UserCircleIcon } from '@heroicons/react/24/solid' ...@@ -5,7 +5,7 @@ import { PhotoIcon, UserCircleIcon } from '@heroicons/react/24/solid'
import { User } from '@/types/user' import { User } from '@/types/user'
const navigation = [ const navigation = [
{ name: 'My Feed', href: '#', current: true } { name: 'My Feed', href: '/feed', current: true }
] ]
const userNavigation = [ const userNavigation = [
{ name: 'Your Profile', href: '/profile' }, { name: 'Your Profile', href: '/profile' },
...@@ -167,7 +167,7 @@ const NavBar: FC<PropsWithChildren<NavBarProps>> = ({ ...@@ -167,7 +167,7 @@ const NavBar: FC<PropsWithChildren<NavBarProps>> = ({
</div> </div>
<div className="ml-3"> <div className="ml-3">
{(user?.firstName || user?.lastName) && <div className="text-base font-medium leading-none text-grey-600">{`${user?.firstName || ""} ${user?.lastName || ""}`}</div>} {user?.firstName && <div className="text-base font-medium leading-none text-grey-600">{`${user?.firstName || ""} ${user?.lastName || ""}`}</div>}
<div className="text-sm font-medium leading-none text-gray-400">{`@${user?.username}`}</div> <div className="text-sm font-medium leading-none text-gray-400">{`@${user?.username}`}</div>
</div> </div>
<button <button
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment