feat/ui-1.0.2:when about page content is empty,need to hide about navigation

This commit is contained in:
riverLethe committed 2025-09-28 14:19:29 +08:00
1 parent f98ff6bf44
commit 92aa83cb71
4 files changed
+28 -5

No files matched your search

@@ -38,6 +38,14 @@ export const ThemeSelector: React.FC<ThemeSelectorProps> = ({
const currentTheme = platformConfig.theme || Theme.DEFAULT;
const navigationItems = [
...NavigationItems,
...(platformConfig.about_page
? [
{
label: "About",
href: "/about",
},
]
: []),
...topNavigation.map((item) => ({
label: item.title,
href: item.link,