const { Card, Tabs, Readout } = window.JabberwockeeDesignSystem_646027; function Projects({ onOpen }) { const D = window.JW_DATA; const [tab, setTab] = React.useState("all"); const list = D.projects.filter((p) => tab === "all" || p.kind === tab); const count = (k) => D.projects.filter((p) => k === "all" || p.kind === k).length; return (

Projects

{D.projectsIntro}

{list.map((p, i) => { const idx = D.projects.indexOf(p); return onOpen(idx)} aspect={p.kind === "feature" ? "16 / 9" : "4 / 3"} style={{ gridColumn: p.kind === "feature" ? "span 3" : "span 2" }}>{p.logline}; })}
); } window.Projects = Projects;