Spaces:
Runtime error
Runtime error
v26: complete website — Projects live, Sentinel live topology, 4 new components, CF Worker updated, api.js complete
37f231b Download website/src/components/EmptyState.jsx from ghostdrive1/ultron1: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/ghostdrive1/ultron1/resolve/main/website/src/components/EmptyState.jsx
- Command line
-
hf download hf://spaces/ghostdrive1/ultron1/website/src/components/EmptyState.jsx
-
curl -L -o EmptyState.jsx https://huggingface.co/spaces/ghostdrive1/ultron1/resolve/main/website/src/components/EmptyState.jsx
405 Bytes
| // website/src/components/EmptyState.jsx | |
| export default function EmptyState({ icon = '◎', title, sub }) { | |
| return ( | |
| <div className="py-10 text-center space-y-2"> | |
| <p className="text-3xl text-border">{icon}</p> | |
| {title && <p className="text-sm font-medium text-ink">{title}</p>} | |
| {sub && <p className="text-xs text-muted max-w-sm mx-auto leading-relaxed">{sub}</p>} | |
| </div> | |
| ); | |
| } | |