重构前端ui

This commit is contained in:
qaq
2025-07-03 11:18:15 +08:00
parent 47696e928b
commit f8f83039f9
7 changed files with 10 additions and 10 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -4,7 +4,7 @@ FROM node:20.19.0 AS builder
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci RUN npm install --frozen-lockfile
COPY . . COPY . .
RUN npm run build RUN npm run build
+4 -4
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GOST 管理后台</title> <title>哆啦A梦</title>
<script> <script>
// 防止暗黑模式闪烁:在页面加载前立即应用主题 // 防止暗黑模式闪烁:在页面加载前立即应用主题
(function() { (function() {
@@ -47,13 +47,13 @@
min-height: 100vh; min-height: 100vh;
} }
</style> </style>
<meta key="title" content="GOST 管理后台" property="og:title" /> <meta key="title" content="哆啦A梦" property="og:title" />
<meta <meta
content="GOST 代理管理系统 - 现代化的后台管理界面" content="哆啦A梦"
property="og:description" property="og:description"
/> />
<meta <meta
content="GOST 代理管理系统 - 现代化的后台管理界面" content="哆啦A梦"
name="description" name="description"
/> />
<meta <meta
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "vite-template", "name": "doraemon",
"private": true, "private": true,
"version": "0.0.0", "version": "0.0.0",
"type": "module", "type": "module",
+1 -1
View File
@@ -19,7 +19,7 @@ export const Navbar = () => {
href="/" href="/"
> >
<Logo /> <Logo />
<p className="font-bold text-inherit">GOST</p> <p className="font-bold text-inherit">哆啦A梦</p>
</Link> </Link>
</NavbarBrand> </NavbarBrand>
</NavbarContent> </NavbarContent>
+2 -2
View File
@@ -1,8 +1,8 @@
export type SiteConfig = typeof siteConfig; export type SiteConfig = typeof siteConfig;
export const siteConfig = { export const siteConfig = {
name: "GOST", name: "哆啦A梦",
description: "GOST 代理管理系统", description: "哆啦A梦",
navItems: [], navItems: [],
navMenuItems: [], navMenuItems: [],
links: { links: {
+1 -1
View File
@@ -259,7 +259,7 @@ export default function AdminLayout({
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<Logo size={28} /> <Logo size={28} />
<div> <div>
<h1 className="text-base font-bold text-foreground">GOST 管理后台</h1> <h1 className="text-base font-bold text-foreground">哆啦A梦</h1>
<p className="text-xs text-default-500">v1.0.2</p> <p className="text-xs text-default-500">v1.0.2</p>
</div> </div>
</div> </div>