Adds the desktop web assistant app (Vite + React) with OpenClaw bridge proxy and exposes it on the local network (host: 0.0.0.0, port 5174). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
401 B
JavaScript
12 lines
401 B
JavaScript
export default function StatusIndicator({ isOnline }) {
|
|
if (isOnline === null) {
|
|
return <span className="inline-block w-2.5 h-2.5 rounded-full bg-gray-500 animate-pulse" title="Checking..." />
|
|
}
|
|
return (
|
|
<span
|
|
className={`inline-block w-2.5 h-2.5 rounded-full ${isOnline ? 'bg-emerald-400' : 'bg-red-400'}`}
|
|
title={isOnline ? 'Bridge online' : 'Bridge offline'}
|
|
/>
|
|
)
|
|
}
|