Spaces:
Running
Running
feat: remove macOS Intel platform from download page
Browse filesmacOS Intel is no longer supported. Remove all references:
- Platform config, asset parsing, platform card
- "Coming soon" banner and notice
- GettingStarted.jsx mention
- Adjust grid layout from 4 to 3 columns
Co-authored-by: Cursor <cursoragent@cursor.com>
Files changed (2)
28 unmodified lines293031323334353637383940146 unmodified lines18718818919019119219319419519619719819919 unmodified lines2192202212222232242259 unmodified lines23523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027113 unmodified lines2852862872882892902913 unmodified lines295296297298299300301254 unmodified lines55655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372428 unmodified lines7537547557567577587597604 unmodified lines76576676776876977077177277377477577677777877978078178278378478578678778878979028 unmodified linesarch: 'M1, M2, M3, M4',format: '.dmg',},'darwin-x86_64': {name: 'macOS',subtitle: 'Intel',arch: 'x86_64',format: '.dmg',},'windows-x86_64': {name: 'Windows',subtitle: '64-bit',146 unmodified linesplatforms['darwin-aarch64'] = { url };}// macOS Intel - prefer .dmgif (name.includes('x64.dmg') && !name.includes('arm64')) {platforms['darwin-x86_64'] = { url };} else if (name.includes('darwin-x86_64') && !platforms['darwin-x86_64']) {platforms['darwin-x86_64'] = { url };}// Windows - .msi (exclude .sig signature files)if (name.endsWith('.msi')) {platforms['windows-x86_64'] = { url };19 unmodified lines// Platform Card componentfunction PlatformCard({ platformKey, url, isActive, onClick }) {const platform = PLATFORMS[platformKey];const isComingSoon = platformKey.includes('darwin-x86_64');const isBeta = platformKey.includes('windows') || platformKey.includes('linux');return (9 unmodified linesborderColor: isActive ? 'rgba(59, 130, 246, 0.4)' : 'rgba(255, 255, 255, 0.08)',backdropFilter: 'blur(10px)',transition: 'all 0.25s ease',opacity: isComingSoon ? 0.7 : 1,'&:hover': {borderColor: isActive ? 'rgba(59, 130, 246, 0.6)' : 'rgba(255, 255, 255, 0.2)',transform: 'translateY(-4px)',boxShadow: isActive? '0 12px 40px rgba(59, 130, 246, 0.2)': '0 12px 40px rgba(0, 0, 0, 0.3)',opacity: 1,},}}>{/* Coming soon tag */}{isComingSoon && (<Chiplabel="Coming soon"size="small"sx={{position: 'absolute',top: 8,right: 8,backgroundColor: 'rgba(255, 149, 0, 0.2)',color: '#FF9500',fontSize: 10,fontWeight: 700,height: 20,'& .MuiChip-label': { px: 1 },}}/>)}{/* Beta tag for Windows */}{isBeta && !isComingSoon && (<Chiplabel="Beta"size="small"13 unmodified lines<CardContentcomponent="a"href={isComingSoon ? undefined : url}sx={{display: 'flex',flexDirection: 'column',3 unmodified linescolor: 'inherit',p: 3,'&:last-child': { pb: 3 },pointerEvents: isComingSoon ? 'none' : 'auto',}}><Box sx={{254 unmodified lines</Typography></Stack>{/* Primary download button - different for Windows/macOS Apple Silicon/Linux vs macOS Intel */}{detectedPlatform?.startsWith('windows') || detectedPlatform === 'darwin-aarch64' || detectedPlatform?.includes('linux') ? (<><Buttonvariant="contained"size="large"href={currentUrl}startIcon={<DownloadIcon />}sx={{px: 6,py: 2,fontSize: 17,fontWeight: 600,borderRadius: 3,background: 'linear-gradient(135deg, #FF9500 0%, #764ba2 100%)',boxShadow: '0 8px 32px rgba(255, 149, 0, 0.35)',transition: 'all 0.3s ease','&:hover': {boxShadow: '0 12px 48px rgba(59, 130, 246, 0.5)',transform: 'translateY(-2px)',},}}>Download for {currentPlatform?.name}</Button><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.4)',mt: 2,fontSize: 13,}}>{currentPlatform?.subtitle} • {currentPlatform?.format?.replace('.', '').toUpperCase()} package</Typography>{/* Beta Warning for Windows and Linux */}{(detectedPlatform?.startsWith('windows') || detectedPlatform?.includes('linux')) && (<Boxsx={{mt: 3,p: 2.5,background: 'linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%)',border: '1px solid rgba(59, 130, 246, 0.3)',borderRadius: 2,maxWidth: 500,mx: 'auto',}}><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.8)',fontWeight: 500,}}>{detectedPlatform?.startsWith('windows')? <>⚠️ Windows version is currently in Beta — installation requires <strong style={{ color: 'rgba(255,255,255,0.9)' }}>administrator privileges</strong>.</>: <>⚠️ Linux version is currently in Beta — please report any issues on <a href="https://github.com/pollen-robotics/reachy-mini-desktop-app/issues" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>GitHub</a> or <a href="https://discord.gg/HDrGY9eJHt" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>Discord</a>.</>}</Typography></Box>)}</>) : (<>{/* macOS Intel - Coming soon message */}<Boxsx={{px: 5,py: 2.5,borderRadius: 3,background: 'linear-gradient(135deg, rgba(255, 149, 0, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%)',border: '1px solid rgba(255, 149, 0, 0.3)',display: 'inline-block',}}><Typographyvariant="h6"sx={{color: '#FF9500',fontWeight: 600,fontSize: 17,}}>🚧 {currentPlatform?.name} desktop app coming soon!</Typography></Box><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.5)',mt: 2,fontSize: 14,maxWidth: 500,mx: 'auto',}}>We're working hard to bring Reachy Mini Control to {currentPlatform?.name}.In the meantime, macOS (Apple Silicon) is fully supported, and Windows & Linux are in beta!</Typography>{/* Alternative for Linux/advanced users - Python SDK */}<Boxsx={{mt: 3,p: 3,borderRadius: 2,background: 'rgba(16, 185, 129, 0.08)',border: '1px solid rgba(16, 185, 129, 0.25)',maxWidth: 520,mx: 'auto',textAlign: 'left',}}><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.9)',fontWeight: 600,mb: 1,fontSize: 14,}}>🐍 Looking to use the Python SDK directly?</Typography><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.6)',fontSize: 13,lineHeight: 1.6,mb: 1.5,}}>{detectedPlatform?.includes('linux')? "Linux users can interact directly with their Reachy Mini using the Python SDK. Run the daemon locally and use the full API for custom applications.": "Advanced users can interact directly with their Reachy Mini using the Python SDK and daemon."}</Typography><Buttonvariant="outlined"size="small"href="https://huggingface.co/docs/reachy_mini/"target="_blank"endIcon={<OpenInNewIcon sx={{ fontSize: 14 }} />}sx={{color: '#10b981',borderColor: 'rgba(16, 185, 129, 0.4)',fontWeight: 600,fontSize: 12,textTransform: 'none','&:hover': {borderColor: '#10b981',bgcolor: 'rgba(16, 185, 129, 0.1)',},}}>View reachy_mini on GitHub</Button></Box></>)}{/* App screenshot */}28 unmodified lines</Typography><Grid container spacing={2}>{['darwin-aarch64', 'darwin-x86_64', 'windows-x86_64', 'linux-x86_64'].map((key) => (<Grid size={{ xs: 6, sm: 3 }} key={key}><PlatformCardplatformKey={key}url={releaseData?.platforms[key]?.url}4 unmodified lines))}</Grid>{/* Platform support notice - show on Windows, macOS Apple Silicon, and Linux */}{(detectedPlatform?.startsWith('windows') || detectedPlatform === 'darwin-aarch64' || detectedPlatform?.includes('linux')) && (<Boxsx={{mt: 3,p: 2,background: 'rgba(255, 255, 255, 0.03)',border: '1px solid rgba(255, 255, 255, 0.08)',borderRadius: 2,textAlign: 'center',}}><Typographyvariant="body2"sx={{ color: 'rgba(255,255,255,0.5)' }}>🚧 macOS Intel support coming soon</Typography></Box>)}</Box>{/* Features / What's included */}28 unmodified lines293031323334146 unmodified lines18118218318418518619 unmodified lines2062072082092102119 unmodified lines22122222322422522622722822923023123223323423523623713 unmodified lines2512522532542552562573 unmodified lines261262263264265266254 unmodified lines52152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658728 unmodified lines6166176186196206216226234 unmodified lines62862963063163263328 unmodified linesarch: 'M1, M2, M3, M4',format: '.dmg',},'windows-x86_64': {name: 'Windows',subtitle: '64-bit',146 unmodified linesplatforms['darwin-aarch64'] = { url };}// Windows - .msi (exclude .sig signature files)if (name.endsWith('.msi')) {platforms['windows-x86_64'] = { url };19 unmodified lines// Platform Card componentfunction PlatformCard({ platformKey, url, isActive, onClick }) {const platform = PLATFORMS[platformKey];const isBeta = platformKey.includes('windows') || platformKey.includes('linux');return (9 unmodified linesborderColor: isActive ? 'rgba(59, 130, 246, 0.4)' : 'rgba(255, 255, 255, 0.08)',backdropFilter: 'blur(10px)',transition: 'all 0.25s ease','&:hover': {borderColor: isActive ? 'rgba(59, 130, 246, 0.6)' : 'rgba(255, 255, 255, 0.2)',transform: 'translateY(-4px)',boxShadow: isActive? '0 12px 40px rgba(59, 130, 246, 0.2)': '0 12px 40px rgba(0, 0, 0, 0.3)',},}}>{/* Beta tag for Windows and Linux */}{isBeta && (<Chiplabel="Beta"size="small"13 unmodified lines<CardContentcomponent="a"href={url}sx={{display: 'flex',flexDirection: 'column',3 unmodified linescolor: 'inherit',p: 3,'&:last-child': { pb: 3 },}}><Box sx={{254 unmodified lines</Typography></Stack>{/* Primary download button */}<Buttonvariant="contained"size="large"href={currentUrl}startIcon={<DownloadIcon />}sx={{px: 6,py: 2,fontSize: 17,fontWeight: 600,borderRadius: 3,background: 'linear-gradient(135deg, #FF9500 0%, #764ba2 100%)',boxShadow: '0 8px 32px rgba(255, 149, 0, 0.35)',transition: 'all 0.3s ease','&:hover': {boxShadow: '0 12px 48px rgba(59, 130, 246, 0.5)',transform: 'translateY(-2px)',},}}>Download for {currentPlatform?.name}</Button><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.4)',mt: 2,fontSize: 13,}}>{currentPlatform?.subtitle} • {currentPlatform?.format?.replace('.', '').toUpperCase()} package</Typography>{/* Beta Warning for Windows and Linux */}{(detectedPlatform?.startsWith('windows') || detectedPlatform?.includes('linux')) && (<Boxsx={{mt: 3,p: 2.5,background: 'linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%)',border: '1px solid rgba(59, 130, 246, 0.3)',borderRadius: 2,maxWidth: 500,mx: 'auto',}}><Typographyvariant="body2"sx={{color: 'rgba(255,255,255,0.8)',fontWeight: 500,}}>{detectedPlatform?.startsWith('windows')? <>⚠️ Windows version is currently in Beta — installation requires <strong style={{ color: 'rgba(255,255,255,0.9)' }}>administrator privileges</strong>.</>: <>⚠️ Linux version is currently in Beta — please report any issues on <a href="https://github.com/pollen-robotics/reachy-mini-desktop-app/issues" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>GitHub</a> or <a href="https://discord.gg/HDrGY9eJHt" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>Discord</a>.</>}</Typography></Box>)}{/* App screenshot */}28 unmodified lines</Typography><Grid container spacing={2}>{['darwin-aarch64', 'windows-x86_64', 'linux-x86_64'].map((key) => (<Grid size={{ xs: 12, sm: 4 }} key={key}><PlatformCardplatformKey={key}url={releaseData?.platforms[key]?.url}4 unmodified lines))}</Grid></Box>{/* Features / What's included */}
325 unmodified lines326327328329330331332325 unmodified linesThe desktop app includes everything you need to control your Lite version.</Typography><Typography variant="caption" sx={{ display: 'block', mb: 2, color: 'warning.main' }}>Desktop App available for macOS (Apple Silicon), Windows & Linux (beta). macOS Intel coming soon!</Typography><Buttonvariant="contained"325 unmodified lines326327328329330331332325 unmodified linesThe desktop app includes everything you need to control your Lite version.</Typography><Typography variant="caption" sx={{ display: 'block', mb: 2, color: 'warning.main' }}>Desktop App available for macOS (Apple Silicon), Windows & Linux (beta).</Typography><Buttonvariant="contained"
src/pages/Download.jsx+58-215
src/pages/GettingStarted.jsx+1-1