Skip to content

Commit

Permalink
menu 链接
Browse files Browse the repository at this point in the history
  • Loading branch information
meetqy committed Mar 2, 2024
1 parent e35b734 commit 67e6965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/[lang]/components/menu/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ export function Content({
label: <span className="font-mono">{authorCount}</span>,
icon: UserRound,
variant: /^(\/author)/.test(pathname) ? "default" : "ghost",
href: `/${lang}/author`,
href: `/${lang}/author/list/1`,
},
{
title: dict.menu.ci_pai_ming,
icon: Album,
label: <span className="font-mono">{tagsCount?.[1]}</span>,
variant: /^(\/ci-pai-ming)/.test(pathname) ? "default" : "ghost",
href: `/${lang}/ci-pai-ming`,
href: `/${lang}/ci-pai-ming/1`,
},
{
title: dict.menu.tag,
Expand Down

0 comments on commit 67e6965

Please sign in to comment.