Spaces:
Running
Running
feat(home): update Build your own robot bento with floating reachy builder illustration
Browse files- Replace plumber illustration with reachy-how-to-create-app.svg
- Add floating animation with scroll parallax effect
- Adjust text break: 'Build your' / 'own robot'
- Position illustration with overflow for dynamic effect
256 unmodified lines2572582592602612622632642657 unmodified lines2732742752762772782792804 unmodified lines2852862872882892902912922932942952962972982993003013023033043053 unmodified lines309310311312313314315316256 unmodified linesfunction StatsSection() {return (<Section id="stats" sx={{ py: { xs: 8, md: 12 }, position: 'relative', overflow: 'visible' }}><Grid container spacing={2}>{/* Big stat - Open Source */}<Grid size={{ xs: 12, md: 8 }}><Boxcomponent={RouterLink}to="/getting-started"7 unmodified linesdisplay: 'flex',flexDirection: 'column',justifyContent: 'space-between',// Clip only bottom and sides, allow top overflowclipPath: 'inset(-100px 0 0 0 round 16px)',textDecoration: 'none',color: 'inherit',cursor: 'pointer',4 unmodified lines},}}>{/* Hacker illustration - overflows top */}<Boxcomponent="img"src="/assets/reachies/plumber.png"alt=""sx={{position: 'absolute',top: -50,right: 20,height: 350,opacity: 1,pointerEvents: 'none',display: { xs: 'none', sm: 'block' },}}/><Box sx={{ position: 'relative', zIndex: 1 }}><Typographysx={{3 unmodified linescolor: 'white',}}>Build your own <br />robot</Typography><Typographyvariant="h4"256 unmodified lines2572582592602612622632642657 unmodified lines2732742752762772782792804 unmodified lines2852862872882892902912922932942952962972982993003013023033 unmodified lines307308309310311312313314256 unmodified linesfunction StatsSection() {return (<Section id="stats" sx={{ py: { xs: 8, md: 12 }, position: 'relative', overflow: 'visible' }}><Grid container spacing={2} sx={{ overflow: 'visible' }}>{/* Big stat - Open Source */}<Grid size={{ xs: 12, md: 8 }} sx={{ overflow: 'visible' }}><Boxcomponent={RouterLink}to="/getting-started"7 unmodified linesdisplay: 'flex',flexDirection: 'column',justifyContent: 'space-between',// Clip only bottom and left, allow top and right overflowclipPath: 'inset(-100px -50px 0 0 round 16px)',textDecoration: 'none',color: 'inherit',cursor: 'pointer',4 unmodified lines},}}>{/* How to create app illustration - floating */}<Box sx={{ display: { xs: 'none', sm: 'block' } }}><FloatingStickersrc="/assets/reachy-how-to-create-app.svg"size={336}top={-60}right={10}rotation={0}floatRange={8}floatSpeed={5000}scrollFactor={0.03}/></Box><Box sx={{ position: 'relative', zIndex: 1 }}><Typographysx={{3 unmodified linescolor: 'white',}}>Build your<br />own robot</Typography><Typographyvariant="h4"
src/pages/Home.jsx+19-21