/* global React */ // Two download cards — Stable (cream CTA) + Dev (cream CTA, orange hover). // Copy lifted from the live site. const DownloadCard = ({ kind, version, meta, note, onClick }) => { const isStable = kind === 'stable'; const [hover, setHover] = React.useState(false); const badgeBg = isStable ? 'rgba(33,88,164,0.30)' : 'rgba(235,162,93,0.20)'; const badgeCol = isStable ? 'var(--mlc-gold)' : 'var(--mlc-orange)'; const border = isStable ? 'rgba(33,88,164,0.25)' : 'rgba(235,162,93,0.25)'; const hoverBg = isStable ? 'var(--mlc-blue)' : 'var(--mlc-orange)'; return (
{isStable ? 'Stable' : 'Dev'}
{version}
{meta}
{ e.preventDefault(); onClick?.(); }} onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)} style={{ display: 'block', borderRadius: 22, padding: '12px 16px', fontSize: 14, fontWeight: 600, textAlign: 'center', textDecoration: 'none', transition: 'background .2s, color .2s, box-shadow .2s', marginTop: 'auto', background: hover ? hoverBg : 'var(--mlc-cream)', color: hover ? 'var(--mlc-cream)' : 'rgba(10,15,26,0.90)', boxShadow: hover ? `0 0 24px ${isStable ? 'rgba(33,88,164,0.45)' : 'rgba(235,162,93,0.45)'}` : 'none', }} > ↓ Download for Windows {note && (

{note}

)}
); }; const Download = () => (

Download mylittlechart

Available for Windows, macOS, and Linux.

macOS · Linux
); window.Download = Download;