feat: 替换平台logo并移除浏览器标签页标题和图标

- 将平台logo替换为logo.jpg
- 在登录页面和侧边栏使用新的logo图片
- 移除浏览器标签页的标题和图标配置
- 删除旧的图标文件
This commit is contained in:
zhanggangyong
2026-01-11 18:12:06 +00:00
parent 6f9fc26d1b
commit 2556dfd6f1
8 changed files with 25 additions and 54 deletions
+1 -18
View File
@@ -12,26 +12,9 @@ const _geist = Geist({ subsets: ["latin"] })
const _geistMono = Geist_Mono({ subsets: ["latin"] })
export const metadata: Metadata = {
title: "Taiji AI Platform - Agent Empowerment",
title: "",
description: "Enterprise-grade AI Agent orchestration and management platform",
generator: "v0.app",
icons: {
icon: [
{
url: "/icon-light-32x32.png",
media: "(prefers-color-scheme: light)",
},
{
url: "/icon-dark-32x32.png",
media: "(prefers-color-scheme: dark)",
},
{
url: "/icon.svg",
type: "image/svg+xml",
},
],
apple: "/apple-icon.png",
},
}
export default function RootLayout({
+10 -2
View File
@@ -3,6 +3,7 @@
import type React from "react"
import { useState, useEffect } from "react"
import Image from "next/image"
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
@@ -230,8 +231,15 @@ export default function LoginPage() {
<div className="w-full max-w-md relative z-20">
{/* Logo and Header */}
<div className="text-center mb-8">
<div className="inline-flex items-center justify-center w-16 h-16 rounded-2xl bg-muted/30 backdrop-blur-sm mb-4">
<div className="w-8 h-8 rounded-full bg-foreground/30" />
<div className="inline-flex items-center justify-center w-16 h-16 rounded-2xl bg-muted/30 backdrop-blur-sm mb-4 overflow-hidden">
<Image
src="/logo.jpg"
alt="Taiji AI Platform Logo"
width={64}
height={64}
className="object-cover w-full h-full"
unoptimized
/>
</div>
<h1 className="text-3xl font-bold text-foreground mb-2 drop-shadow-lg">{t("Taiji AI 平台", "Taiji AI Platform")}</h1>
<p className="text-muted-foreground drop-shadow-md">{t("企业级 AI Agent 赋能平台", "Enterprise AI Agent Empowerment")}</p>
+14 -8
View File
@@ -4,6 +4,7 @@ import type React from "react"
import { useState, useEffect } from "react"
import Link from "next/link"
import Image from "next/image"
import { usePathname } from "next/navigation"
import { TaijiAPIClient } from "@/lib/api-client"
import { cn } from "@/lib/utils"
@@ -305,14 +306,19 @@ export function DashboardLayout({ children }: { children: React.ReactNode }) {
>
{/* Logo */}
<div className="flex h-16 items-center justify-between border-b border-border px-4">
{!collapsed && (
<Link href="/" className="flex items-center gap-2">
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary">
<Zap className="h-5 w-5 text-primary-foreground" />
</div>
<span className="text-lg font-semibold">Taiji AI</span>
</Link>
)}
<Link href="/" className={cn("flex items-center gap-2", collapsed && "mx-auto")}>
<div className="flex h-8 w-8 items-center justify-center rounded-lg overflow-hidden shrink-0">
<Image
src="/logo.jpg"
alt="Taiji AI Platform Logo"
width={32}
height={32}
className="object-cover w-full h-full"
unoptimized
/>
</div>
{!collapsed && <span className="text-lg font-semibold">Taiji AI</span>}
</Link>
<Button
variant="ghost"
size="icon"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 566 B

-26
View File
@@ -1,26 +0,0 @@
<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: light) {
.background { fill: black; }
.foreground { fill: white; }
}
@media (prefers-color-scheme: dark) {
.background { fill: white; }
.foreground { fill: black; }
}
</style>
<g clip-path="url(#clip0_7960_43945)">
<rect class="background" width="180" height="180" rx="37" />
<g style="transform: scale(95%); transform-origin: center">
<path class="foreground"
d="M101.141 53H136.632C151.023 53 162.689 64.6662 162.689 79.0573V112.904H148.112V79.0573C148.112 78.7105 148.098 78.3662 148.072 78.0251L112.581 112.898C112.701 112.902 112.821 112.904 112.941 112.904H148.112V126.672H112.941C98.5504 126.672 86.5638 114.891 86.5638 100.5V66.7434H101.141V100.5C101.141 101.15 101.191 101.792 101.289 102.422L137.56 66.7816C137.255 66.7563 136.945 66.7434 136.632 66.7434H101.141V53Z" />
<path class="foreground"
d="M65.2926 124.136L14 66.7372H34.6355L64.7495 100.436V66.7372H80.1365V118.47C80.1365 126.278 70.4953 129.958 65.2926 124.136Z" />
</g>
</g>
<defs>
<clipPath id="clip0_7960_43945">
<rect width="180" height="180" fill="white" />
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB