From 8e8f19fc1078f3d55c4ca98bba687a403b16c9c8 Mon Sep 17 00:00:00 2001 From: wxj Date: Mon, 29 Jun 2026 17:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=8E=A7=E5=88=B6=E5=8F=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=92=8C=E9=A6=96=E9=A1=B5=E5=BA=95=E9=83=A8=E7=9A=84?= =?UTF-8?q?=20TokenFactory=20=E6=94=B9=E4=B8=BA=E4=BB=8E=20getSystemName()?= =?UTF-8?q?=20=E5=8A=A8=E6=80=81=E8=AF=BB=E5=8F=96=EF=BC=8C=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=93=81=E7=89=8C=E5=90=8D=E7=A7=B0=E4=B8=BA=20Turing?= =?UTF-8?q?Token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/dashboard/TopBar.jsx | 4 ++-- web/src/components/dashboard/index.jsx | 3 ++- web/src/pages/Home/index.jsx | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/src/components/dashboard/TopBar.jsx b/web/src/components/dashboard/TopBar.jsx index 2b3aceb..78fe260 100644 --- a/web/src/components/dashboard/TopBar.jsx +++ b/web/src/components/dashboard/TopBar.jsx @@ -19,7 +19,7 @@ For commercial licensing, please contact support@quantumnous.com import React from 'react'; import { Search, RefreshCw, Wallet } from 'lucide-react'; -import { renderQuota } from '../../helpers'; +import { renderQuota, getSystemName } from '../../helpers'; const TopBar = ({ onSearch, onRefresh, loading, user, unreadCount = 0 }) => { const initial = (user?.username || '?').charAt(0).toUpperCase(); @@ -28,7 +28,7 @@ const TopBar = ({ onSearch, onRefresh, loading, user, unreadCount = 0 }) => {
- TokenFactory + {getSystemName()}
diff --git a/web/src/components/dashboard/index.jsx b/web/src/components/dashboard/index.jsx index 15481c7..16f9c49 100644 --- a/web/src/components/dashboard/index.jsx +++ b/web/src/components/dashboard/index.jsx @@ -21,6 +21,7 @@ import React, { useContext } from 'react'; import { UserContext } from '../../context/User'; import { useUserMessageUnreadCount } from '../../hooks/common/useUserMessageUnreadCount'; import { useDashboardData } from '../../hooks/dashboard/useDashboardData'; +import { getSystemName } from '../../helpers'; import TopBar from './TopBar'; import Hero from './Hero'; @@ -78,7 +79,7 @@ const Dashboard = () => {
- TokenFactory · 2026 + {getSystemName()} · 2026
diff --git a/web/src/pages/Home/index.jsx b/web/src/pages/Home/index.jsx index 5a27c29..6cd2d3d 100644 --- a/web/src/pages/Home/index.jsx +++ b/web/src/pages/Home/index.jsx @@ -23,7 +23,7 @@ import { useTranslation } from 'react-i18next'; import { Copy, Check, Code, Terminal, FileCode, Box, Grid3X3, Play, Trophy, PieChart, BookOpen, Search, Sun, Moon, Monitor, Languages } from 'lucide-react'; import { UserContext } from '../../context/User'; import { StatusContext } from '../../context/Status'; -import { stringToColor } from '../../helpers'; +import { stringToColor, getSystemName } from '../../helpers'; /* ================================================================== @@ -755,7 +755,7 @@ function DarkFooter() {
- © 2026 TokenFactory + © 2026 {getSystemName()}