diff --git a/components/SetupWizard.tsx b/components/SetupWizard.tsx index f942e85..009af9c 100644 --- a/components/SetupWizard.tsx +++ b/components/SetupWizard.tsx @@ -206,14 +206,17 @@ export default function SetupWizard({ {hasApp === false && ( -
-

Скачайте Umbrix:

+
+

Скачайте Umbrix:

e.currentTarget.style.background = 'var(--primary-dark)'} + onMouseLeave={e => e.currentTarget.style.background = 'var(--primary)'} > 🪟 Windows @@ -221,7 +224,10 @@ export default function SetupWizard({ href="https://umbrix.net/download" target="_blank" rel="noopener noreferrer" - className="px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg text-white font-medium transition-colors text-center" + className="px-4 py-2 rounded-lg font-medium transition-colors text-center" + style={{ background: 'var(--primary)', color: 'var(--text-white)' }} + onMouseEnter={e => e.currentTarget.style.background = 'var(--primary-dark)'} + onMouseLeave={e => e.currentTarget.style.background = 'var(--primary)'} > 🍎 macOS @@ -229,14 +235,20 @@ export default function SetupWizard({ href="https://umbrix.net/download" target="_blank" rel="noopener noreferrer" - className="px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg text-white font-medium transition-colors text-center" + className="px-4 py-2 rounded-lg font-medium transition-colors text-center" + style={{ background: 'var(--primary)', color: 'var(--text-white)' }} + onMouseEnter={e => e.currentTarget.style.background = 'var(--primary-dark)'} + onMouseLeave={e => e.currentTarget.style.background = 'var(--primary)'} > 🐧 Linux
@@ -257,10 +269,13 @@ export default function SetupWizard({ setMobileOS('android'); setHasApp(null); }} - className="p-6 bg-slate-800/50 hover:bg-slate-700/50 border-2 border-slate-700 hover:border-green-500 rounded-xl transition-all" + className="p-6 rounded-xl border-2 transition-all" + style={{ background: 'var(--bg-elevated)', borderColor: 'var(--border)' }} + onMouseEnter={e => e.currentTarget.style.borderColor = 'var(--success)'} + onMouseLeave={e => e.currentTarget.style.borderColor = 'var(--border)'} >
🤖
-

Android

+

Android

@@ -288,30 +306,36 @@ export default function SetupWizard({
{hasApp === false && ( -
-

Рекомендуем:

+
+

Рекомендуем:

{mobileOS === 'android' ? (
-
• V2RayNG
-
• Hiddify
-
• v2rayTun
+
• V2RayNG
+
• Hiddify
+
• v2rayTun
) : (
-
• Shadowrocket (AppStore)
-
• Hiddify (AppStore)
+
• Shadowrocket (AppStore)
+
• Hiddify (AppStore)
)} @@ -342,23 +366,26 @@ export default function SetupWizard({ key={location.id} onClick={() => handleLocationToggle(location.id)} disabled={!isSelected && !canSelect} - className={`w-full p-4 rounded-xl border-2 transition-all flex items-center justify-between ${ - isSelected - ? 'bg-blue-600/20 border-blue-500' - : canSelect - ? 'bg-slate-800/50 border-slate-700 hover:border-slate-600' - : 'bg-slate-800/30 border-slate-700/50 opacity-50 cursor-not-allowed' - }`} + className="w-full p-4 rounded-xl border-2 transition-all flex items-center justify-between" + style={{ + background: isSelected ? 'rgba(47, 190, 165, 0.2)' : canSelect ? 'var(--bg-elevated)' : 'var(--bg-card)', + borderColor: isSelected ? 'var(--primary)' : 'var(--border)', + opacity: canSelect || isSelected ? 1 : 0.5, + cursor: canSelect || isSelected ? 'pointer' : 'not-allowed' + }} + onMouseEnter={e => { if (canSelect && !isSelected) e.currentTarget.style.borderColor = 'var(--text-primary)' }} + onMouseLeave={e => { if (!isSelected) e.currentTarget.style.borderColor = 'var(--border)' }} >
-
- {isSelected && } +
+ {isSelected && }
- {location.name} + {location.name}
- {location.ping} + {location.ping} ); })} @@ -367,11 +394,15 @@ export default function SetupWizard({ @@ -383,33 +414,39 @@ export default function SetupWizard({
🎉
-

+

{deviceType === 'desktop' ? 'Скопируйте ссылку и вставьте в Umbrix' : 'Отсканируйте QR код или скопируйте ссылку'}

{deviceType === 'mobile' && ( )} @@ -421,10 +458,13 @@ export default function SetupWizard({
)} -
+