登录页 logo 替换为图片,终端及落地页样式微调

LoginClient 双布局 logo 从 CloudSun 图标+文字改为 /logo.png 图片。
ScanTerminalState 样式精简,LoadingSignal 调整,落地页细节优化。

Tested: tsc --noEmit 通过, npm run build 通过
This commit is contained in:
2569718930@qq.com
2026-05-25 01:10:26 +08:00
parent 8b93f8ff54
commit af97173eed
5 changed files with 47 additions and 200 deletions
+4 -10
View File
@@ -241,11 +241,8 @@ export function LoginClient({ nextPath, initialMode }: LoginClientProps) {
{/* Left Dark Column */}
<div className="relative flex flex-col justify-between bg-[#11161d] p-8 text-white lg:w-[480px] xl:w-[540px] shrink-0">
<div className="flex flex-col gap-12">
<Link href="/" className="flex items-center gap-2.5 font-bold hover:opacity-90">
<span className="grid h-8 w-8 place-items-center rounded bg-blue-600 text-white">
<CloudSun size={18} />
</span>
<span className="text-lg tracking-tight">PolyWeather</span>
<Link href="/" className="flex items-center hover:opacity-90">
<img src="/logo.png" alt="PolyWeather" className="h-8 w-auto object-contain" />
</Link>
<div className="mt-8 space-y-6">
@@ -408,11 +405,8 @@ export function LoginClient({ nextPath, initialMode }: LoginClientProps) {
<div className="flex min-h-screen w-full flex-col bg-[#f8fafc] font-sans text-slate-900">
{/* Top Header */}
<header className="flex h-16 items-center justify-between border-b border-slate-200 bg-white px-6">
<Link href="/" className="flex items-center gap-2.5 font-bold hover:opacity-90">
<span className="grid h-8 w-8 place-items-center rounded bg-blue-600 text-white">
<CloudSun size={18} />
</span>
<span className="text-lg tracking-tight">PolyWeather</span>
<Link href="/" className="flex items-center hover:opacity-90">
<img src="/logo.png" alt="PolyWeather" className="h-8 w-auto object-contain" />
</Link>
<div className="flex items-center gap-3">
<span className="text-xs text-slate-500 hidden sm:inline">{copy.newToPoly}</span>