Bring desktop/tablet "More" menu to parity with mobile burger

The desktop "More" dropdown was only populated from the customizable nav
catalog, so directory/account destinations that live only in the mobile
burger menu (notably Skaters) never appeared. Add Skaters, View Profile
(logged in), and Settings to the desktop More menu so nothing is lost on
larger screens.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-09-03 10:29:54 +07:00
parent c34f194d8f
commit 453adc4604

View file

@ -492,6 +492,29 @@ export function Layout({ children, noPadding }: LayoutProps) {
</Link> </Link>
</DropdownMenuItem> </DropdownMenuItem>
))} ))}
{/* Directory & account destinations that aren't part of the
customizable catalog — kept here so desktop/tablet reaches
parity with the mobile burger menu (nothing is ever lost). */}
<DropdownMenuItem asChild>
<Link to="/skaters" className="flex items-center gap-2 cursor-pointer">
<PersonStanding className="h-4 w-4" />
Skaters
</Link>
</DropdownMenuItem>
{user && (
<DropdownMenuItem asChild>
<Link to={`/${nip19.npubEncode(user.pubkey)}`} className="flex items-center gap-2 cursor-pointer">
<User className="h-4 w-4" />
View Profile
</Link>
</DropdownMenuItem>
)}
<DropdownMenuItem asChild>
<Link to="/settings" className="flex items-center gap-2 cursor-pointer">
<Settings className="h-4 w-4" />
{t('nav.settings')}
</Link>
</DropdownMenuItem>
<DropdownMenuSeparator /> <DropdownMenuSeparator />
<DropdownMenuItem asChild> <DropdownMenuItem asChild>
<Link to="/glossary" className="flex items-center gap-2 cursor-pointer"> <Link to="/glossary" className="flex items-center gap-2 cursor-pointer">