Files
PolyWeather/frontend/components/dashboard/scan-terminal/ScanTerminalShellParts.tsx
T
2569718930@qq.com 22872f26e7 移除旧 AI Weather Decision Terminal 品牌名,统一为 PolyWeather Terminal
删除未使用的 ScanTerminalTopBar 和 ScanTerminalContentView 类型。
ScanTerminalLoadingScreen 顶栏文字改用 PolyWeather 品牌名。
2026-05-25 02:33:53 +08:00

55 lines
1.6 KiB
TypeScript

"use client";
import clsx from "clsx";
import { LoadingSignal } from "@/components/dashboard/scan-terminal/LoadingSignal";
type ThemeMode = "dark" | "light";
export function ScanTerminalLoadingScreen({
isEn,
rootClassName,
themeMode,
userLocalTime,
}: {
isEn: boolean;
rootClassName: string;
themeMode: ThemeMode;
userLocalTime: string;
}) {
return (
<div className={rootClassName}>
<div className={clsx("scan-terminal", themeMode === "light" && "light")}>
<main className="scan-data-grid">
<div className="scan-topbar">
<div className="scan-topbar-title">
<strong>
{isEn ? "PolyWeather Terminal" : "PolyWeather 交易决策台"}
</strong>
<span>
{isEn
? "Loading decision cards, city evidence, and market signals"
: "正在加载决策卡、城市证据和市场信号"}
</span>
</div>
<div className="scan-topbar-actions">
<span className="scan-topbar-time">{userLocalTime}</span>
</div>
</div>
<div className="scan-loading-state">
<LoadingSignal
title={
isEn ? "Preparing decision workspace" : "正在准备决策工作台"
}
description={
isEn
? "Checking access, city context and today's tradable weather windows."
: "正在检查权限、城市上下文和今日可交易天气窗口。"
}
/>
</div>
</main>
</div>
</div>
);
}