From 0e1c98406a7f9094290719c96ce39856a2e156c5 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 9 Nov 2025 07:28:16 +0000 Subject: [PATCH] Replace mobile menu HTML with modal trigger cgen-3bd87628912745f5a5f19c6de1d43b5e --- client/components/ArmSwitcher.tsx | 67 +++++-------------------------- 1 file changed, 11 insertions(+), 56 deletions(-) diff --git a/client/components/ArmSwitcher.tsx b/client/components/ArmSwitcher.tsx index 1bc22809..ce317586 100644 --- a/client/components/ArmSwitcher.tsx +++ b/client/components/ArmSwitcher.tsx @@ -146,70 +146,25 @@ export default function ArmSwitcher() { ))} - {/* Mobile Version - Expandable Icon (< md) */} -
+ {/* Mobile Version - Full-screen Modal (< md) */} +
- {/* Expanded Mobile Menu */} - {isExpanded && ( - <> - {/* Backdrop */} -
setIsExpanded(false)} - /> - - {/* Expanded Arms Menu */} -
-
- {ARMS.map((arm) => ( - - ))} -
-
- - )} + {/* Full-screen Modal */} + setIsModalOpen(false)} + />