mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: rename navigator
This commit is contained in:
@ -43,11 +43,11 @@ const Navigation = () => {
|
||||
title: t("common.home"),
|
||||
icon: <Icon.Home className="mr-3 w-6 h-auto opacity-70" />,
|
||||
};
|
||||
const dailyReviewNavLink: NavLinkItem = {
|
||||
id: "header-daily-review",
|
||||
path: "/review",
|
||||
title: t("daily-review.title"),
|
||||
icon: <Icon.Calendar className="mr-3 w-6 h-auto opacity-70" />,
|
||||
const timelineNavLink: NavLinkItem = {
|
||||
id: "header-timeline",
|
||||
path: "/timeline",
|
||||
title: t("timeline.title"),
|
||||
icon: <Icon.GanttChartSquare className="mr-3 w-6 h-auto opacity-70" />,
|
||||
};
|
||||
const resourcesNavLink: NavLinkItem = {
|
||||
id: "header-resources",
|
||||
@ -94,7 +94,7 @@ const Navigation = () => {
|
||||
};
|
||||
|
||||
const navLinks: NavLinkItem[] = user
|
||||
? [homeNavLink, dailyReviewNavLink, resourcesNavLink, exploreNavLink, inboxNavLink, archivedNavLink, settingNavLink]
|
||||
? [homeNavLink, timelineNavLink, resourcesNavLink, exploreNavLink, inboxNavLink, archivedNavLink, settingNavLink]
|
||||
: [exploreNavLink, signInNavLink];
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user