From 7ba1841df257135385b33ec2e1470a874cd1d30c Mon Sep 17 00:00:00 2001 From: Muse Date: Fri, 23 Oct 2026 19:08:08 +0000 Subject: [PATCH] riders: drop sidebar donate/docs links; rename zh-CN TG bot tab label --- frontend/src/layouts/AppSidebar.tsx | 38 ----------------------------- internal/web/translation/zh-CN.json | 2 +- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/frontend/src/layouts/AppSidebar.tsx b/frontend/src/layouts/AppSidebar.tsx index 402d041..e16cfa6 100644 --- a/frontend/src/layouts/AppSidebar.tsx +++ b/frontend/src/layouts/AppSidebar.tsx @@ -13,7 +13,6 @@ import { ExportOutlined, GithubOutlined, GlobalOutlined, - HeartOutlined, ImportOutlined, LogoutOutlined, MenuOutlined, @@ -23,7 +22,6 @@ import { PushpinFilled, PushpinOutlined, RadarChartOutlined, - ReadOutlined, SafetyOutlined, SettingOutlined, SunOutlined, @@ -39,8 +37,6 @@ import { pauseAnimationsUntilLeave, useTheme } from '@/hooks/useTheme'; import { useAllSettings } from '@/api/queries/useAllSettings'; import './AppSidebar.css'; -const DONATE_URL = 'https://donate.sanaei.dev/'; -const DOCS_URL = 'https://docs.sanaei.dev/'; const REPO_URL = 'https://git.881218.xyz/rogue/3x-ui-agent'; const LOGOUT_KEY = '__logout__'; const RAIL_WIDTH = 72; @@ -78,36 +74,6 @@ const iconByName: Record = { routing: SwapOutlined, }; -function DonateButton({ ariaLabel }: { ariaLabel: string }) { - return ( - - - - ); -} - -function DocsButton({ ariaLabel }: { ariaLabel: string }) { - return ( - - - - ); -} - function VersionBadge({ version, collapsed }: { version: string; collapsed?: boolean }) { if (!version) return null; const label = formatPanelVersion(version); @@ -349,8 +315,6 @@ export default function AppSidebar() { > {pinned ? : } - - L-UI
- -