diff --git a/frontend/src/EasySwitchManager.jsx b/frontend/src/EasySwitchManager.jsx index f7997d1..5ff8fa4 100644 --- a/frontend/src/EasySwitchManager.jsx +++ b/frontend/src/EasySwitchManager.jsx @@ -444,28 +444,28 @@ function EasySwitchManager() { {/* Сетка карточек ВСЕх шлюзов сервера */} -
+
{server.gateways.map((gw, idx) => { const isActive = activeGw === gw.name; const isFastest = idx === 0; const ping = 20 + idx * 10 + Math.floor(Math.random() * 15); return ( -
+
handleGatewaySelect(server.id, comm.value, gw.name)} onMouseEnter={(e) => { if (!isActive) { - e.currentTarget.style.boxShadow = '0 2px 6px rgba(0,0,0,0.1)'; - e.currentTarget.style.transform = 'translateY(-1px)'; + e.currentTarget.style.boxShadow = '0 2px 8px rgba(0,0,0,0.1)'; + e.currentTarget.style.transform = 'translateY(-2px)'; } }} onMouseLeave={(e) => { @@ -475,12 +475,12 @@ function EasySwitchManager() { } }} > -
+
{/* Галочка и метка Fastest */} -
+
{isFastest && !isActive && ( - - + + Fast )} @@ -488,25 +488,25 @@ function EasySwitchManager() { {isActive && (
- +
)}
{/* Название шлюза */} -
+
{gw.name}
{/* Протокол */} -
- {serverMeta?.provider || 'vless'} +
+ {serverMeta?.provider || 'vless / xudp'}
{/* Метрика (пинг) */} -
+
{ping}