feat(lotto): 브리핑 컴포넌트 + CSS

This commit is contained in:
2026-04-15 08:31:35 +09:00
parent a922dd12c0
commit bf1c23e66a
7 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
export default function BriefingEmpty({ regenerating, onRegenerate, error }) {
return (
<div className="briefing-empty">
<p>아직 이번 브리핑이 없습니다.</p>
<p className="briefing-empty-hint">매주 월요일 07:00 자동 생성됩니다.</p>
<button onClick={onRegenerate} disabled={regenerating}>
{regenerating ? '⏳ 생성 중...' : '지금 생성'}
</button>
{error && <p className="briefing-error"> {error}</p>}
</div>
);
}