forked from emre/www_projectmycelium_com
refactor: add responsive vertical translation to animation SVGs with lg breakpoint
- Changed vertical translate classes to only apply on large screens (lg:) across agent animations (AgentCoordination, DeterministicExecution, Fungistor, Herodb, MOSSandboxes, MyceliumMesh) - Changed NoCentral home animation from -translate-y-10 to lg:-translate-y-10 - Updated pods animations with mobile-first approach: Connectivity (-translate-y-12 mobile, lg:translate-y-0), DataControl (maintains -translate-y-12 on
This commit is contained in:
@@ -131,7 +131,7 @@ export default function NoCentral({
|
||||
aria-label="Distributed network illustration"
|
||||
style={{ background: bg }}
|
||||
>
|
||||
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full -translate-y-10">
|
||||
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full lg:-translate-y-10">
|
||||
{/* Background grid */}
|
||||
<defs>
|
||||
<pattern id="grid-dark" width="28" height="28" patternUnits="userSpaceOnUse">
|
||||
|
||||
Reference in New Issue
Block a user