将控制台页面和首页底部的 TokenFactory 改为从 getSystemName() 动态读取,统一品牌名称为 TuringToken
This commit is contained in:
parent
dd1b881cf1
commit
8e8f19fc10
|
|
@ -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 }) => {
|
|||
<div className='flex items-center justify-between border-b border-slate-200 py-5 dark:border-white/10'>
|
||||
<div className='flex items-center gap-3'>
|
||||
<span className='text-base font-semibold tracking-tight text-slate-900 dark:text-white'>
|
||||
TokenFactory
|
||||
{getSystemName()}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = () => {
|
|||
</div>
|
||||
|
||||
<div className='flex items-center justify-center border-t border-slate-200 py-6 text-xs text-slate-400 dark:border-white/10 dark:text-white/30'>
|
||||
<span>TokenFactory · 2026</span>
|
||||
<span>{getSystemName()} · 2026</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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() {
|
|||
</div>
|
||||
<div className="border-t border-background/10 pt-6 flex flex-col md:flex-row items-center justify-between gap-4">
|
||||
<span className="font-mono text-xs text-background/30">
|
||||
© 2026 TokenFactory
|
||||
© 2026 {getSystemName()}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue