feat(agent-office): PlaceholderCard for unstaffed slots
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
17
src/pages/agent-office/components/PlaceholderCard.jsx
Normal file
17
src/pages/agent-office/components/PlaceholderCard.jsx
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// src/pages/agent-office/components/PlaceholderCard.jsx
|
||||||
|
import { PLACEHOLDER_IMAGE, PLACEHOLDER_LABEL } from '../constants.js';
|
||||||
|
|
||||||
|
export default function PlaceholderCard({ active = false, onClick }) {
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className={`ao-card placeholder${active ? ' active' : ''}`}
|
||||||
|
onClick={onClick}
|
||||||
|
>
|
||||||
|
<div className="ao-card-image">
|
||||||
|
<img src={PLACEHOLDER_IMAGE} alt={PLACEHOLDER_LABEL} />
|
||||||
|
</div>
|
||||||
|
<div className="ao-card-name">{PLACEHOLDER_LABEL}</div>
|
||||||
|
</button>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user