// =============================================================
// 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: '6px 10px',
color: active ? 'var(--fg-1)' : 'var(--fg-3)',
background: 'transparent',
borderLeft: active ? '2px solid var(--ink)' : '2px solid transparent',
paddingLeft: active ? 10 : 12,
font: active ? '500 13px var(--ff-sans)' : '400 13px var(--ff-sans)',
cursor: 'pointer',
textDecoration: 'none',
transition: 'color 120ms ease, border-color 120ms ease',
});
return (
);
}
function PageHeader({ eyebrow, title, lede, actions }) {
return (
{lede}{title}
{actions &&