feat(agent-office): PlaceholderCard for unstaffed slots

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-17 20:56:02 +09:00
parent 6d1f4914ca
commit 3fd923400f

View 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>
);
}