brand: 侧边栏/登录页/favicon 改用 logo.png(新增 public/logo.png)

This commit is contained in:
Pine
2026-08-27 19:53:45 +08:00
parent 40156975a1
commit dfccfc9602
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/logo.png" />
<title>云超服 · 运营管理平台</title>
</head>
<body>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

+2 -2
View File
@@ -1,5 +1,5 @@
import { NavLink, Outlet } from "react-router-dom";
import { ChevronsUpDown, LogOut, ShieldCheck } from "lucide-react";
import { ChevronsUpDown, LogOut } from "lucide-react";
import { cn } from "@/lib/utils";
import { navForRole } from "@/lib/rbac";
import { useAuth } from "@/lib/auth";
@@ -36,7 +36,7 @@ export function AppShell() {
{/* 侧边栏 */}
<aside className="fixed inset-y-0 left-0 z-30 flex w-60 flex-col border-r bg-card">
<div className="flex h-14 items-center gap-2 px-4">
<ShieldCheck className="h-5 w-5 text-(--mascot-accent)" />
<img src="/logo.png" alt="云超服" className="h-7 w-7 object-contain" />
<span className="font-semibold"> · </span>
</div>
<nav className="flex-1 overflow-y-auto px-2 py-4">
+2 -2
View File
@@ -9,7 +9,7 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import { QRCodeSVG } from "@rc-component/qrcode";
import { Loader2, ShieldCheck, Lock, Smartphone, QrCode } from "lucide-react";
import { Loader2, Lock, Smartphone, QrCode } from "lucide-react";
import type { LoginResponse } from "@/types";
/** 二维码轮询登录(微信扫码 / 小程序扫码共用) */
@@ -152,7 +152,7 @@ export default function LoginPage() {
<Centered>
<Card className="w-full max-w-sm">
<CardHeader className="items-center text-center">
<ShieldCheck className="mb-2 h-8 w-8 text-(--mascot-accent)" />
<img src="/logo.png" alt="云超服" className="mb-2 h-12 w-12 object-contain" />
<CardTitle className="text-lg"> · </CardTitle>
<CardDescription> / () </CardDescription>
</CardHeader>