import { Activity, Moon, Sun } from "lucide-react" import { useSystemStatus } from "@/features/system/api/system.query" import { useUiStore } from "@/shared/config/ui-store" import { Badge } from "@/shared/ui/badge" import { Button } from "@/shared/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/shared/ui/card" export function SystemStatusPage() { const status = useSystemStatus() const theme = useUiStore((state) => state.theme) const toggleTheme = useUiStore((state) => state.toggleTheme) const statusLabel = status.isPending ? "正在连接" : status.isError ? "连接异常" : "运行正常" return (
量化系统开发环境已完成最小链路连接。

后端服务

{status.data?.service ?? "Zhixing Server"}

{statusLabel}
{status.data ? (

当前环境: {status.data.environment}

) : null}
) }