From 51abaf64f121368cc6286436f02e62c5dd9122c6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Fri, 7 Nov 2025 21:23:15 +0000 Subject: [PATCH] completionId: cgen-ea373a981e214e9bb90bf3da3e5e4838 cgen-ea373a981e214e9bb90bf3da3e5e4838 --- client/components/ArmSwitcher.tsx | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/client/components/ArmSwitcher.tsx b/client/components/ArmSwitcher.tsx index 357c694a..c682cee7 100644 --- a/client/components/ArmSwitcher.tsx +++ b/client/components/ArmSwitcher.tsx @@ -74,6 +74,7 @@ const LOGO_URLS: Record = { export default function ArmSwitcher() { const navigate = useNavigate(); const [isExpanded, setIsExpanded] = useState(false); + const [scrollPosition, setScrollPosition] = useState(0); const handleArmClick = (href: string) => { navigate(href); @@ -82,7 +83,7 @@ export default function ArmSwitcher() { return ( <> - {/* Desktop Version - Horizontal Layout */} + {/* Desktop Version - Horizontal Layout (lg+) */}
{ARMS.map((arm) => ( + ))} +
+ + {/* Mobile Version - Expandable Icon (< md) */} +