ui: 新增logo;
All checks were successful
CI / build (push) Successful in 2m19s

This commit is contained in:
2026-04-13 00:50:51 +08:00
parent d179cd53be
commit b1fb19f404
5 changed files with 24 additions and 4 deletions

View File

@@ -3,6 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<title>Chat One Web</title>
</head>
<body>

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -134,10 +134,20 @@ export default function HomePage() {
theme="light"
className="!bg-[var(--ds-bg-sider)] !border-r !border-[var(--ds-border)]"
>
<div className="flex h-14 items-center border-b border-[var(--ds-border)] px-3">
<Typography.Title level={5} className="!m-0 !text-[15px] !font-semibold">
{collapsed ? "CO" : "ChatOne"}
</Typography.Title>
<div className="flex h-14 items-center gap-2 border-b border-[var(--ds-border)] px-3">
<img
src="/logo.png"
alt=""
width={32}
height={32}
className="h-8 w-8 shrink-0 object-contain"
decoding="async"
/>
{!collapsed && (
<Typography.Title level={5} className="!m-0 !truncate !text-[15px] !font-semibold">
ChatOne
</Typography.Title>
)}
</div>
{sidebarContent}
</Sider>
@@ -166,6 +176,14 @@ export default function HomePage() {
else setCollapsed((v) => !v);
}}
/>
<img
src="/logo.png"
alt=""
width={24}
height={24}
className="h-6 w-6 shrink-0 object-contain md:hidden"
decoding="async"
/>
<Typography.Text className="text-[15px] font-medium text-neutral-800">
CI
</Typography.Text>