修改默认配置

This commit is contained in:
anian
2026-07-02 19:18:24 +08:00
parent d94008f0fb
commit fc866e23f9
26 changed files with 54 additions and 48 deletions
+1 -7
View File
@@ -40,12 +40,6 @@ const Navigation = (props: Props) => {
title: t("common.explore"),
icon: <EarthIcon className="w-6 h-auto shrink-0" />,
};
const aboutNavLink: NavLinkItem = {
id: "header-about",
path: Routes.ABOUT,
title: t("common.about"),
icon: <InfoIcon className="w-6 h-auto shrink-0" />,
};
const attachmentsNavLink: NavLinkItem = {
id: "header-attachments",
path: Routes.ATTACHMENTS,
@@ -77,7 +71,7 @@ const Navigation = (props: Props) => {
const primaryNavLinks: NavLinkItem[] = currentUser
? [homeNavLink, exploreNavLink, attachmentsNavLink, inboxNavLink]
: [exploreNavLink, aboutNavLink, signInNavLink];
: [exploreNavLink, signInNavLink];
const inboxAriaLabel = unreadCount > 0 ? `${t("common.inbox")}, ${unreadCount} unread` : t("common.inbox");
return (