update nav links

This commit is contained in:
yohlo
2025-08-25 22:38:08 -05:00
parent c9df4947bd
commit 555d79b6db

View File

@@ -1,4 +1,4 @@
import { GearIcon, HouseIcon, QuestionIcon, ShieldIcon, TrophyIcon, UserCircleIcon } from "@phosphor-icons/react";
import { HouseIcon, RankingIcon, ShieldIcon, TrophyIcon, UserCircleIcon } from "@phosphor-icons/react";
import { useMemo } from "react";
export const useLinks = (userId: number, roles: string[]) =>
@@ -9,6 +9,11 @@ export const useLinks = (userId: number, roles: string[]) =>
href: '/',
Icon: HouseIcon
},
{
label: 'Leaderboard',
href: '/leaderboard',
Icon: RankingIcon
},
{
label: 'Tournaments',
href: '/tournaments',
@@ -18,11 +23,6 @@ export const useLinks = (userId: number, roles: string[]) =>
label: 'Profile',
href: `/profile/${userId}`,
Icon: UserCircleIcon
},
{
label: 'Settings',
href: '/settings',
Icon: GearIcon
}
]