UI enhancement
This commit is contained in:
parent
23239c5cb6
commit
53922952c6
13 changed files with 1076 additions and 260 deletions
18
frontend/src/components/AgentSpark.jsx
Normal file
18
frontend/src/components/AgentSpark.jsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
export default function AgentSpark({ pulse = false, className = "" }) {
|
||||
return (
|
||||
<span
|
||||
className={`agent-spark${pulse ? " pulse" : ""}${className ? ` ${className}` : ""}`}
|
||||
aria-hidden="true"
|
||||
>
|
||||
✦
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
export function AgentLabel({ children, className = "" }) {
|
||||
return (
|
||||
<span className={`agent-label${className ? ` ${className}` : ""}`}>
|
||||
<AgentSpark /> {children}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue