feat(mcp): подготовить сервер и доступ к приёмке
This commit is contained in:
commit
bf3d50e1ff
3835 files changed
+537122
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { cn } from "@/lib/utils"
|
||||
import type { ServerStatus } from "@/lib/data"
|
||||
|
||||
export function StatusDot({ status, pulse }: { status: ServerStatus; pulse?: boolean }) {
|
||||
return (
|
||||
<span
|
||||
className={cn(
|
||||
"inline-block size-2 rounded-full shrink-0",
|
||||
status === "unknown" && "bg-muted-foreground",
|
||||
status === "online" && "bg-[var(--status-online)]",
|
||||
status === "offline" && "bg-[var(--status-offline)]",
|
||||
status === "degraded" && "bg-[var(--status-degraded)]",
|
||||
pulse && status === "online" && "animate-pulse",
|
||||
)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user