// =============================================================
// Chrome — TopNav, Sidebar, PageHeader, PipelineStrip
// =============================================================
function TopNav({ onNew }) {
return (
);
}
const NAV_ITEMS = [
{ key: 'inbox', label: 'Inbox', icon: 'inbox', count: 7 },
{ key: 'prototypes', label: 'Prototypes', icon: 'flask-conical', count: 4 },
{ key: 'signals', label: 'Signals', icon: 'activity', count: 12 },
{ key: 'betas', label: 'Betas', icon: 'users', count: 1 },
{ key: 'decisions', label: 'Decisions', icon: 'check-square', count: 3 },
];
const DOC_ITEMS = [
{ key: 'intent', label: 'INTENT.md' },
{ key: 'scope', label: 'SCOPE.md' },
{ key: 'operating', label: 'OPERATING_MODEL.md' },
{ key: 'pipeline', label: 'PROTOTYPE_PIPELINE.md' },
{ key: 'agent', label: 'AGENT_RULES.md' },
];
function Sidebar({ current, onNav }) {
const itemStyle = (active) => ({
display: 'flex',
alignItems: 'center',
gap: 10,
padding: '8px 12px',
borderRadius: 4,
color: active ? 'var(--fg-1)' : 'var(--fg-2)',
background: active ? 'var(--paper)' : 'transparent',
boxShadow: active ? '0 0 0 1px var(--border) inset' : 'none',
font: '500 13px var(--ff-sans)',
cursor: 'pointer',
textDecoration: 'none',
transition: 'background 120ms ease, color 120ms ease',
});
return (
);
}
function PageHeader({ eyebrow, title, lede, actions }) {
return (
{lede}{title}
{actions &&